Closed
Bug 626825
Opened 14 years ago
Closed 14 years ago
Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
VERIFIED
FIXED
Firefox 4.0b12
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: faaborg, Assigned: steffen.wilberg)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: relnote, user-doc-needed)
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
steffen.wilberg
:
review+
beltzner
:
approval2.0+
|
Details | Diff | Splinter Review |
This is a follow up bug from bug 607224. The following menu commands should be hidden unless the user invokes the menu using the keyboard:
File > Open Location
File > Close Window
File > Close Tab
Edit > Delete (available through a context menu on a text field)
Edit > Find Again
View > Stop
View > Reload
History > Back
History > Forward
History > Home
Tools > Web Search
Initially this change is for Windows/Linux, since those were the platforms covered by the patch in bug 607224.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → steffen.wilberg
Depends on: 607224
Summary: Hide redundant menu commands unless the user invokes the menu using the keyboard → Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)
Reporter | ||
Comment 1•14 years ago
|
||
The UX team is very eager to get this bug landed over the next few days in order to make Beta 11. If anyone can get a patch for this bug posted soon, we will push hard for reviews and approval (even though this isn't blocking).
You can view all of the related bugs to clean up the traditional menu bar here: http://areweprettyyet.com/4/traditionalMenu/
Comment 2•14 years ago
|
||
the current patch in Bug 588011 has some code to make this pretty much trivial (matter of adding a class/attribute to the menuitem)
Assignee | ||
Comment 3•14 years ago
|
||
Thanks Marco, this makes it so trivial it's almost boring ;-)
I'll try to post a first patch in the evening.
Comment 4•14 years ago
|
||
(In reply to comment #3)
> Thanks Marco, this makes it so trivial it's almost boring ;-)
> I'll try to post a first patch in the evening.
thanks, notice the name of the class is not yet finalized since I'm waiting for the final signup from dao.
Assignee | ||
Comment 5•14 years ago
|
||
Per the mockup (comment 1), this makes these menu items show-only-for-keyboard:
File > Open Location
File > Close Window
File > Close Tab
Edit > Find Again
View > Stop
View > Reload
History > Back
History > Forward
History > Home
Tools > Web Search
From the list in comment 0, this leaves
Edit > Delete
untouched, since that's not in the mockup.
Built on top of patch v1.4 in bug 588011.
Reduced diff context to prevent bitrotting.
Passes browser-chrome tests locally, but doesn't include a test.
Attachment #506865 -
Flags: review?(dao)
Assignee | ||
Updated•14 years ago
|
Target Milestone: --- → Firefox 4.0b11
Assignee | ||
Comment 6•14 years ago
|
||
Also included the menuseparators after View->Reload and Tools->Web Search.
Those are easily overlooked in Ubuntu's Ambiance theme :-(
Attachment #506865 -
Attachment is obsolete: true
Attachment #507681 -
Flags: review?(dao)
Attachment #506865 -
Flags: review?(dao)
Assignee | ||
Comment 7•14 years ago
|
||
Correct patch. Need to sleep.
Attachment #507681 -
Attachment is obsolete: true
Attachment #507682 -
Flags: review?(dao)
Attachment #507681 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #507682 -
Flags: review?(dao) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #507682 -
Flags: approval2.0?
Assignee | ||
Comment 8•14 years ago
|
||
Unbitrotted (patch context has changed).
Attachment #507682 -
Attachment is obsolete: true
Attachment #508868 -
Flags: review+
Attachment #508868 -
Flags: approval2.0?
Attachment #507682 -
Flags: approval2.0?
Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•14 years ago
|
||
Bug 607224, which made this possible, was marked as blocking2.0:betaN, so requesting blocking here as well.
blocking2.0: --- → ?
Comment 11•14 years ago
|
||
Comment on attachment 508868 [details] [diff] [review]
unbitrotted
a=beltzner
Attachment #508868 -
Flags: approval2.0? → approval2.0+
Comment 12•14 years ago
|
||
Verified on Mozilla/5.0 (Windows NT 6.1; rv:2.0b11) Gecko/20100101 Firefox/4.0b11
Assignee | ||
Comment 13•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/60c78add19a8
Adding relnote and user-doc-needed; the same was done for menu Bookmarks -> "Bookmarks All Tabs" in bug 588011.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: relnote,
user-doc-needed
Resolution: --- → FIXED
Target Milestone: Firefox 4.0b11 → Firefox 4.0b12
Version: unspecified → Trunk
Assignee | ||
Comment 14•14 years ago
|
||
Note that this doesn't work Mac, see bug 607224 comment 38, i.e. Mac always shows all menu items.
Comment 15•14 years ago
|
||
Verified fixed with Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110220 Firefox/4.0b12pre and Mozilla/5.0 (X11; Linux x86_64; rv:2.0b12pre) Gecko/20110220 Firefox/4.0b12pre
Litmus tests which have been updated:
https://litmus.mozilla.org/show_test.cgi?id=10036 (File menu)
https://litmus.mozilla.org/show_test.cgi?id=10037 (Edit menu)
https://litmus.mozilla.org/show_test.cgi?id=10035 (View menu)
https://litmus.mozilla.org/show_test.cgi?id=10034 (History menu)
https://litmus.mozilla.org/show_test.cgi?id=10032 (Tools menu)
Status: RESOLVED → VERIFIED
Flags: in-litmus+
Comment 16•13 years ago
|
||
May I ask why this was even considered a bug? I skimmed through the comments in bug 607224 and agree with the last comment by arromdee. How is it a bad thing to maintain consistency when displaying commands? What difference does it make if I open it with the mouse or the keyboard? In my (admittedly likely narrow) case, I sometimes hit Alt just to bring up the menu and then click to what I'm really looking for, so if I hit Alt to see the menu but then click on the Bookmarks menu, I don't see the "Bookmark all tabs" command. I recently upgraded from Firefox 3.6 to 8 and was confused by the seeming absence of that command. Had to Google it to find out I can access it through a right click, and then learned it was actually removed on purpose.
This does not make sense to me. I can understand wanting to streamline the interface by removing unnecessary options from the user's constant view (the main browser window, with the tabs and the actual page being read), but opening a menu, regardless of whether by mouse or keyboard, should make it obvious that I *want* more stuff to suddenly appear on my screen. Why hide some of it?
Pedro
You need to log in
before you can comment on or make changes to this bug.
Description
•