Closed
Bug 1396833
Opened 7 years ago
Closed 7 years ago
Tabs can overlap
Categories
(Firefox :: Tabbed Browser, defect, P2)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox57 | --- | wontfix |
firefox58 | + | verified |
firefox59 | --- | verified |
People
(Reporter: ahal, Assigned: ttaubert)
References
(Depends on 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
45 bytes,
text/x-phabricator-request
|
mconley
:
review+
gchang
:
approval-mozilla-beta+
|
Details | Review |
https://i.imgur.com/QCI1EIt.png
Restarting the browser fixed the issue. Note the overlapping tabs on the left and the gap on the right (presumably the same width as the overlapped portion). The close button on that newtab page is also un-clickable (though ctrl-w works). Otherwise switching, closing and other tab operations seem to work normally.
Wish I could provide more details, but I can't reproduce and have no idea how I got into this state.
Reporter | ||
Comment 1•7 years ago
|
||
Forgot to mention, this was before updating to todays nightly and I have stylo enabled.
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Dao -- what do you want to do here? Is there something we can investigate (especially since there seem to be a few related bugs), or is this non-reproducible / inactionable?
Flags: needinfo?(dao+bmo)
Comment 4•7 years ago
|
||
I've never seen this myself and we have no steps to reproduce.
Flags: needinfo?(dao+bmo)
Reporter | ||
Comment 5•7 years ago
|
||
Fwiw, I haven't seen this since either.
Reporter | ||
Comment 6•7 years ago
|
||
I hit this again. It happened when tabs overflowed the tab bar, and persisted even after closing + re-opening them. Restarting Firefox fixed the issue again.
Reporter | ||
Comment 7•7 years ago
|
||
Oh yeah, and any tabs after the overlapping tabs can't be closed by clicking the 'x'. My theory is that Firefox still thinks they are in their normal positions but they just aren't being drawn properly.
Updated•7 years ago
|
Keywords: regressionwindow-wanted
Priority: -- → P2
Comment 10•7 years ago
|
||
As per bug 1406370, I've seen this occasionally. I've also seen slightly more recently that the chrome UI part of FF seems to lock up completely and won't re-render. Restarting fixes it.
There's nothing mentioned on the browser console either.
Updated•7 years ago
|
status-firefox58:
--- → affected
Keywords: regression
Comment 11•7 years ago
|
||
Looking through all the dupes/see alsos, seems like this bug is tricky to reliably hit. :|
Comment 12•7 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #7)
> Oh yeah, and any tabs after the overlapping tabs can't be closed by clicking
> the 'x'. My theory is that Firefox still thinks they are in their normal
> positions but they just aren't being drawn properly.
When I hit this, the X doesn't work for the current active tab (even if I switch to one that isn't moved around). The X *does* work for closing background tab, even if they are shifted around in the wrong position.
Comment 13•7 years ago
|
||
Report from the support site:
https://support.mozilla.org/en-US/questions/1184823
Reporter | ||
Updated•7 years ago
|
status-firefox57:
--- → affected
Comment 14•7 years ago
|
||
Another observation I had was that the mouse-over effect wasn't working for the current tab. I believe the rendering is fine and the js/xbl for the tabbar is wrong. It seems like close state was was toggled due to some animation/drag/overflow and we lost an event and never undid the state.
Unfortunately the browser debugger refused to start so I could not look at any data.
Comment 15•7 years ago
|
||
My wife has hit this (on macOS) a couple of times since upgrading.
I got a Browser Toolbox Inspector screenshot of it at https://www.dropbox.com/s/mlrxyvb9y9wp931/TabOddities.png?dl=0 which might be of some help? (At least it tells us that the first non-pinned tab has a wildly incorrect `translate: transformX` value.)
If there are other things you'd like me to poke into the next time it happens, I'm more than happy to help.
Assignee | ||
Comment 16•7 years ago
|
||
I'm currently able to reliably reproduce this. I need a certain number of tabs, open a new one and drag&drop it quickly to the very right, before it's loaded. In the console I see this:
ASSERT: Giving up waiting for the tab closing animation to finish (bug 608589)
NS_ASSERT resource://gre/modules/debug.js:53:3
removeTab/< chrome://browser/content/tabbrowser.xml:3157:17
Assignee | ||
Comment 17•7 years ago
|
||
After dropping the tab, it's still "floating", the tabbar still has [movingtab=true]. I assume that somehow _finishAnimateTabMove() isn't called when it should be.
Assignee | ||
Comment 18•7 years ago
|
||
Removing the "floating" tab is what breaks the UI then, not surprisingly.
I can see that <handler event="drop"> is called and we enter the following branch:
https://searchfox.org/mozilla-central/rev/c633ffa4c4611f202ca11270dcddb7b29edddff8/browser/base/content/tabbrowser.xml#7601
That transition probably doesn't end. I'll check the translateX values to see what's up here.
Assignee | ||
Comment 19•7 years ago
|
||
oldTranslateX=1259.1000061035156 and newTranslateX=1259.0999450683594. I'm not sure what the rules around sub-pixel transforms are... but it seems like in this case that's too close together and we just do nothing.
Assignee | ||
Comment 20•7 years ago
|
||
Submitted a patch that fixes the issue for me. I found only mconley on Phabricator, but I'll take reviews from any other browser peer ;)
https://phabricator.services.mozilla.com/D265
Comment 21•7 years ago
|
||
Pushed by ttaubert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9227aaffbe7
Fix tab drag&drop not finishing due to CSS transform not kicking in r=mconley
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Comment 22•7 years ago
|
||
Thanks Tim.
We'll want to uplift this to Beta.
Updated•7 years ago
|
tracking-firefox58:
--- → ?
Updated•7 years ago
|
status-firefox59:
--- → affected
Comment 23•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Flags: qe-verify+
Comment 24•7 years ago
|
||
Comment on attachment 8930159 [details]
Bug 1396833 - Fix tab drag&drop not finishing due to CSS transform not kicking in
Approval Request Comment
[Feature/Bug causing the regression]: bug 1355507
[User impact if declined]: see comment 0
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: not yet
[Needs manual test from QE? If yes, steps to reproduce]: see comment 16, although this probably isn't reproducible everywhere. Might be DPI dependent.
[List of other uplifts needed for the feature/fix]: /
[Is the change risky?]: no
[Why is the change risky/not risky?]: trivial fix
[String changes made/needed]: /
Attachment #8930159 -
Flags: approval-mozilla-beta?
Comment 25•7 years ago
|
||
Comment on attachment 8930159 [details]
Bug 1396833 - Fix tab drag&drop not finishing due to CSS transform not kicking in
Fix an overlapped tabs issue. Beta58+.
Attachment #8930159 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 26•7 years ago
|
||
bugherder uplift |
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
Comment 28•7 years ago
|
||
This is VERIFIED FIXED in 58 beta 12 and the latest Nightly. Can not reproduce anymore. Marking it as fixed.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Comment 29•7 years ago
|
||
Comment on attachment 8930159 [details]
Bug 1396833 - Fix tab drag&drop not finishing due to CSS transform not kicking in
Mike Conley (:mconley) (:⚙️) - Backlogged on reviews and needinfos has approved the revision.
https://phabricator.services.mozilla.com/D265#6517
Attachment #8930159 -
Flags: review+
Updated•6 years ago
|
Updated•3 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•