Closed
Bug 861087
Opened 12 years ago
Closed 12 years ago
Make "More..." at bottom of History subview show completely
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: mconley, Assigned: jaws)
References
Details
Attachments
(1 file)
|
2.87 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
Jared and I ran into a weird problem where the "More..." at the bottom of the History widget subview was being truncated.
We need to fix this.
I think the history subview could be done differently.
There should be first three general items :
-Show all history instead of "more" at the bottom.
-Clear recent History... -> bring the clear history dialog or second subview.
-Restore previous session.
If possible "Recently closed" (tabs and windows will be merged) -> this too would need UI (second subview ?).
And then the history last items.
If general commands aren't present it would be a pretty big regression compared to the old menu and these items would be accessible only via the menu bar and shortcuts.
I know that subview inside a subview looks a bit "Inception-esque" but for certain items it should be at least considered.
| Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 737065 [details] [diff] [review]
Patch
Review of attachment 737065 [details] [diff] [review]:
-----------------------------------------------------------------
We're going to eventually need a way to artificially constrain the maximum height of sub-views, filed bug 861703 for that.
::: browser/base/content/panelUI.js
@@ +58,5 @@
>
> + var self = this;
> + this.subViews.addEventListener("overflow", function() {
> + // Resize the subview on the next tick.
> + Services.tm.currentThread.dispatch(self._syncContainerWithSubView.bind(self),
Nit: Mixing self and bind. Since we don't care about removing the event listener, this could potentially be refactored to:
this.subViews.addEventListener("overflow", function() {
// Resize the subview on the next tick.
Services.tm.currentThread.dispatch(this._syncContainerWithSubView.bind(this),
Ci.nsIThread.DISPATCH_NORMAL);
}.bind(this));
Attachment #737065 -
Flags: review?(mconley) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Whiteboard: [fixed in jamun]
| Reporter | ||
Comment 5•12 years ago
|
||
Whiteboard: [fixed in jamun] → [fixed in jamun][fixed-in-ux]
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in jamun][fixed-in-ux]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•