Closed Bug 914351 Opened 11 years ago Closed 11 years ago

Close gesture doesn't kill the browser

Categories

(Core Graveyard :: Widget: WinRT, defect)

26 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jimm, Assigned: bbondy)

References

Details

(Whiteboard: [preview][8.1] [by design, OS gesture change])

In 8.1 we aren't receiving the DefaultBrowserClosing event, so we don't call quit and end up getting suspended instead.
I worked on this for about a day before so I'll take this.
Assignee: nobody → netzen
Blocks: 898795
This is happening with chrome and IE too. Strange that it still happens on RTM though. I'll reach out to Microsoft.
I tried to listen to ICoreApplicationExit, but that's not hit on close gesture either.
The browser docs indicate we should be getting a Registered Message of DefaultBrowserClosing but no message is ever delivered. I verified with spy++.

>  ComPtr<ICoreApplicationExit> coreExit;
>  sCoreApp.As(&coreExit);
>  hr = coreExit->add_Exiting(Callback<__FIEventHandler_1_IInspectable_t>(
>    this, &MetroApp::OnExiting).Get(), &mExitingEvent);
>  AssertHRESULT(hr);
So Linda from Microsoft got back to me and it turns out the Close Gesture we used in 8.0 is no longer valid.  To actually close any application in 8.1 you need to drag towards the bottom, and wait for the icon to flip, then let go.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Whiteboard: [preview][8.1] → [preview][8.1] [by design, OS gesture change]
Resolution: WONTFIX → WORKSFORME
OS: Windows 8 Metro → Windows 8.1
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.