Closed
Bug 1025033
Opened 10 years ago
Closed 10 years ago
Dark theme scrollbars have white background on OSX with external mouse
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
Tracking | Status | |
---|---|---|
firefox30 | --- | unaffected |
firefox31 | --- | unaffected |
firefox32 | + | fixed |
firefox33 | --- | fixed |
People
(Reporter: miker, Assigned: mstange)
References
Details
Attachments
(5 files)
126.53 KB,
image/png
|
Details | |
137.18 KB,
image/png
|
Details | |
222.86 KB,
image/png
|
Details | |
23.82 KB,
image/png
|
Details | |
1.05 KB,
patch
|
paul
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
When using the dark theme the scrollbars are now from deep in the land of ugly on Nightly https://hg.mozilla.org/integration/fx-team/rev/d3d04ca08d9c (see Nightly attachment). In Aurora https://hg.mozilla.org/releases/mozilla-aurora/rev/2c3bd98786d7 they looked beautifully crafted, smooth and sexy (see Aurora attachment).
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
A quick note that this only happens when "Show scroll bars" is set to anything other than "When scrolling."
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #2) > Created attachment 8439929 [details] > Scrollbar behaviour.PNG > > A quick note that this only happens when "Show scroll bars" is set to > anything other than "When scrolling." Actually, only when set to Always.
Comment 4•10 years ago
|
||
This seems to be reproducible only when a mouse is plugged in
Summary: Dark theme scrollbars ugly on OSX → Dark theme scrollbars have white background on OSX with external mouse
Comment 5•10 years ago
|
||
Was there a recent change in the way "Show scroll bars: Always" is interpreted by Gecko?
Flags: needinfo?(spohl.mozilla.bugs)
Flags: needinfo?(smichaud)
Comment 6•10 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #4) > This seems to be reproducible only when a mouse is plugged in And only with Mike's Logitech mouse. With Patrick's Apple mouse it works as before.
Comment 7•10 years ago
|
||
Stephen Pohl is away on vacation, and I don't know much about this code. Since you can reproduce this problem, please find the regression range in mozilla-central nightlies. That will likely shed more light on it.
Flags: needinfo?(smichaud)
Reporter | ||
Comment 8•10 years ago
|
||
(In reply to Steven Michaud from comment #7) > Stephen Pohl is away on vacation, and I don't know much about this code. > > Since you can reproduce this problem, please find the regression range in > mozilla-central nightlies. That will likely shed more light on it. Will do... from the regression range it seems like we landed a bunch of devtools UI changes at the same time that a bunch of scrollbar drawing changes were made on the platform side so we need to narrow to the actual changeset. Still working on that.
Assignee: nobody → mratcliffe
Reporter | ||
Comment 9•10 years ago
|
||
Paul, I vaguely remember that you used some hack to get the floating scrollbars working, do you remember what we did?
Flags: needinfo?(paul)
Comment 10•10 years ago
|
||
Might be related to the recent APZC work... not sure (bug 944938 and/or bug 814435). What happens with the white theme?
Flags: needinfo?(paul)
Reporter | ||
Comment 11•10 years ago
|
||
White theme looks fine. I am quickly narrowing it down to the APZC work but we both landed our changes really close together. Let's see what mozregression tells us.
Reporter | ||
Comment 12•10 years ago
|
||
Bug 1016569 broke the dark theme scrollbars in our devtools: https://hg.mozilla.org/integration/mozilla-inbound/rev/81a4f16df918 Looking for a workaround.
Comment 13•10 years ago
|
||
Forwarding n-i request to mstange.
Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(mstange)
Assignee | ||
Comment 14•10 years ago
|
||
Looking.
Assignee: mratcliffe → mstange
Blocks: 1016569
Component: Developer Tools: Framework → Widget: Cocoa
Flags: needinfo?(mstange)
Product: Firefox → Core
Reporter | ||
Comment 15•10 years ago
|
||
Comment 17•10 years ago
|
||
Hi, Mike I'm experiencing the same problem, as I duplicated in bug 1029103. I don't have an external mouse, but my OSX has been set to "Always" show the scrollbars. Unfortunately, there's not much more I can add to this discussion.
Assignee | ||
Comment 18•10 years ago
|
||
The white is coming from the <slider> inside the scrollbar. Before bug 1016569 we were rendering the white scrollbar track background as part of the <scrollbar>'s -moz-appearance, and now it's part of the <slider>'s -moz-appearance. Devtools floating scrollbars set the scrollbar's -moz-appearance to none but leave the slider's. Setting the slider's -moz-appearance to none as well gets rid of the white parts. However, it also removes the slider's minimum size, so with only that change the slider would collapse and the scrollbar thumb wouldn't be visible. So I'm also removing the -moz-box-align property on the scrollbar so that it goes back to "stretch", which gives the slider and thumb elements the right size. I don't know why the -moz-box-align override was added originally, but I haven't noticed any problems with it removed.
Attachment #8446506 -
Flags: review?(paul)
Updated•10 years ago
|
Attachment #8446506 -
Flags: review?(paul) → review+
Assignee | ||
Updated•10 years ago
|
status-firefox30:
--- → unaffected
status-firefox31:
--- → unaffected
status-firefox32:
--- → affected
status-firefox33:
--- → affected
tracking-firefox32:
--- → ?
Assignee | ||
Comment 19•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/b4fcdf70278f
Comment 20•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b4fcdf70278f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Comment 21•10 years ago
|
||
This looks like a simple fix. Can you nom for Aurora so that we can uplift?
Assignee | ||
Comment 22•10 years ago
|
||
Comment on attachment 8446506 [details] [diff] [review] v1 Approval Request Comment [Feature/regressing bug #]: regression from bug 1016569 [User impact if declined]: ugly devtools scrollbars on Mac [Describe test coverage new/current, TBPL]: none [Risks and why]: low risk, simple CSS change [String/UUID change made/needed]: none
Attachment #8446506 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(mstange)
Comment 23•10 years ago
|
||
Comment on attachment 8446506 [details] [diff] [review] v1 Aurora+
Attachment #8446506 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•