Closed
Bug 523064
Opened 15 years ago
Closed 15 years ago
Is there a good way to close background firefox properly?
Categories
(Firefox :: General, defect, P1)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta2-fixed |
People
(Reporter: starking, Assigned: vlad)
Details
(Whiteboard: [nv])
Attachments
(1 file)
1.22 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; WPS; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; eSobiSubscriber 2.0.4.16; .NET CLR 3.5.30729; .NET CLR 3.0.30618) Build Identifier: Mozilla/5.0 WinCE6.0 rv1.9.2a2 Gecko/20090920 Firefox/3.6a2 We've experimented with closing firefox today, but couldn't find a reliable way to do it. The firefoxfaststart creates a window with class "MozillaHiddenWindowClas". If we send it a WM_DESTROY event it causes it to crash and displays an error message to the user. We can call TerminateProcess on it, but that doesn't seem like a very good idea because it doesn't give firefox a chance to properly shutdown. Reproducible: Always
Severity: normal → major
OS: Other → Windows CE
Priority: -- → P2
Hardware: Other → ARM
Updated•15 years ago
|
Priority: P2 → --
Version: unspecified → 3.6 Branch
Updated•15 years ago
|
Whiteboard: [nv]
Comment 1•15 years ago
|
||
Closing the app from File -> Exit will terminate the background FastStart process. Or are you looking for a way to do this from code outside the app?
Yes, We are looking for a way to do this from code outside the app. We have an application A. When A launched, it needs a way to close FastStart process at the same time. Before A closed, it will launch faststart again.
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 4•15 years ago
|
||
Un-dup'ing this -- this is a separate issue from bug 522625, where we don't have a message for this. On the desktop, we use WM_QUERYSESSION/WM_ENDSESSION, but those aren't available on CE. I'm testing a patch currently that will make WM_QUIT behave like WM_ENDSESSION on CE, in which case sending a WM_QUIT to Firefox should do a safe controlled shutdown.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → vladimir
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox3.6+
Priority: -- → P1
Assignee | ||
Comment 5•15 years ago
|
||
This defines MOZ_WM_APP_QUIT, which is (WM_APP+0x0300). It basically signals the app to exit, similar to the desktop QUERYENDSESSION stuff, but that's not available on CE.
Attachment #410374 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #410374 -
Flags: review? → review?(jmathies)
Updated•15 years ago
|
Attachment #410374 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 6•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/fb5c9594a8f1 http://hg.mozilla.org/mozilla-central/rev/3fa88ff37b2c
Status: NEW → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
status1.9.2:
--- → final-fixed
Updated•15 years ago
|
Comment 7•15 years ago
|
||
[Side note: Years ago we used to have a command-line option to do this, so that you could invoke $APP -KillAll to close an existing instance.]
You need to log in
before you can comment on or make changes to this bug.
Description
•