Closed Bug 879043 Opened 11 years ago Closed 11 years ago

[mozrunner] After quitting MetroFirefox we should allow to return to the desktop

Categories

(Testing :: Mozbase, defect)

All
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

As of now we always end-up on the start screen after the browser gets closed. If you run everything through the desktop you will be forced to manually return to the desktop. It would be nice if the test harness could determine if the desktop has been used to launch the application and return to it after Firefox Metro has been closed.

A feature like that would help our Mozmill testers a lot. If it should not be done automatically we could do this via a command line option?
Jim or Marco, would something like that be possible soon? If not we will have to find a way in Mozrunner to return to the desktop.
Flags: needinfo?(mmucci)
Flags: needinfo?(jmathies)
(In reply to Henrik Skupin (:whimboo) from comment #1)
> Jim or Marco, would something like that be possible soon? If not we will
> have to find a way in Mozrunner to return to the desktop.

I don't believe the harness can do this since there are no programmable apis for it. (We could try some hacks like shell executing a desktop folder.) On our slaves we're using a bit of a hack to get this done for logins, we create a shortcut to a desktop folder in the startup folder. Probably simpler to experiment from the python side of things.
Flags: needinfo?(jmathies)
Thanks Jim. Ok, lets move it to mozrunner then where we might have better capabilities to get this working.
Component: Tests → Mozbase
Flags: needinfo?(mmucci)
Product: Firefox for Metro → Testing
QA Contact: hskupin
Summary: metrotestharness should allow to return to the desktop after the browser has been closed → [mozrunner] After quitting MetroFirefox we should allow to return to the desktop
It's something we would need for Mozmill 2.1. I will investigate how to get this fixed now.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Whiteboard: [mozmill-2.1]
Good news! There is no need anymore for this feature to be added. It can easily be configured by Windows 8.1 itself. It's a new option Microsoft has added, so with it enabled Windows will automatically switch to the desktop when the last metro app has been closed.

For our testing purposes this is fully enough. If you think we should force this and spend time in doing it on our own, especially if multiple metro apps are open, feel free to reopen the bug.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Oh, here the link to the blog post which is talking about it:
http://www.ghacks.net/2013/10/01/windows-8-1-return-desktop-close-last-modern-app/
Whiteboard: [mozmill-2.1]
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.