Closed Bug 471428 Opened 16 years ago Closed 16 years ago

Add Ctrl+Shift+P keyboard shortcut for private browsing mode

Categories

(Firefox :: Private Browsing, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.6a1

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

(4 keywords, Whiteboard: shortcut: Ctrl+Shift+P)

Attachments

(1 file)

This has came up several times so far. I think we need one, both for Mac, where menu items can't be invoked using keyboard shortcuts, and many cases like <http://groups.google.com/group/mozilla.dev.apps.firefox/msg/88b1d4770cdd0b49>. It's also a lot more convenient for keyboard savvy users. What do others think?
Enhancement request, but seems good.
Severity: normal → enhancement
You can open a new window with a hotkey and a new tab with a hotkey, so it follows reason that you should be able to open a new private window with a hotkey as well. If ctrl+shift+P isn't taken I think this is a must have. (if just because people keep requesting it) Oh, and congratulations on creating a dupe of a bug in which you've already commented... :p
Keywords: access
(In reply to comment #3) > You can open a new window with a hotkey and a new tab with a hotkey, so it > follows reason that you should be able to open a new private window with a > hotkey as well. If ctrl+shift+P isn't taken I think this is a must have. (if > just because people keep requesting it) Yes, I think Ctrl+Shift+P is available, and it's the most logical keyboard shortcut combination I can think of... > Oh, and congratulations on creating a dupe of a bug in which you've already > commented... :p Now, on to creating a dupe of a bug which I've filed myself! ;-)
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Keywords: uiwanted
Yes, I think Ctrl+Shift+P is available, and it's the most logical keyboard shortcut combination I can think of... Sounds good, if we switch to a window mode later we might want to also pick up control-shift-n, similar to Chrome (but still keeping the old shortcut for consistency). >Now, on to creating a dupe of a bug which I've filed myself! ;-) I actually do that all the time myself, my theory is that a dupe is better than forgetting to file :)
Keywords: uiwantedlate-l10n
Whiteboard: shortcut: Ctrl+Shift+P
Attached patch Patch (v1)Splinter Review
This needs to land before the string freeze, and it should be a trivial review as well; but at any rate the string part can land before the code.
Attachment #355003 - Flags: ui-review?(beltzner)
Attachment #355003 - Flags: review?(gavin.sharp)
Attachment #355003 - Flags: review?(gavin.sharp) → review+
Comment on attachment 355003 [details] [diff] [review] Patch (v1) uir=beltzner but with some objections I'm giving this ui-r and approval191 to beat string freeze. I am not, however, completely certain that we want this shortcut. Shortcuts are meant as quick routes to common actions (cut, copy, paste, new tab). Entering and exiting Private Browsing Mode is unlikely to be the sort of thing people do frequently, and the cost of accidentally hitting the shortcut (when fat-fingering the key combination for Print) and of adding Yet Another Shortcut to the list along the side isn't something we should ignore. Basically what I'm saying is that I'm reserving the right that I always have to request that this be removed afterwards.
Attachment #355003 - Flags: ui-review?(beltzner)
Attachment #355003 - Flags: ui-review+
Attachment #355003 - Flags: approval1.9.1+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.2a1
Flags: in-litmus?
Keywords: user-doc-needed
Summary: Should there be a keyboard shortcut for private browsing mode? → Add Ctrl+Shift+P keyboard shortcut for private browsing mode
verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090102 Shiretoko/3.1b3pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090102 Shiretoko/3.1b3pre. Adding keyword. verified fixed on the trunk using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090102 Minefield/3.2a1pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090102 Minefield/3.2a1pre
Status: RESOLVED → VERIFIED
Target Milestone: Firefox 3.2a1 → Firefox 3.1b3
This conflicts with Firebug's Profile JavaScript keyboard shortcut. Just sayin'.
File a report with Firebug. Just sayin'.
Already did, before making that comment :D
Target Milestone: Firefox 3.1b3 → Firefox 3.6a1
This is covered to a good extent by the PB UI tests. Testing that a <key> element actually triggers the command when the key combination is pressed is outside the scope for this bug.
Flags: in-testsuite+
(In reply to comment #15) > This is covered to a good extent by the PB UI tests. Testing that a <key> > element actually triggers the command when the key combination is pressed is > outside the scope for this bug. Ehsan, do you have a link to those tests? Would be nice to reference them in a bug so it's less pain to search for them.
(In reply to comment #16) > (In reply to comment #15) > > This is covered to a good extent by the PB UI tests. Testing that a <key> > > element actually triggers the command when the key combination is pressed is > > outside the scope for this bug. > > Ehsan, do you have a link to those tests? Would be nice to reference them in a > bug so it's less pain to search for them. Sure: http://mxr.mozilla.org/mozilla-central/source/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_ui.js
Depends on: 1271146
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: