The default bug view has changed. See this FAQ.

[mac] Open app in safe-mode if the option key is pressed during startup

RESOLVED FIXED in mozilla1.9alpha1

Status

()

Toolkit
Startup and Profile System
P2
normal
RESOLVED FIXED
12 years ago
9 years ago

People

(Reporter: mano, Assigned: mano)

Tracking

unspecified
mozilla1.9alpha1
PowerPC
Mac OS X
Points:
---
Bug Flags:
blocking1.8rc1 -
in-litmus +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Except of using |firefox-bin -safe-mode| from the CL, we don't provide any easy
way to start the application in Safe Mode on OS X.

In SeaMonkey, pressing the option key during startup opens the Profile Manager,
it would be nice to morph the same gesture to safe-mode in Toolkit apps.
Nominating for 1.8, now that Safe Mode does something useful (bug 304403).
Status: NEW → ASSIGNED
Flags: blocking1.8rc1?
Priority: -- → P2
Target Milestone: --- → mozilla1.8beta5
Created attachment 198784 [details] [diff] [review]
patch
Attachment #198784 - Flags: first-review?(benjamin)
Attachment #198784 - Flags: first-review?(benjamin) → first-review+
*** Bug 291223 has been marked as a duplicate of this bug. ***
trunk:
Checking in nsAppRunner.cpp;
/cvsroot/mozilla/toolkit/xre/nsAppRunner.cpp,v  <--  nsAppRunner.cpp
new revision: 1.120; previous revision: 1.119
done
Checking in nsCommandLineServiceMac.cpp;
/cvsroot/mozilla/toolkit/xre/nsCommandLineServiceMac.cpp,v  <-- 
nsCommandLineServiceMac.cpp
new revision: 1.4; previous revision: 1.3
don
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Attachment #198784 - Flags: approval1.8rc1?

Comment 5

12 years ago
Why don't we support this modifier key cross-platform?  It'd be nice if there
were a design doc on this safe mode UI.
I don't think that an option key is expected or useful to win/linux users, who
have start menu shortcuts and easy access to commandline flags.
While an option key modifier doesn't make sense, adding a "Open in Safe Mode" to
the context menu of the Firefox shortcut does. I think that's possible to do
when the shortcut is a system shortcut or somesuch, like the "Internet" one that
we overlay in the Start Menu.

Updated

12 years ago
Attachment #198784 - Flags: approval1.8rc1? → approval1.8rc1-

Updated

12 years ago
Flags: blocking1.8rc1? → blocking1.8rc1-

Comment 8

12 years ago
The option/alt key might not make sense, but shift is the de facto universal
"c'mon, gimme a break" key.

Updated

12 years ago
Target Milestone: mozilla1.8beta5 → mozilla1.9alpha1

Comment 9

12 years ago
(In reply to comment #5)
> Why don't we support this modifier key cross-platform?  

+1
Though win/linux users have other (relatively easy) ways to get into safe-mode I
don't see how adding this to other platforms would hurt. User support would be
easier - explaining how to get into this "safe-mode" is often hard enough.

Comment 10

12 years ago
According to http://developer.apple.com/documentation/Carbon/Conceptual/Carbon_Event_Manager/
Tasks/chapter_3_section_7.html GetCurrentKeyModifiers() will read modifier keys even if the application is 
in the background. This means a user switching to another app during launch may inadvertently trigger 
safe mode. Apple recommends calling GetCurrentEventKeyModifiers() instead.
Blocks: 320746
Attachment #198784 - Flags: approval-branch-1.8.1?(benjamin)
Attachment #198784 - Flags: approval-branch-1.8.1?(benjamin) → approval-branch-1.8.1+
Flags: in-litmus?
https://litmus.mozilla.org/show_test.cgi?id=5394 added to Litmus.
Flags: in-litmus? → in-litmus+

Updated

9 years ago
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in before you can comment on or make changes to this bug.