[macOS] Scrollbar in panels is offset
Categories
(Firefox :: Menus, defect, P2)
Tracking
()
People
(Reporter: csasca, Assigned: mconley)
References
(Blocks 2 open bugs)
Details
(Keywords: regressionwindow-wanted, Whiteboard: [proton-door-hangers] [priority:2a])
Attachments
(4 files)
Affected versions
- Firefox 89.0a1
Affected platforms
- macOS 10.15.7
Steps to reproduce
- Launch Firefox
- Open a panel which has a scrollbar (ex. library)
Expected result
- The scrollbar is centered in its place
Actual result
- The scrollbar is a bit offset to the right
Regression range
- Will see for a regression
Additional notes
- The issue can be seen in the attachment
| Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
I think the offset here wouldn't be noticeable if the background of the scrollbar was the same as the surrounding content. Markus, do you know if there is anything we can do about the scrollbar background color here? Hopefully this is as simple as setting scrollbar-color, but I don't have an environment ready at hand to test.
Comment 2•4 years ago
|
||
Yes, scrollbar-color accepts two colors, a thumb color and a track color. Setting the track color to transparent fixes this.
For example, scrollbar-color: rgba(255,255,255,0.3) transparent on .panel-subview-body seems to work well.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Hello! I observed that this issue no longer can be seen if Firefox 90.0a1 (20210421212740) is restarted. However, if the scrollbar is hovered or dragged the background is again displayed but with a lighter color. I don't know if this is expected. Please see attached screen recording.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #3)
Hello! I observed that this issue no longer can be seen if Firefox 90.0a1 (20210421212740) is restarted. However, if the scrollbar is hovered or dragged the background is again displayed but with a lighter color. I don't know if this is expected. Please see attached screen recording.
I'm confused - what is your system "Show Scrollbars" pref set to? During the first part of the screen recording, it looks like it's set to "Always", because you can see the scrollbar track in the profile manager list. And then after the browser restart, it looks like it's set to "When scrolling", because the scrollbar in the panel now fades out. Did you maybe have it set to "Automatic" and used a different input device?
This bug only applies to "Always" visible scrollbars (also called "non-overlay" scrollbars or "classic" scrollbars).
Comment 5•4 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #4)
(In reply to Alexandru Trif, QA [:atrif] from comment #3)
Hello! I observed that this issue no longer can be seen if Firefox 90.0a1 (20210421212740) is restarted. However, if the scrollbar is hovered or dragged the background is again displayed but with a lighter color. I don't know if this is expected. Please see attached screen recording.
I'm confused - what is your system "Show Scrollbars" pref set to? During the first part of the screen recording, it looks like it's set to "Always", because you can see the scrollbar track in the profile manager list. And then after the browser restart, it looks like it's set to "When scrolling", because the scrollbar in the panel now fades out. Did you maybe have it set to "Automatic" and used a different input device?
This bug only applies to "Always" visible scrollbars (also called "non-overlay" scrollbars or "classic" scrollbars).
I was using the Automatically based on mouse or trackpad option but I didn't change the input device. I was using the same mouse USB connected since it's a mac M1 mini arm based. I don't know the expected behavior for this. Also if "Always" is used the bug is reproducible every time and no longer "fixes" the issue after restart. If more information is needed please let me know. Thank you!
Comment 6•4 years ago
|
||
Thanks. I'm not sure why "Automatically" gives inconsistent behavior. Anyway, the fix for this bug will work independently of that - it'll work whenever non-overlay scrollbars are used.
| Assignee | ||
Comment 7•4 years ago
|
||
I can reproduce this if using the OS's dark mode on macOS.
| Assignee | ||
Comment 8•4 years ago
|
||
Using color-mix, I'm able to make this look pretty close for dark, light and custom themes.
Note that the custom colouring goes away if the user hovers the scrollbar track with their
cursor. I don't think there's anything I can currently do about that.
Comment 10•4 years ago
|
||
| bugherder | ||
Comment 11•4 years ago
|
||
The patch landed in nightly and beta is affected.
:mconley, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 12•4 years ago
|
||
ni'ing Shilpa to see if this is a bug we want to consider uplifting to 89.
Updated•4 years ago
|
Updated•4 years ago
|
| Reporter | ||
Comment 13•4 years ago
|
||
This issue is fixed on Firefox 90.0b4 and Firefox 91.0a1 (2021-06-06) under macOS 10.15.7.
Description
•