Windows 10: UWP weird focus at app open every time

Discus and support UWP weird focus at app open every time in Microsoft Windows 10 Store to solve the problem; hi MSFT I build a c++ UWP app like : it's run well on Win10/W11 22000.one day, OS update to Win11 22612, UWP not change a code,now focus at my 1st... Discussion in 'Microsoft Windows 10 Store' started by ab_jeremy, Jul 16, 2022.

  1. ab_jeremy Win User

    UWP weird focus at app open every time


    hi MSFT I build a c++ UWP app like : it's run well on Win10/W11 22000.one day, OS update to Win11 22612, UWP not change a code,now focus at my 1st checkbox every launch, pretty sure keyboard tab was not clicked also check my code that doesn't any part for focus.how can I investigate this?

    :)
     
    ab_jeremy, Jul 16, 2022
    #1
  2. Brink Win User

    Kickstart UWP app creation with Windows App Studio’s open source UWP..


    Source: Kickstart UWP app creation with Windows App Studio’s open source UWP libraries and Samples App | Building Apps for Windows
     
    Brink, Jul 16, 2022
    #2
  3. Brink Win User
    Mail app will not open on 10041.

    Hello Adam,

    This is the suggested solution below if you haven't already tried it. UWP weird focus at app open every time :)

    In this Windows 10 build 10041, the Mail, Calendar, and People apps may be broken due to a licensing issue with the Store Beta. To get these apps working again, you need to follow these steps:

    • Open powershell as administrator
    • Run the command Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | remove-appxprovisionedpackage –online
    • Re-install Mail, People and Calendar from the Store (green tile)
     
    Brink, Jul 16, 2022
    #3
  4. Ianier Win User

    UWP weird focus at app open every time

    UWP - Focus issues when opening a flyout from an AppBarButton

    I'm facing the following issue in a UWP app targeting the "anniversary update" SDK build 14393.

    When opening a Flyout from an AppBarButton, the controls inside the flyout lose their ability to be focused when clicked/tapped (tab still works, though). If the same Flyout is assigned to a Button then focus work as expected.

    Here's some code to reproduce the issue (create a blank UWP project and copy & paste it into the main page grid):

    <!-- in the dark theme focus is more visible -->

    <StackPanelOrientation="Horizontal"VerticalAlignment="Center">

    <ButtonContent="Button">

    <Button.Flyout>

    <Flyout>

    <StackPanelOrientation="Horizontal">

    <TextBox/>

    <ButtonContent="OK"/>

    </StackPanel>

    </Flyout>

    </Button.Flyout>

    </Button>

    <AppBarButtonContent="AppBarButton">

    <Button.Flyout>

    <Flyout>

    <StackPanelOrientation="Horizontal">

    <TextBox/>

    <ButtonContent="OK"/>

    </StackPanel>

    </Flyout>

    </Button.Flyout>

    </AppBarButton>

    </StackPanel>

    When I run the above code and open the Flyout by clicking "Button", clicking alternatively the TextBox and OK Button inside the Flyout cause the focus to move between the controls as expected. However, when I open the Flyout by clicking "AppBarButton" the
    focus doesn't move when the controls inside the Flyout are clicked.

    [Edit, More details] When the Flyout opens from the AppBarButton the focus isn't transferred to the Flyout but stays on the page. You can see this by pressing Tab.

    Is this a bug or am I missing something?
     
    Ianier, Jul 16, 2022
    #4
Thema:

UWP weird focus at app open every time

Loading...
  1. UWP weird focus at app open every time - Similar Threads - UWP weird focus

  2. UWP apps not opening.

    in Windows 10 Gaming
    UWP apps not opening.: In place upgrade is not an option since I am on a higher build. Tried SFC and DISM. https://answers.microsoft.com/en-us/windows/forum/all/uwp-apps-not-opening/feb842b3-788b-4966-b27f-ed8800076188
  3. UWP apps not opening.

    in Windows 10 Software and Apps
    UWP apps not opening.: In place upgrade is not an option since I am on a higher build. Tried SFC and DISM. https://answers.microsoft.com/en-us/windows/forum/all/uwp-apps-not-opening/feb842b3-788b-4966-b27f-ed8800076188
  4. Windows 11 UWP apps not opening

    in Windows 10 Software and Apps
    Windows 11 UWP apps not opening: Hello There,I have been trying to get my Notepad and Other UWP apps working with no success. I have ran DISM and SFC with no success and have even reset the Microsoft Store Cache. Please respond fast, as i need this computer....
  5. UWP weird focus at app open every time

    in Windows 10 Gaming
    UWP weird focus at app open every time: hi MSFT I build a c++ UWP app like : it's run well on Win10/W11 22000.one day, OS update to Win11 22612, UWP not change a code,now focus at my 1st checkbox every launch, pretty sure keyboard tab was not clicked also check my code that doesn't any part for focus.how can I...
  6. UWP weird focus at app open every time

    in Windows 10 Software and Apps
    UWP weird focus at app open every time: hi MSFT I build a c++ UWP app like : it's run well on Win10/W11 22000.one day, OS update to Win11 22612, UWP not change a code,now focus at my 1st checkbox every launch, pretty sure keyboard tab was not clicked also check my code that doesn't any part for focus.how can I...
  7. uwp apps not opening

    in Microsoft Windows 10 Store
    uwp apps not opening: most of the universal windows platform apps windows store apps won't open on my pc for some reason, though system apps such as quick assist, windows defender, settings, and windows sandbox do open. is there a reason this happens and a fix for this issue? video demonstration:...
  8. UWP app game not opening

    in Windows 10 Gaming
    UWP app game not opening: A UWP app specifically Among Us won't open. I've tried terminating it, repairing it, resetting it, and uninstalling and reinstalling, but nothing worked. It was working, but then it just crashed when I was using it, and when I tried to re-open it, it wouldn't open. The...
  9. Weird UI glitch in some UWP system apps.

    in Windows 10 Ask Insider
    Weird UI glitch in some UWP system apps.: [IMG] submitted by /u/doobdydoob [link] [comments] https://www.reddit.com/r/Windows10/comments/ket7an/weird_ui_glitch_in_some_uwp_system_apps/
  10. UWP Apps not opening

    in Windows 10 Software and Apps
    UWP Apps not opening: Hello, I changed the permissions of the WindowsApps folder, as i was trying to edit some of the files, however now the apps will not open. I am sure that this is not due to me modifying any files. Is there a way to restore the permissions, or what permissions need to be...