Closed Bug 971630 Opened 10 years ago Closed 10 years ago

Australis: Far right/left selected overflow tabs look bad on session restore.

Categories

(Firefox :: Theme, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 31
Tracking Status
firefox29 --- verified
firefox30 --- verified
firefox31 --- verified

People

(Reporter: caspy77, Assigned: jaws)

References

Details

(Whiteboard: [Australis:P3-])

Attachments

(2 files, 1 obsolete file)

Attached image Tab Overflow
I have several windows with tabs filling up and overflowing the tab bar.  On most windows the far right tab is selected.  After restoring a session, *all* of my windows whose tab rows are full and that have the rightmost tab selected are scrolled ever so slightly off the tab bar - the bottom curve it seems (see attached screenshot).
I tried reproducing this with a different profile (filling several windows with tabs) and ironically could only get the *leftmost* selected tab to trail off the end, like the screenshot, on session restore.

It's obviously not a showstopper, but it's poor polish and for someone like me with that tinge of OCD I have to go through and hit the scroll arrow on all the cases. It just looks bad.
Whiteboard: [Australis:P3-]
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Hm, I could reproduce this last week but can't anymore. Caspy7, can you still reproduce this on a new nightly build?
Flags: needinfo?(caspy77)
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2)
> Hm, I could reproduce this last week but can't anymore. Caspy7, can you
> still reproduce this on a new nightly build?

Still seeing this on the latest nightly.
Flags: needinfo?(caspy77)
Ok, I can reproduce with the left-most selected tab.
I'm pretty sure I've gotten it figured out now. Patch coming soon.
Attached patch Patch (obsolete) — Splinter Review
Kinda stinks to reach in to private methods and properties of mTabstrip, but it's not the first place within tabbrowser.xml.
Attachment #8402890 - Flags: review?(mconley)
Attachment #8402890 - Attachment is obsolete: true
Attachment #8402890 - Flags: review?(mconley)
Attachment #8402892 - Flags: review?(mconley)
Comment on attachment 8402892 [details] [diff] [review]
Patch v1.01 (forgot to qref)

I agree on both the gross-ness of sucking out private members of mTabstrip, and also at the sentiment that "we were doing it already, so what the hell."

We really should consider trying to expose those as public read-only members instead. I wouldn't block on it, but can you please file a bug to do that?

Also, have you done a try push to see how this could affect TART? If not, maybe do that. Or not, and take your chances on fx-team / m-c. :)
Attachment #8402892 - Flags: review?(mconley) → review+
Compare-talos shows that there is no TART regression from this patch.

Landed on fx-team: https://hg.mozilla.org/integration/fx-team/rev/6aef8ef7d775
Whiteboard: [Australis:P3-] → [Australis:P3-][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/6aef8ef7d775
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3-][fixed-in-fx-team] → [Australis:P3-]
Target Milestone: --- → Firefox 31
Comment on attachment 8402892 [details] [diff] [review]
Patch v1.01 (forgot to qref)

[Approval Request Comment]
Bug caused by (feature/regressing bug #): introduction of tab curves missed this case that has to be manually adjusted for the negative margins on tab curves
User impact if declined: session restore can have partial tabs showing (curve is clipped)
Testing completed (on m-c, etc.): on m-c for a few days
Risk to taking this patch (and alternatives if risky): none expected
String or IDL/UUID changes made by this patch: none
Attachment #8402892 - Flags: approval-mozilla-aurora?
Attachment #8402892 - Flags: approval-mozilla-beta?
Attachment #8402892 - Flags: approval-mozilla-beta?
Attachment #8402892 - Flags: approval-mozilla-beta+
Attachment #8402892 - Flags: approval-mozilla-aurora?
Attachment #8402892 - Flags: approval-mozilla-aurora+
I tested with all builds and the problem appears resolved in all of them.
Flags: needinfo?(caspy77)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: