none
IPackageDebugSettings::EnableDebugging method no longer prevents Windows app from suspending with latest Windows 10 fast ring versions. Bug or deliberate change? RRS feed

  • Question

  • The IPackageDebugSettings::EnableDebugging method should according to documentation prevent apps from suspending, but with the latest fast ring updates it does not do so any more, could reproduce that on Windows 10 Version 1803 (OS Build 17133.1).

    The API still works perfectly with Windows 10 version 1709 (OS Build 16299.309).

    This method is critical for us to be able to disable app suspending, since our company (ranorex.com) supports automated UI testing of apps via UIAutomation and suspended apps can cause the automation to freeze.

    See API documentation here:
    https://msdn.microsoft.com/en-us/library/windows/desktop/hh707022(v=vs.85).aspx

    Steps to reproduce:

    1. Start a Windows app, e.g. Windows calculator
    2. Call the EnableDebugging method on the app package
    3. Minimize the app and see the app state in the Task Manager

    Observed result: the app gets suspended after being minimized, although it is in Debugging mode

    Expected result: the app is not suspended; this is what happens with the latest Windows 10 RTM release (1803).

    Is this a bug that will be fixed before the next Windows 10 RTM release?

    Regards,
    Alex

    Note: this is a deliberate copy of the following thread because it better fits into this forum

    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/98c9356b-776a-4e0b-bfd5-19eef28db9ef/ipackagedebugsettingsenabledebugging-method-no-longer-prevents-windows-app-from-suspending-with?forum=wpdevelop#55e63d73-fc39-45e9-a138-c1d0823d5704

    Thursday, April 5, 2018 2:49 PM

All replies

  • Thanks for reporting the issue! This is a known bug that the team is actively investigating.
    Thursday, April 12, 2018 10:09 PM
  • Any clue, yet, whether the bug fix will make it into the Spring Creators Update RTM or when it will be released?
    Friday, April 13, 2018 6:40 AM
  • Obviously, the fix is not in the Windows 10 April Update, but it seems to be fixed with the latest fast ring build "Version 1803 (17672.1000)". Will this fix be incorporated in an upcoming Windows 10 RTM update?

    Thank you!
    Alex

    Friday, May 18, 2018 6:50 AM