Closed Bug 431011 Opened 18 years ago Closed 17 years ago

Ctrl-Shift-B (Open Library/Places Organizer) has no counterpart in Linux

Categories

(Firefox :: Keyboard Navigation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.6a1

People

(Reporter: cww, Assigned: ddahl)

References

Details

(Keywords: late-l10n, user-doc-complete, verified1.9.1)

Attachments

(2 files, 7 obsolete files)

Ctrl-Shift-B opens the Library in Windows, but it seems really weird that it got left out of Linux. I can't think of anything else that uses Ctrl-Shift-B so it's just annoying that a shortcut that I'm really used to doesn't work.
the keyboard shortcut for Bookmark all tabs (Ctrl+Shift+D) is also missing.
Assignee: nobody → ddahl
After much newbie and advanced moz dev mxr searches the access key code for this was found here: browser/base/content/browser-sets.inc line 281: # Accel+Shift+A-F are reserved on GTK2 #ifndef MOZ_WIDGET_GTK2 ... <key id="manBookmarkKb" key="&bookmarksSidebarCmd.commandkey;" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/> #endif Looks like we need to pick a new key-command for linux - I have no idea what it should be. I would like to fix this as I am on linux and working on places:)
Reed: Shawn said you might know what to assign to the key command.
since ctrl-shift a - f are reserved by GTK (as per the comment in browser-sets.inc), I used "ctrl-shift K" Since I am working on places a lot i would like this fixed:) Any better ideas for the keyboard command?
Attachment #358225 - Flags: review?
Attachment #358225 - Flags: review? → review?(gavin.sharp)
Or maybe ctrl-shift O for _O_rganize Bookmarks. Or ctrl-shift P for _P_laces? I don't have strong feeling about this. I just don't want it to linger with an unlanded fix for a long time.
How about ctrl-shift "o"? I hear some folks don't like "o" for commandkeys.
Attachment #358225 - Attachment is obsolete: true
Attachment #367661 - Flags: review?(reed)
Attachment #358225 - Flags: review?(gavin.sharp)
As per gavin: changed bookmarksSidebarGtkCmd to bookmarksGtkCmd to more accurately describe the open places organizer and not the sidebar.
Attachment #367661 - Attachment is obsolete: true
Attachment #367670 - Flags: review?
Attachment #367661 - Flags: review?(reed)
Attachment #367670 - Flags: review? → review?(reed)
Comment on attachment 367670 [details] [diff] [review] another tweak to the naming convention >diff --git a/browser/base/content/browser-sets.inc b/browser/base/content/browser-sets.inc > # Accel+Shift+A-F are reserved on GTK2 > #ifndef MOZ_WIDGET_GTK2 > <key id="bookmarkAllTabsKb" key="&bookmarkThisPageCmd.commandkey;" command="Browser:BookmarkAllTabs" modifiers="accel,shift"/> > <key id="manBookmarkKb" key="&bookmarksSidebarCmd.commandkey;" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/> > #endif >+#ifdef MOZ_WIDGET_GTK2 Make this an #else instead? I don't want to scope creep this bug too much, but it would be nice if you could make the following changes to clean up our entity names a bit (make them match their actual use and associated strings), or file a followup bug to do so. >diff --git a/browser/locales/en-US/chrome/browser/browser.dtd b/browser/locales/en-US/chrome/browser/browser.dtd > <!ENTITY bookmarksSidebarCmd.accesskey "B"> Rename this one to bookmarksButton.accesskey, and move it next to bookmarksButton.label. > <!ENTITY bookmarksSidebarCmd.commandkey "b"> Rename this one to bookmarksCmd.commandkey, since it's used for both the sidebar and the manager.
Attachment #367670 - Flags: review?(reed) → review+
Attached patch expanded scope patch (obsolete) — — Splinter Review
expanded scope - tested on Linux - not sure about other platforms. I pushed the patch to the tryserver just to see how that works. I need to get my windows and mac builds going over here:)
Attachment #367670 - Attachment is obsolete: true
Attachment #368133 - Flags: review?
Attachment #368133 - Flags: review? → review?(gavin.sharp)
Also, not sure if all of the name changing is done - did not touch the key="viewBookmarksSidebarKb", or if this should be changed.
Attachment #368133 - Flags: review?(gavin.sharp) → review-
Comment on attachment 368133 [details] [diff] [review] expanded scope patch No need to change the IDs or other attributes, that will potentially affect addons for no real gain. I was really only talking about changing the entity names to better reflect their use.
Attached patch trunk patch (obsolete) — — Splinter Review
Attachment #368133 - Attachment is obsolete: true
Attachment #368272 - Flags: review?
Attachment #368272 - Flags: review? → review?(gavin.sharp)
Attachment #368272 - Flags: review?(gavin.sharp) → review+
Comment on attachment 368272 [details] [diff] [review] trunk patch >diff --git a/browser/base/content/browser-sets.inc b/browser/base/content/browser-sets.inc > #ifndef MOZ_WIDGET_GTK2 > <key id="bookmarkAllTabsKb" key="&bookmarkThisPageCmd.commandkey;" command="Browser:BookmarkAllTabs" modifiers="accel,shift"/> >- <key id="manBookmarkKb" key="&bookmarksSidebarCmd.commandkey;" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/> >+ <key id="manBookmarkKb" key="&bookmarksCmd.commandkey;" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/> >+#else >+ <key id="manBookmarkKb" key="&bookmarksGtkCmd.commandkey;" command="Browser:ShowAllBookmarks" modifiers="accel,shift"/> > #endif r=me, but I wouldn't mind if you flipped this #ifndef/#else into an #ifdef/#else to avoid the easy-to-miss "n" in #ifndef.
Attachment #368272 - Flags: ui-review?(beltzner)
Comment on attachment 368272 [details] [diff] [review] trunk patch string change, will it make it? i hope so.
Not sure how common commandkey localizing is, but I suppose we should add an l10n note that indicates that bookmarksGtkCmd.commandkey should not contain the letters A-F. For the branch, we should perhaps skip the entity renaming. Sorry I didn't mention that earlier.
re-posting the previous approved patch w/o any entity renaming
Attachment #368345 - Flags: ui-review?(beltzner)
Attachment #368345 - Flags: review?(gavin.sharp)
Attachment #368345 - Flags: ui-review?(beltzner) → ui-review+
Attachment #368272 - Attachment is obsolete: true
Attachment #368272 - Flags: ui-review?(beltzner)
Attachment #368345 - Attachment is obsolete: true
Attachment #368361 - Flags: review?(gavin.sharp)
Attachment #368345 - Flags: review?(gavin.sharp)
Attached patch branch patch — — Splinter Review
I know you guys already approve, but I am a noob and flagging your review again.
Attachment #368361 - Attachment is obsolete: true
Attachment #368364 - Flags: ui-review?(beltzner)
Attachment #368364 - Flags: review?(gavin.sharp)
Attachment #368361 - Flags: review?(gavin.sharp)
Attachment #368364 - Flags: ui-review?(beltzner)
Attachment #368364 - Flags: review?(gavin.sharp)
Attachment #368364 - Flags: review+
Attachment #368272 - Attachment description: removed id changes → trunk patch
Attachment #368272 - Attachment is obsolete: false
Attachment #368364 - Attachment description: branch patch for real → branch patch
Attachment #368364 - Flags: approval1.9.1?
Attachment #368364 - Flags: approval1.9.1? → approval1.9.1+
Attached patch trunk patch 2 — — Splinter Review
i need to learn mercurial-queues
Attachment #368272 - Attachment is obsolete: true
Attachment #368384 - Flags: ui-review?(beltzner)
Attachment #368384 - Flags: review?(gavin.sharp)
Comment on attachment 368384 [details] [diff] [review] trunk patch 2 No need to re-request ui-review, since there have been no functional changes since it was granted.
Attachment #368384 - Flags: ui-review?(beltzner)
Attachment #368384 - Flags: review?(gavin.sharp)
Attachment #368384 - Flags: review+
Keywords: checkin-needed
Whiteboard: [c-n trunk and 1.9.1]
Adding a user-doc-needed flag to update http://support.mozilla.com/en-US/kb/Keyboard+Shortcuts
Keywords: user-doc-needed
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [c-n trunk]
Target Milestone: --- → Firefox 3.6a1
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090415 Shiretoko/3.5b4pre
Status: RESOLVED → VERIFIED
Ctrl+Shift+B does not do anything for me in FF29 on LinuxMint 16.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: