Closed
Bug 941430
Opened 12 years ago
Closed 12 years ago
Max tab width is smaller in Australis
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 30
People
(Reporter: billm, Assigned: dao)
References
(Blocks 2 open bugs)
Details
(Keywords: regression, Whiteboard: [Australis:P4+])
Attachments
(5 files, 1 obsolete file)
204.82 KB,
image/png
|
Details | |
148.55 KB,
image/png
|
Details | |
59.12 KB,
image/png
|
Details | |
141.21 KB,
image/png
|
Details | |
1006 bytes,
patch
|
Gavin
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
At first I thought this was a design issue, but I asked MattN and he doesn't think it is. Before Australis, if I had seven tabs open, they would take up the entire horizontal width of the window. Now there's just a lot of empty space on the right side. It's annoying because I can't see as much of the tab title as before.
Screenshots will follow.
Reporter | ||
Comment 1•12 years ago
|
||
Before Australis.
Reporter | ||
Comment 2•12 years ago
|
||
And the after picture.
Reporter | ||
Comment 3•12 years ago
|
||
The screenshots have the same number of tabs and the same window size.
Before Australis:
Width of a tab: ~224px
Usable width for text: ~172px
Australis:
Width of a tab: ~181px
Usable width for text: ~115px
So the tab width went down by about 20% and the text width went down by about 30%. I can file the text issue as a separate problem if need be.
Blocks: australis-merge
Comment 4•12 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #0)
> At first I thought this was a design issue, but I asked MattN and he doesn't
> think it is. Before Australis, if I had seven tabs open, they would take up
> the entire horizontal width of the window. Now there's just a lot of empty
> space on the right side. It's annoying because I can't see as much of the
> tab title as before.
It is part of the design but my point was more that I hadn't seen much discussion around this case. Many people who have been complaining about the titles of tabs have had tab overflow and so the *minimum* width was the issue. In your case you're interested in the *maximum* width.
I double-checked and we have the correct dimensions according to the spec [1].
Stephen, was the reduction in max-width intentional? Would you consider increasing the max-width? If not, please resolve the bug.
[1] https://people.mozilla.org/~shorlander/files/australis-designSpecs/australis-designSpecs-linux-mainWindow.html
Assignee: nobody → shorlander
Blocks: australis-tabs
Status: NEW → ASSIGNED
Flags: needinfo?(shorlander)
OS: Linux → All
Hardware: x86_64 → All
Comment 5•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Blocks: 826689
Keywords: regression
Comment 7•12 years ago
|
||
Tabs are overlaping by 15px, so maybe we need to set max-width to 265px
Updated•12 years ago
|
Whiteboard: [Australis:P4]
Reporter | ||
Comment 8•12 years ago
|
||
I just wanted to note that I changed max-width for .tabbrowser-tab:not([pinned]) in my userChrome.css file. The tabs do get wider, but when I start opening and closing tabs, they appear at the wrong places. There must be other places in the code that I would have to change :-(.
Comment 9•12 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #8)
> I just wanted to note that I changed max-width for
> .tabbrowser-tab:not([pinned]) in my userChrome.css file. The tabs do get
> wider, but when I start opening and closing tabs, they appear at the wrong
> places. There must be other places in the code that I would have to change
> :-(.
You may want to see bug 875180.
Updated•12 years ago
|
Whiteboard: [Australis:P4] → [Australis:P4+]
Comment 10•12 years ago
|
||
I think we could set the maximum tab width to something like 220px without any aesthetic fallout.
Comment 11•12 years ago
|
||
(In reply to Philipp Sackl [:phlsa] from comment #10)
> Created attachment 8385646 [details]
> max-width set to 220px
>
> I think we could set the maximum tab width to something like 220px without
> any aesthetic fallout.
It's quite bigger than the current tab at 180. AFAIK Google Chrome has more or less the same width.
The Firefox pre-Australis was 250, but the tabs were huge. I think 200 or 210 would be perfect.
Assignee | ||
Updated•12 years ago
|
Assignee: shorlander → dao
Flags: needinfo?(shorlander)
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #8386129 -
Flags: review?(MattN+bmo)
Comment 13•12 years ago
|
||
Comment on attachment 8386129 [details] [diff] [review]
patch
Review of attachment 8386129 [details] [diff] [review]:
-----------------------------------------------------------------
This may affect TART results so you should probably do a Try build before landing to be safe (even if it's just to be prepared to say that the change in result is fine).
r=me with the changes and assuming no major TART regression.
::: browser/base/content/browser.css
@@ +103,5 @@
> }
>
> .tabbrowser-tab:not([pinned]) {
> -moz-box-flex: 100;
> + max-width: 220px;
phlsa found that 210px looked better so please use that max-width
@@ +108,4 @@
> min-width: 100px;
> width: 0;
> transition: min-width 200ms ease-out,
> + max-width 240ms ease-out;
phlsa says we could leave this as it was
Attachment #8386129 -
Flags: review?(MattN+bmo) → review+
Assignee | ||
Comment 14•12 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #13)
> This may affect TART results so you should probably do a Try build before
> landing to be safe (even if it's just to be prepared to say that the change
> in result is fine).
I think we can just land this, especially if we keep the transition duration as is -- if there's a reasonably small change due to a few more pixels being drawn, we can disregard that as expected. If there's a larger change, we can still back out / investigate after the fact.
Comment 15•12 years ago
|
||
I would prefer to avoid the churn so some other regression doesn't slip in before the backout. It doesn't take that long to do a talos run on try
Assignee | ||
Comment 16•12 years ago
|
||
Attachment #8386129 -
Attachment is obsolete: true
Assignee | ||
Comment 17•12 years ago
|
||
Assignee | ||
Comment 18•12 years ago
|
||
Comment 19•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Assignee | ||
Comment 20•12 years ago
|
||
Comment on attachment 8386284 [details] [diff] [review]
patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 826689
User impact if declined: less room for tab labels
Testing completed (on m-c, etc.): landed on m-c
Risk to taking this patch (and alternatives if risky): low
String or IDL/UUID changes made by this patch: none
Attachment #8386284 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #8386284 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 21•12 years ago
|
||
status-firefox29:
--- → fixed
Updated•12 years ago
|
status-firefox30:
--- → fixed
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•