Closed
Bug 1140183
Opened 9 years ago
Closed 9 years ago
Disable the safe-mode key trigger (shift on win, option on mac) using an environment variable
Categories
(Toolkit :: Startup and Profile System, defect)
Toolkit
Startup and Profile System
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: jruderman, Assigned: jruderman)
References
(Blocks 1 open bug)
Details
(Whiteboard: MOZ_DISABLE_SAFE_MODE_KEY)
Attachments
(1 file)
1.31 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
The safe-mode key makes it annoying to run tests on a workstation, especially tests that start many browser instances. This patch follows the precedent of bug 745154 by adding an environment variable to disable the safe mode trigger. This does not fix bug 507782, bug 539403, or bug 653410.
Attachment #8573591 -
Flags: review?(ehsan)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jruderman
Comment 1•9 years ago
|
||
This could also be useful to address bug 1090478 comment 3.
Blocks: 1090478
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8573591 [details] [diff] [review] patch Review of attachment 8573591 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +3305,5 @@ > } > #endif > > #ifdef XP_MACOSX > + if ((GetCurrentEventKeyModifiers() & optionKey) && !EnvHasValue("MOZ_DISABLE_SAFE_MODE_KEY")) Nit: please break into two lines.
Attachment #8573591 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6ea1fa736a3
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b6ea1fa736a3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Assignee | ||
Updated•9 years ago
|
Whiteboard: MOZ_DISABLE_SAFE_MODE_KEY
Comment 5•8 years ago
|
||
@Jesse Just for the poor souls in my track. To set that env variable on macos, create the file /etc/launchd.conf and enter (or append if exists) this line: setenv MOZ_DISABLE_SAFE_MODE_KEY 1 save, reboot and you should be good to go.
(In reply to sashabe from comment #6) > @horvath.agoston's tip doesn't work on High Sierra. However, this recommendation https://stackoverflow.com/a/47252708/102397 has worked for me.
You need to log in
before you can comment on or make changes to this bug.
Description
•