• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

8.1: Modern UI app process persistence after closing


amrobx

New Member
Posts
25
#1
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 Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    Intel Core i7-2600K @ 4.2 GHz
    Motherboard
    Asus P8P67 Rev. 3.1
    Memory
    16 GB PC12800 Corsair Vengeance @1600 MHz
    Graphics Card(s)
    Gigabyte Windforce 3 Nvidia GTX 770 4 gb
    Sound Card
    Creative Sound Blaster X-Fi Titanium HD
    Monitor(s) Displays
    Vizio VO370M
    Screen Resolution
    1920 x 1080
    Hard Drives
    128 gb Plextor PX-128M3 6 Gbps
    2 TB WD Black 7200 rpm 6 Gbps
    1 TB WD Black 7200 rpm 3 Gbps
    750 GB Seagate Barracuda 7200 rpm 3 Gbps
    PSU
    Seasonic Platinum 860w
    Case
    Thermaltake Urban S71 full tower
    Cooling
    1-Noctua NF-A14ULN, 1-NF S12A PWM, 2-NF-P12 PWM, 2 200mm Thermaltake
    Keyboard
    Logitech K400r w/ integrated touchpad
    Browser
    Firefox, Chrome
    Antivirus
    Norton Internet Security 2014

4wd

New Member
Power User
Posts
375
#2
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'.
 

Attachments

My Computer

System One

  • OS
    W8.1, W7
    Computer type
    Laptop
    System Manufacturer/Model
    HP \ Toshiba \ Lenovo \ Dell E7440
    Browser
    FF

amrobx

New Member
Posts
25
#3
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 Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    Intel Core i7-2600K @ 4.2 GHz
    Motherboard
    Asus P8P67 Rev. 3.1
    Memory
    16 GB PC12800 Corsair Vengeance @1600 MHz
    Graphics Card(s)
    Gigabyte Windforce 3 Nvidia GTX 770 4 gb
    Sound Card
    Creative Sound Blaster X-Fi Titanium HD
    Monitor(s) Displays
    Vizio VO370M
    Screen Resolution
    1920 x 1080
    Hard Drives
    128 gb Plextor PX-128M3 6 Gbps
    2 TB WD Black 7200 rpm 6 Gbps
    1 TB WD Black 7200 rpm 3 Gbps
    750 GB Seagate Barracuda 7200 rpm 3 Gbps
    PSU
    Seasonic Platinum 860w
    Case
    Thermaltake Urban S71 full tower
    Cooling
    1-Noctua NF-A14ULN, 1-NF S12A PWM, 2-NF-P12 PWM, 2 200mm Thermaltake
    Keyboard
    Logitech K400r w/ integrated touchpad
    Browser
    Firefox, Chrome
    Antivirus
    Norton Internet Security 2014

vlada024

New Member
Serbia

Posts
1
#4
[h=3]All You Need to Know :[/h]
[h=3]App close[/h]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 Computer

System One

  • OS
    Windows 8.1 Enterprise Evaluation

Users Who Are Viewing This Thread (Users: 0, Guests: 1)