Closed
Bug 592887
Opened 14 years ago
Closed 13 years ago
Reorganize History Menu
Categories
(Firefox :: Menus, defect)
Firefox
Menus
Tracking
()
RESOLVED
DUPLICATE
of bug 625322
People
(Reporter: zpao, Assigned: soapy)
Details
(Keywords: polish)
Attachments
(2 files, 4 obsolete files)
19.73 KB,
image/png
|
faaborg
:
ui-review+
|
Details |
4.00 KB,
patch
|
Details | Diff | Splinter Review |
After a chat with Faaborg, we're thinking it best to shuffle some things around in the History menu. We would like the menu to contain (as closely as possible) the same entries in the same order as the history menu off the Firefox button. We're also thinking it best to remove the "Tabs from other computers entry" from the history menu. Bug 588482 is going to add a "Restore Last Session" entry to both menus, so I'll hold off the changes until then.
Reporter | ||
Comment 1•14 years ago
|
||
A little ascii menu based on what we talked about History ------- Back Forward Home ------- Show All History ------- Clear Recent History (move from tools) ------- Restore Previous Session Recently Closed Tabs Recently Closed Windows ------ the last bunch of history entries Josh - I know you've done a bunch of menu stuff. Not sure if you'd be interested in taking this on. It's mostly just shuffling things around with some removing from browser-places.js as well.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → soapyhamhocks
Assignee | ||
Comment 2•14 years ago
|
||
Wip patch, will update when 588482 lands.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2) > Created attachment 471815 [details] [diff] [review] > Wip patch v1 > > Wip patch, will update when 588482 lands. Thanks for doing this Josh. I just landed bug 588482. Might be good to have mconnor & faaborg weigh in here on the need (or lack thereof) for "tabs from other computers".
Comment 4•14 years ago
|
||
I think it makes the most sense in the tab overflow menu, since that is where tabs live. History just isn't a good mapping to active tabs.
Assignee | ||
Comment 5•14 years ago
|
||
Just wanted to say my wip patch does work on the latest trunk. Can someone give me some feedback on it?
Reporter | ||
Comment 6•14 years ago
|
||
(In reply to comment #5) > Just wanted to say my wip patch does work on the latest trunk. Can someone give > me some feedback on it? Looks like a good start. This doesn't remove the tabs from other computers item & doesn't do the majority of the reordering in the history menu though.
Assignee | ||
Comment 7•14 years ago
|
||
Removed "sync-tabs-menuitem".
Attachment #471815 -
Attachment is obsolete: true
Assignee | ||
Comment 8•14 years ago
|
||
Reporter | ||
Comment 9•14 years ago
|
||
(In reply to comment #8) > Created attachment 475261 [details] > Screenshot of Patch v1 Looks right to me, I'll just poke Alex for ui-r? Also, I think it best to remove the code that's going to enable/disable the "tabs from other computers" from browser-places.js while we're dumping the menuitem (and the code expects getElementById to succeed). http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-places.js#739 and the call to it a few lines down.
Reporter | ||
Updated•14 years ago
|
Attachment #475261 -
Flags: ui-review?(faaborg)
Assignee | ||
Comment 10•14 years ago
|
||
Removed some unnecessary code for "tabs from other computers" from browser-places.js.
Attachment #475259 -
Attachment is obsolete: true
Updated•14 years ago
|
Attachment #475261 -
Flags: ui-review?(faaborg) → ui-review+
Reporter | ||
Updated•14 years ago
|
Attachment #475299 -
Flags: review?(dao)
Comment 11•14 years ago
|
||
Comment on attachment 475299 [details] [diff] [review] Patch v2 >+ <menuitem id="sanitizeItem" >+ accesskey="&clearRecentHistory.accesskey;" >+ label="&clearRecentHistory.label;" >+ key="key_sanitize" >+ command="Tools:Sanitize"/> >+ <menuseparator/> Need to remove the accesskey here. Can you add ids to the new menuseparators?
Attachment #475299 -
Flags: review?(dao) → review-
Comment 12•14 years ago
|
||
Is "Tabs from other computers" still keyboard-accessible with this patch?
Reporter | ||
Comment 13•14 years ago
|
||
(In reply to comment #12) > Is "Tabs from other computers" still keyboard-accessible with this patch? I assume so - it's still in the alltabs-popup. But I don't know much about whether or not that's keyboard-accessible
Comment 14•14 years ago
|
||
It isn't, so this patch makes that feature inaccessible, which sucks a fair bit...
Comment 15•14 years ago
|
||
Filed follow up bug 597308
Assignee | ||
Comment 16•14 years ago
|
||
Attachment #475299 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #476660 -
Flags: feedback?(dao)
Comment 17•14 years ago
|
||
This needs to actually depend on bug 597308, and that needs to be a beta7 blocker if you want this for Firefox 4.
Depends on: 597308
Comment 18•14 years ago
|
||
(Alternatively don't remove "Tabs from other computers" here and take care of it in bug 597308.)
Updated•14 years ago
|
Component: General → Menus
QA Contact: general → menus
Updated•14 years ago
|
Attachment #476660 -
Flags: feedback?(dao) → feedback-
Assignee | ||
Comment 19•14 years ago
|
||
Attachment #476660 -
Attachment is obsolete: true
Comment 20•14 years ago
|
||
Comment on attachment 478503 [details] [diff] [review] Patch v4 >+ <menuseparator id="historyMenuNavSeperator"/> >+ <menuseparator id="historyMenuAllHistorySeperator"/> >+ <menuseparator id="historyMenuSanitizeSeperator"/> The ids seem rather strange. Maybe insert an underscore after historyMenu? >- <menuseparator id="startHistorySeparator"/> >- <menuseparator id="endHistorySeparator" >- class="hide-if-empty-places-result" >- builder="end"/> Is builder="end" safe to remove? >+ <menuseparator id="historyMenuListSeparator" >+ class="hide-if-empty-places-result"/> This should probably be called startHistorySeparator for backward compatibility.
Comment 21•14 years ago
|
||
(In reply to comment #20) > >+ <menuseparator id="historyMenuNavSeperator"/> > >+ <menuseparator id="historyMenuAllHistorySeperator"/> > >+ <menuseparator id="historyMenuSanitizeSeperator"/> > > The ids seem rather strange. Maybe insert an underscore after historyMenu? That's the way how mostly all other menu items are designed. Would be nice when we could stay consistent at least inside one menu and don't introduce one more different style. http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-menubar.inc#339
Comment 22•13 years ago
|
||
The reordering was done in bug 625322, so duping to that. Bug 631805 has been filed to move "Clear Recent History" from the Tools menu to the History menu. Bug 631805 is about Removing "Tabs from Other Computers" from the History menu.
You need to log in
before you can comment on or make changes to this bug.
Description
•