Closed
Bug 673825
Opened 14 years ago
Closed 14 years ago
Release space at group bottoms that was reserved for the new tab button
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 8
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file, 2 obsolete files)
|
4.17 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Follow-up from bug 663613 comment #16:
We need to reserve 33px when a group is stacked (for the expand button) but not in normal mode.
| Assignee | ||
Comment 1•14 years ago
|
||
We need to leave a bottom padding (of 33px) only when a group is stacked to reserve space for the expand button. I additionally had to fix the test for bug 610208 because it saved the former tab bounds for comparison at the wrong time.
Attachment #548065 -
Flags: feedback?(raymond)
Comment 2•14 years ago
|
||
Comment on attachment 548065 [details] [diff] [review]
patch v1
> // Make the computed bounds' "padding" and new tab button margin actually be
> // themeable --OR-- compute this from actual bounds. Bug 586546
Please also update the above comment. f+ with that.
Attachment #548065 -
Flags: feedback?(raymond) → feedback+
| Assignee | ||
Comment 3•14 years ago
|
||
Comment updated.
Attachment #548065 -
Attachment is obsolete: true
Attachment #548081 -
Flags: review?(dietrich)
| Assignee | ||
Updated•14 years ago
|
Attachment #548081 -
Flags: review?(dietrich)
| Assignee | ||
Comment 4•14 years ago
|
||
Corrected the patch because it failed to arrange tabs correctly when it wasn't stacked before. That's because .isStacked() didn't return true yet and ._stackArrange() was called with the wrong bounds. So the tabs overlapped the expand button (bizarrely on Mac only).
Attachment #548081 -
Attachment is obsolete: true
Attachment #548207 -
Flags: review?(dietrich)
Comment 5•14 years ago
|
||
Comment on attachment 548207 [details] [diff] [review]
patch v3
Review of attachment 548207 [details] [diff] [review]:
-----------------------------------------------------------------
r=me
::: browser/base/content/tabview/groupitems.js
@@ +514,5 @@
> +
> + // make some room for the expand button if we're stacked
> + let isStacked = (options && options.forceStacked) || this.isStacked();
> + if (isStacked)
> + box.height -= 33;
Shouldn't remove the "For new tab button" comment.
Hm, also feels like this should be computed, in the event the expand button is re-themed. Can you file a followup bug for that?
Attachment #548207 -
Flags: review?(dietrich) → review+
| Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #5)
> Shouldn't remove the "For new tab button" comment.
Re-added comment that says we currently reserve 33px of space for the expand button.
> Hm, also feels like this should be computed, in the event the expand button
> is re-themed. Can you file a followup bug for that?
Filed bug 675481.
| Assignee | ||
Comment 7•14 years ago
|
||
Whiteboard: [fixed-in-fx-team]
| Assignee | ||
Comment 8•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 8
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•