Tabs sometimes jiggle the first time something is dragged over tab strip
Categories
(Firefox :: Tabbed Browser, defect, P2)
Tracking
()
People
(Reporter: ke5trel, Assigned: dao)
References
(Regression)
Details
(Keywords: regression, reproducible)
Attachments
(4 files)
STR:
- Create an additional new window.
- Drag tab from new window into original window's tab strip.
Tabs briefly move 11px to the right when cursor dragged over tab strip, making them appear to jiggle. It only happens the first time, if it doesn't happen, restart the browser and try again.
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5a18f5c929ab13bde25f7fff8ae72f87e8fa379c&tochange=8f15ea3b3223c91e84a671b7ad32916d62e1ca84
Regressed by Bug 1555060.
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
I can't reproduce this on osx with Firefox 69.0.1. Is this specific to Linux?
Updated•5 years ago
|
Comment 3•5 years ago
|
||
I can't reproduce on Linux neither with 72.0a1 or with 71.0b6. Maybe there is an additional factor (wayland, webrender…) or it was fixed since then. Marking as wontfix for 71 as this seems an hard to reproduce edge case.
I can reproduce it on Windows 10 but it is extremely rare and very subtle, however it might be more common on slower hardware. It is much easier to reproduce on Ubuntu 19.10 (X11, stock configuration, new profile, no Wayland or WebRender).
It is caused by the .tab-drop-indicator
being unhidden for a short time before having marginInlineStart
calculated and applied, corresponding to the width of the icon (-12px in my case with the new icon, old icon was -11px). You can reliably see the the drop indicator shifting the tabs by breakpointing the following line:
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Kestrel from comment #4)
It is caused by the
.tab-drop-indicator
being unhidden for a short time before havingmarginInlineStart
calculated and applied, corresponding to the width of the icon (-12px in my case with the new icon, old icon was -11px). You can reliably see the the drop indicator shifting the tabs by breakpointing the following line:
Good catch!
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Comment 9•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
I tried several times and I only managed to reproduce this one-time using Firefox 71.0a1 (20190927215713) on Windows 10x64. I did manage to reproduce it on a virtual machine with Ubuntu 19.04 installed several times using a new profile.
I also verified this with Firefox 74.0a1 (20200114214307) on Ubuntu 19.04, Windows 10x64, macOS 10.15 and Ubuntu 18.04 and I can no longer reproduce the issue. I tried several times and the initial issue is not reproducible anymore on the above platforms.
Assignee | ||
Comment 11•5 years ago
|
||
Comment on attachment 9119340 [details]
Bug 1584498 - Set tab drop indicator width and negative margin in CSS instead of calculating them on the fly. r=harry
Beta/Release Uplift Approval Request
- User impact if declined: see comment 0
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: see comment 0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Straightforward fix, baked in Nightly for a week
- String changes made/needed:
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment on attachment 9119340 [details]
Bug 1584498 - Set tab drop indicator width and negative margin in CSS instead of calculating them on the fly. r=harry
Low-risk fix for a UI glitch. Approved for 73.0b6.
Comment 13•5 years ago
|
||
bugherder uplift |
Comment 14•5 years ago
|
||
Verified on 73.0b6 (20200116232741) on Windows 10x64, macOS 10.15, Ubuntu 18.04 and Ubuntu 19.
Updated•3 years ago
|
Description
•