Windows 8 and 8.1 Forums

Multitasking does not work for Metro IE?

  1. #1

    Multitasking does not work for Metro IE?


    when i stream internet radio using new Metro IE and then switch to the start menu the radio internet connection fades away.

    Strange, this works fine in desktop mode.

    any ideas ?

      My System SpecsSystem Spec

  2. #2

    It's because when you go to desktop mode the Metro aplication is suspended.
      My System SpecsSystem Spec

  3. #3

    @vrosa, thx for your reply but it also happens when i stay in Metro mode and switch to e.g. Start Metro to launch another app.

    so it must be something else ?
      My System SpecsSystem Spec

  4. #4

    Posts : 21,858
    64-bit Windows 10

    Hello sjengie,

    The metro UI has nothing to do with this.

    If you leave any opened/running metro app to go to a different screen, the currently opened app will be suspended until opened next.

    Hope this helps,
      My System SpecsSystem Spec

  5. #5

    Posts : 465
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox

    In other words the OP was correct. No multitasking in Metro.
      My System SpecsSystem Spec

  6. #6

    Posts : 21,858
    64-bit Windows 10

    With metro apps anyway.
      My System SpecsSystem Spec

  7. #7

    Posts : 1,308
    Windows 8 enterprise x64

    Quote Originally Posted by vrosa View Post
    It's because when you go to desktop mode the Metro aplication is suspended.
    Yes and no; I use 2 monitors, in one I use the desktop and in the other one I open mail (metro)
    when I'm working on my desktop application , I can see my email update in the other monitor

    I use Windows key + Page down to send my Start page and Metro Apps in the right monitor

      My System SpecsSystem Spec

  8. #8

    Posts : 59
    Windows 8 Pro

    Quote Originally Posted by Brink View Post
    With metro apps anyway.
    This isn't strictly true is it? I mean, if you play a song in the Music app, then go to Start and go to the Video app and start playing a trailer of a movie, then go to the Mail app, you still get the song, and the movie playing when you're in Mail.
      My System SpecsSystem Spec

  9. #9

    Multitasking on Windows 8 metro apps works almost the same way as in Windows Phone 7.5+ (after mango).

    Let me explain it:

    As it has been already explained before, closed metro apps go into suspended mode.
    But it doesn't mean that they don't have multitasking.

    They don't in the sense that they can't multi-task themselves directly, as suspended tasks are not allowed to run any code.
    This was created so it won't have any impact on system whatsoever.

    But the problem Microsoft faced was with multitasking.
    They couldn't allow suspended apps to directly run in background for multitasking as it would destroy the purpose of suspension.

    Thus, Microsoft has created background tasks. Those are tasks that Metro apps could take advantage for multitasking.
    Apps can't run directly but they can use API for these background tasks to accomplish tasks they want.

    For example:
    Push and toast notifications. This is used for periodic checks, like mail and live-tiles. This way Finance and Weather app can update its live tile.

    Playback Manager is used for music and video as mention above with Music and Video apps.

    Background transfer API. You can try this one with Metro IE. Start some large download and leave Metro IE. Even though IE goes into suspended mode, download will still continue.

    There also possibilities for sharing, printing, synchronisation and etc.

    There is also background tasks for VoIP and chat clients.

    So with this model, Microsoft can assure that suspended Metro apps won't abuse their power and have any impact on system while still being able to do background tasks.
    Background task service makes sure to have minimal impact on foreground process.

    If you are really interested and want more details there is a whitepaper about it:
    Download: Background Tasks - Microsoft Download Center - Download Details

    EDIT: In the scenario of 2 monitors, metro app is considered as still active/running, thus it should not go into suspension. ( As far as I know)

    From whitepaper:
    Windows 8 Consumer Preview (referred to later as Windows 8) introduces a new model of app behavior. Metro style apps in Windows 8 are full screen and the user is expected to interact only with the app that is in the foreground. The foreground app is assumed to be the most important to the user, so this app receives all the resources of the system. When an app is not in the foreground, it is suspended, and cannot run any code. A suspended app remains suspended until the user resumes it by bringing the app back to the foreground. With this model of app behavior, the user experience is never impacted by lags or delays caused by the execution of unimportant background apps. In addition, reducing unnecessary background activity optimizes battery life on a variety of form factors. The time taken to resume a suspended app is negligible and would appear to be almost instantaneous to most users.
    Windows 8 provides a number of features to make an app update content even when the app is suspended:

    • Windows push notifications can be used to keep the app tile fresh and up-to-date.
    • Playback Manager can be used to play audio in the background.
    • The background transfer API can be used to download and upload files in the background.
    • File share contracts can be used to share data between apps.

    Push notifications and the background transfer API are optimized for system performance and longer device battery life, so it’s best to use these features whenever possible. If a suspended app must run its own code to do other kinds of work, Windows 8 provides apps with the ability to create background tasks.

    Appropriate scenarios for background tasks

    Allowing apps to run code in the background when they are suspended is a powerful feature and is designed primarily for the real-time class of apps such as mail, VOIP, and chat apps. The background task execution environment is a restricted resource-managed environment, and background tasks only receive a limited amount of system resources. Background tasks should be used for small work items that have no interaction with the user and only provide limited service. Long running or expensive workloads in the background will deplete the user’s battery and are not an appropriate use for background tasks.

    Scenarios that are appropriate for background tasks include downloading mail in the background, or showing a toast notification for an incoming VOIP call or a chat message, or reacting to a change in system condition (for example, UserAway) and updating the server with this information. Scenarios that are not appropriate for background tasks are indexing mail, transcoding photos, running SETI type workloads, or anything that requires user interaction through displaying UI or audio.
      My System SpecsSystem Spec

  10. #10

    Posts : 465
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox

    Thanks for the clear explanation Jav. I tried to rep you but I have to spread it around +1.
      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Multitasking does not work for Metro IE?

Similar Threads
Thread Forum
lastpass won't work with metro ie?
I've been using lastpass on IE desktop and Chrome with no problem, but can't figure out how to get it to work with the metro app version. ideas anyone???
Software and Apps
mic doesn't work with metro apps
Hi, I am having a problem with metro apps which are using microphone... When I open sound recorder app, it says: "To get started, connect your microphone". Permission to use microphone is ON, i have newest drivers installed, realtek HD audio for win 8 x64... Microphone is WORKING in other...
Sound & Audio
metro apps dont work
hello i had upgraded from win 7 ultimate to win 8 pro.but the 2 metro apps(camera & video) dont will open for a few seconds and turn me on start screen,in ''classic'' desktop windows screen i have no any problem.all my metro apps is updated.i have ...
Software and Apps
Metro apps don't work
Hi I'm using Windows 8 Pro from the past month or so. Suddenly, from yesterday, Metro apps won't connect to the Internet. I tried reconnecting, disconnecting and nothing worked. So, I did a clean install and they worked. But, as soon as I updated them, they stopped working. The Apps...
Software and Apps
Windows 8: Does Metro actually work?
Read more at: Windows 8: Does Metro actually work? | ZDNet
Windows 8 News
How do you set RDP options in W8 -seems to work only as a Metro app
Hi there Any idea how I can configure RDP in W8 -- for example use Local drives, Transmit / do not transmit Sound, set display settings etc. Note that I am RDP'ing FROM W8 to a W7 machine NOT the OTHER WAY around where you get the standard screens we are all used to. I can connect fine...
Network & Sharing
Apps Don't Load or Work from Metro Hub
I have an HP TouchSmart running 1920x1080 res. App logo fills the screen then reverts back to Metro Hub. Very frustrating!
Software and Apps

Eight Forums Android App Eight Forums IOS App Follow us on Facebook