Focus issue when relaunching the UWP app from installed apps.

Discus and support Focus issue when relaunching the UWP app from installed apps. in XBoX on Windows to solve the problem; Hi I'm trying to develop an UWP app for XBOX using the Webview. But I'm currently facing an issue when i relaunch the application from the Games and... Discussion in 'XBoX on Windows' started by Tharun Koti, Jun 2, 2023.

  1. Tharun Koti
    Tharun Koti Guest

    Focus issue when relaunching the UWP app from installed apps.


    Hi I'm trying to develop an UWP app for XBOX using the Webview. But I'm currently facing an issue when i relaunch the application from the Games and Apps tab.

    Issue:

    When I launch the app from my Visual Studio on the XBOX console using the "Remote Machine" method I'm able to do the navigation using the Gamepad and able to get the "KeyDown" events for the same. But when I close the app and launch it again from the "Games and Apps" tab and once the app is loaded totally and then if I try to do navigation using the Gamepad I'm not able to do the navigation and also the "keyDown" events are not getting triggered at all.

    I need to click on the "XBOX button" on the controller and close the Side menu then I'll be able to navigate properly without any issue. But why I'm not able to do navigation once the app is launched.

    I thought it might be due to some focus issue so I've added the respective code but still facing the same issue. It's kind of a blocked situation for the user since he'll not be able to exit the application even on clicking the B button.

    mainpage.xaml.cs:

    for the webview I'm using this code as below.

    mainpage.xaml:

    Is there any method that I've to follow to fix this issue and get the "keyDown" events work properly no matter when I launch the application.

    Thank you.

    :)
     
    Tharun Koti, Jun 2, 2023
    #1
  2. Tomm_A Win User

    Focus issue when relaunching the UWP app from installed apps.

    Hello Tharun Koti,

    Thank you for sharing your concern here in Xbox Community Forum and we hope that all is well.

    We have found out that the issue you are describing here is best address to a separate forum intended for game developer. We will help you how to get there.

    You can post your concern through the link below:


    By posting your concern to the right platform, we are positive that you’ll get more relevant information and best resolution to your concern. We will be closing this thread here in community forum after referring this to the dedicated support forum. If you have other concern related to Xbox product and services, feel free to create a new topic to discuss and we are more than happy to assist.

    Thank you for choosing Microsoft. Stay safe!



    Best regards,



    Microsoft Community Moderator
  3. Mae Sev. Win User

    [XBOX][UWP][WEBVIEW]Keydown event is not getting triggered on UWP app launch XBOX?

    Hello Tharun Koti,

    Welcome to Xbox Forums. We appreciate you for sharing your concern with us.

    Based on your description, you are having issues with UWP app launch box from your end. Developers have several options for achieving automated launching of Universal Windows Platform (UWP) apps. In regards with this issue we have, I will point you to the right direction and provide you helpful links that you can check and verify. See the info below:

    Getting started with UWP app development on Xbox One - UWP applications | Microsoft Learn

    Known issues with UWP on Xbox Developer Program - UWP applications | Microsoft Learn

    Automate launching Windows 10 Universal Windows Platform (UWP) apps - UWP applications | Microsoft Learn

    UWP on Xbox One - UWP applications | Microsoft Learn

    If you need further help, kindly check this link Microsoft supported products on Q&A | Microsoft Learn. There, you can ask an IT developer expert in relation with the issue we have.

    I hope that it helps.

    Kind regards,



    Microsoft Community Moderator
  4. XBF Crystal P Win User

    Cannot connect to a retail kit xbox one from Xbox Dev Mode Companion with 10.0.17763.4088 release

  5. DaveM121 Win User

    Remove all xbox apps from my windows 10

    Hi Rien

    Those pre-installed UWP apps in Windows 10 can be hard to remove . . .

    Click the link below to download a small scripted utility, that does not need to be installed. That will list all UWP apps on your system and allow you to uninstall them easily . . .

    https://gallery.technet.microsoft.com/scriptcen...
  6. XBF Chris J Win User

    Xbox storage files

Thema:

Focus issue when relaunching the UWP app from installed apps.

Loading...
  1. Focus issue when relaunching the UWP app from installed apps. - Similar Threads - Focus issue relaunching

  2. XBOX Play your way - should Xbox shift their focus

    in XboX Insiders
    XBOX Play your way - should Xbox shift their focus: Should Xbox’s mid generational focus should be on user customisability and flexibility with their focus on being able to take your library cross gen with full library cloud streaming and being on...
  3. XBOX Controller issues when app in not "on focus"

    in XBoX on Consoles
    XBOX Controller issues when app in not "on focus": Hi, Did someone find solution for issue described in that article - it is really enoying :( I'm using "Mjoy control panel" as well as a "Fergo JoystickMIDI" and issue is the same. So it is not...
  4. Can I connect a poly focus 2 on an Xbox One

    in XBoX on Consoles
    Can I connect a poly focus 2 on an Xbox One: It's not a series S or X it's just an Xbox One S. I got this headset for Christmas and it's not connecting with my Xbox. Like I got it to connect with my phone and laptop, but can I connect it to...
  5. Can Microsoft Focus on Xbox rewards giving Customers a real answer about the Points Nerfing...

    in XBoX Rewards & Social
    Can Microsoft Focus on Xbox rewards giving Customers a real answer about the Points Nerfing...: For the Last 6 Months Xbox Rewards has been reduced and Nerfed constantly. Bonuses gone ,Cuts,Reductions Everything. No Comment or Response from Microsoft Rewards. Almost Every Gaming site has...
  6. Tanking Frames while Xbox or Insider is in Focus - Windows 10

    in XboX Insiders
    Tanking Frames while Xbox or Insider is in Focus - Windows 10: Currently running windows 10 pro 19045.3208 on a 9900k/3080/32GB RAM and an Acer Predator XB271HU running G-Sync and I am having my framerate on desktop, with nothing significant running, tank...
  7. Why Game Developer focus on Mobile?

    in XBoX Games and Apps
    Why Game Developer focus on Mobile?: [img] The mobile market is growing so rapidly, while the development costs are typically much lower than they are for console or PC games. Professional game development is a business based on...
  8. Forza Horizon 5 (PC) closes after focusing

    in XBoX Games and Apps
    Forza Horizon 5 (PC) closes after focusing: Ive been trying to play Forza for the past few weeks and at first i was getting an issue where my cloud save wouldnt sync, after some troubleshooting and patience i was able to fix that and get...
  9. Microsoft Store Updates Nothing. Focus Gaming Services and XIP for GP

    in XBoX Games and Apps
    Microsoft Store Updates Nothing. Focus Gaming Services and XIP for GP: Hey. Have spent the last couple of weeks attempting to use all forms of troubleshooting I've seen around the web to get this issue fixed so I can play games on PC Xbox App with Gamepass. This is...
  10. Could you please focus on bugs/stabillity instead of features on MFS2020?

    in XBoX Games and Apps
    Could you please focus on bugs/stabillity instead of features on MFS2020?: One of the main reasons I bought an XBOX was MSFS. It is already about one and a half years old, still I always find it impossible to do whatever I want to do in it. At the moment I have a...