Windows 8 and 8.1 Forums

8.1: Modern UI app process persistence after closing

  1. #1

    Posts : 25
    Windows 8.1 Pro x64

    8.1: Modern UI app process persistence after closing

    As the title suggests, in Windows 8.1, Modern UI app processes continue to run after I've closed the actual apps. I don't know if this behavior is intentional or not, nor do I know of any way to prevent it. I know in Windows 8.0, just about all apps stopped their processes after you close them. So why the persistence now in Windows 8.1? Caching/speed improvement? Is this unique to my system or is there a setting that can stop this behavior? I'd test part of this myself, except I don't currently have access to my other systems at home.

    System details:

    Windows 8.1 x64 fully updated via Windows Update
    All apps fully updated from Windows 8.1 store

    As always, any help is greatly appreciated.

      My System SpecsSystem Spec

  2. #2

    Posts : 376
    W8.1, W7

    So why the persistence now in Windows 8.1? Caching/speed improvement?
    Seen from MS's side: Spying\Monetization improvement? Maybe. lol

    Check in Task Manager now and then, and do some 'ending'.
    Attached Thumbnails Attached Thumbnails end.jpg  
      My System SpecsSystem Spec

  3. #3

    Posts : 25
    Windows 8.1 Pro x64

    Okay, so they can be stopped/killed under the task manager. While that is good, the fact that I have to do that much to stop every last app is very inconvenient. Why can't they just work like they did to start with--i.e. actually stopping after they are closed?
      My System SpecsSystem Spec

  4. #4

    Posts : 1
    Windows 8.1 Enterprise Evaluation

    All You Need to Know :

    App close

    Generally, users don't need to close apps, they can let Windows manage them. However, users can choose to close an app using the close gesture or by pressing Alt+F4. You can't include any UI in your app to enable the user to close your app, or it won't pass the Store certification process.
    There's no special event to indicate that the user has closed an app.
    In Windows 8, after an app has been closed by the user, it's suspended and terminated, and then enters the NotRunningstate within about 10 seconds.
    In Windows 8.1 and later, after an app has been closed by the user, the app is only removed from the screen and switch list without being terminated.
    Note If your app depends on the closed-by-user behavior of Windows 8, you can enable this behavior in your app when you upgrade it to Windows 8.1. To enable the closed-by-user behavior of Windows 8, set your Windows 8.1 app to terminate when the last window is closed with theWindows.UI.ViewManagement.ApplicationView.TerminateAppOnFinalViewClose property.
    If an app has registered an event handler for the Suspending | suspending event, it is called when the app is suspended. You can use this event handler to save relevant application and user data to persistent storage.
    Closed-by-user behavior of Windows 8: We recommend that you decide how your app behaves when it's activated after being closed by the user. It may make no difference to you whether the app was terminated by Windows or by the user. If your app needs to do something different when it is closed by the user than when it is closed by Windows, you can use the activation event handler to determine whether the app was terminated by the user or by Windows. See the descriptions of ClosedByUser and Terminated states in the docs for the ApplicationExecutionState enumeration.
    We recommend that apps not close themselves programmatically unless absolutely necessary. For example, if an app detects a memory leak, it can close itself to ensure the security of the user's personal data. When you close an app programmatically, Windows treats this as an app crash.
      My System SpecsSystem Spec

8.1: Modern UI app process persistence after closing
Related Threads
Metro apps closing in Software and Apps
I realize this is an old post, but it is a current issue for me. I'm writing on my Mac OSX which I haven't had issues with for 5 years, nothing major like this anyway. We bought our kids Toshiba laptops for Christmas 2014 for homeschooling and they both have Windows 8.1. It's only January 2015...
Solved closing lid in General Support
Hi all ,,,can someone help me please, I have 8.1 and I like to listen to audio books and I would like to be able to close the lid and still hear the story , is this possible please?. Len
Spouse showed me her Dell running Win 8.1, said that Chrome was closing itself. Tried to find security program for scan, learned that it is Windows Defender (I use Win 7 on mine, running MSE). But in the task list, I found a process called "crome.exe" running at 76% CPU!!!!! (yes, the spelling...
All Programs Closing in Software and Apps
I like to watch videos on my left monitor while using windows 8 apps on my second. The only problem is that as soon as I interact with the monitor I'm watching the video on the app on my other monitor closes and it goes right to the desktop. Is there any way to fix this?
Solved Closing an application in General Support
I have just installed Windows 8 after years of using earlier versions of Windows. What I cannot work out is how to exit an application. Ridiculous, perhaps, but I haven't managed to find the answer. For example, if I open Mail I can't see any icon for closing it and have to exit via Task Manager....
Solved Closing Things in General Support
This may sound dumb but how do we close some of the new stuff once it is open? I mean if i open PC Settings for example I cannot close it without using the task manager. If you don't end the task it stays running forever in the background. There is no "close" button on the screen and I can't find...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook