Dragged tabs are no longer opaque when Dark theme is enabled
Categories
(Firefox :: Theme, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox131 | --- | unaffected |
firefox132 | --- | verified |
firefox133 | --- | verified |
People
(Reporter: gregp, Assigned: Gijs)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fidefe-sidebar])
Attachments
(4 files)
Steps to reproduce:
- Navigate to about:addons → Themes
- Enable Dark theme
- Open a new tab
- Start dragging a tab horizontally
Actual results:
The favicons and titles of other tabs are visible behind the tab being dragged
Expected results:
The dragged tab is opaque
Assignee | ||
Comment 1•5 months ago
|
||
I suppose this is a consequence of using semi-transparent background colours for the selected state.
Can we define a separate colour for the dragged state (e.g. by using a separate thing for the mousedown state), or does this mean we should go back to using an opaque colour here?
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Comment 2•5 months ago
|
||
(In reply to :Gijs (he/him) from comment #1)
I suppose this is a consequence of using semi-transparent background colours for the selected state.
Can we define a separate colour for the dragged state (e.g. by using a separate thing for the mousedown state), or does this mean we should go back to using an opaque colour here?
We could, but we probably don't want to extend the webextension theme API just for this; feels a bit too granular and this is supposed to be a simple API. A share of third-party themes likely had this issue for a long time, which in practice I suspect isn't too bad. In fact, from what I recall native drag feedback images are partly transparent on both Linux and Windows, so I guess this could be seen as a feature?! Though I agree this is nicer without or less transparency.
So how do we address this? I think we should mitigate and tweak the select tab background color again to have less transparency, i.e. see if we can get lower rgb component values and an alpha channel of, say, 0.7 or higher.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 3•5 months ago
|
||
Assignee | ||
Updated•5 months ago
|
Comment 5•5 months ago
|
||
bugherder |
Assignee | ||
Comment 6•5 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D225184
Updated•5 months ago
|
Comment 7•5 months ago
|
||
beta Uplift Approval Request
- User impact if declined: Confusing tab drag experience
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: Low
- Explanation of risk level: CSS only fix
- String changes made/needed: No
- Is Android affected?: no
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Updated•4 months ago
|
Comment 9•4 months ago
|
||
I was able to reproduce the issue on Firefox 132.0b7, using Windows 11, while following the steps described in Comment 0.
Verified this on Firefox 132.0b8 and Firefox Nightly 133.0a1 (2024-10-17), using Windows 11, macOS 14.7 and Ubuntu 22.04. A subtle improvement in transparency can be observed when dragging a tab and the dark theme is enabled - please see the attached screenshot.
@Gijs, can you please confirm if the level of transparency is the desired one? Thank you in advance!
Assignee | ||
Comment 10•4 months ago
|
||
(In reply to Bianca Hidecuti, Desktop Test Engineering [:bhidecuti] from comment #9)
Created attachment 9431830 [details]
Level of transparency before (left) and after the fix (right)I was able to reproduce the issue on Firefox 132.0b7, using Windows 11, while following the steps described in Comment 0.
Verified this on Firefox 132.0b8 and Firefox Nightly 133.0a1 (2024-10-17), using Windows 11, macOS 14.7 and Ubuntu 22.04. A subtle improvement in transparency can be observed when dragging a tab and the dark theme is enabled - please see the attached screenshot.
@Gijs, can you please confirm if the level of transparency is the desired one? Thank you in advance!
Yeah, I think we're more or less happy with this - it's not really straightforward to make them fully opaque, but for now this seems a reasonable compromise.
Comment 11•4 months ago
|
||
Thank you for the confirmation!
Based on Comment 9 and 10 I am marking this verified as fixed.
Description
•