It hard to distinguish which item is in focus on Library window
Categories
(Firefox :: Bookmarks & History, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | wontfix |
firefox-esr102 | --- | wontfix |
firefox89 | --- | unaffected |
firefox90 | --- | unaffected |
firefox91 | --- | wontfix |
firefox92 | --- | wontfix |
firefox93 | --- | wontfix |
firefox111 | --- | wontfix |
firefox112 | --- | wontfix |
firefox113 | --- | verified |
firefox114 | --- | verified |
People
(Reporter: alice0775, Assigned: imlata1111, Mentored)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: nightly-community, regression, ux-error-prevention, Whiteboard: [proton-foundations][lang=css])
Attachments
(3 files)
In new Library Window Theme, It hard to distinguish which item is in focus.
The left and right panes have the same selection background color, so it's impossible to tell which one will be deleted when the DEL key is pressed.
Steps To reproduce:
Open Library Window
Select an folder
Actual Results:
The left and right panes have the same selection background color!!
It hard to distinguish which item is in focus.
Expected Results:
Easily identify the element that currently has the focus.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f1b6f24bd6fa97140efe5cc0f1d252ca15adde00&tochange=c4dee83ede3f801ccba3cd53ccd104799b06c770
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
This seems like a valid point.
mak, what do you suggest to do here?
Comment 3•3 years ago
•
|
||
The dark theme color already had this issue, afaict, even before the fix for Bug 1705967. I agree it's confusing for the user, as it already was in Dark.
I can only think of 2 options:
- we eat the pill of using Primary, that unfortunately in the multi-selection case may cause a huge bright area in Dark theme (for example doing a select all will paint a huge bright cyan area in Dark).
- we use Secondary instead of Secondary Active in non-focused panes.
I think this is more a questions for theme peers, because the first choice would be more coherent theme-wise, but the second may be less annoying for users of the dark theme.
Trees are pretty much the only (or most common) multi-selection widgets and I think a decision was not made here yet.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•3 years ago
|
||
I prefer the solution of using Secondary instead of Secondary Active in non-focused panes. Using that much Primary would be an eyesore and might make the text in the tree harder to parse.
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
hello, I'm beginner so I would like to fix this as my first contribution, I had setup firefox environment pls guide me
Comment 8•3 years ago
•
|
||
If it's your absolute first contribution to Mozilla, I'd suggest to pick a bug with the good-first-bug
keyword from https://codetribute.mozilla.org/projects/ff those are easier and thus allow you to concentrate on ensuring your environment is ready for development.
Once that's done, you can move to more complex bugs like this one.
If you wish to continue anyway, please have a look at https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html that contains all the technical details to start.
If you have questions about this specific bug, just put down your question in a comment and set the Request Information from
option below to me.
Comment 9•3 years ago
|
||
Hey Mak, Ghazker - is the bug still available? Would love to take it for fixing if no one working on that!
Thanks, Jane
Comment 10•3 years ago
|
||
Yes, note this is a Windows-only bug.
Updated•3 years ago
|
Comment hidden (spam) |
Assignee | ||
Comment 12•1 year ago
|
||
Hii, I have solved a few good-first bug. I'm interested in solving this bug, Can you assign me?
Comment 13•1 year ago
|
||
Can i work on this bug
Comment 14•1 year ago
|
||
Bugs are automatically assigned when a patch is posted, if you have further questions please ask.
Assignee | ||
Comment 15•1 year ago
|
||
I'm working on it. Will submit a patch soon.
Assignee | ||
Comment 16•1 year ago
|
||
Hii! I have figured out that changing --default-focusring: var(--default-focusring-width) dotted; to --default-focusring: var(--default-focusring-width) solid; here https://searchfox.org/mozilla-central/source/toolkit/themes/shared/global-shared.css#16 can solve this problem as it become more visible then. Will that work? As this problem is only on Windows, will this change cause any problem for linux or mac? Am I thinking in the right direction? Please guide.
Comment 17•1 year ago
•
|
||
I don't think that'd be a good solution, you are changing the focusring to the whole product, but here the problem is not the focus ring not being visible enough, here the problem is that the selected element background color, is the same in both panes of the Library window.
Since the bug is limited to the Library window, you only want to modify the style for it.
The styles for the library are in organizer.css, in particular for Windows it's https://searchfox.org/mozilla-central/source/browser/themes/windows/places/organizer.css
you can see there's many variables there and likely the one we care about is --organizer-selected-background
There, we want to override the case where the view containing the selected row (tree, pane) is NOT focused, and in that case replace the color (this will require to use either an attribute or a focus selector).
I think a good color for Dark may be rgb(43, 42, 51) while for light rgb(249,249,251). We'll check if those colors make sense with the patch applied.
As I said earlier, this is not a trivial bug if you don't know css very well.
Assignee | ||
Comment 18•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 19•1 year ago
|
||
Hey! I have changed the selected element background color to rgb(43, 42, 51) (Although, this looks very dark now). Please review and if any change is required please suggest.
Assignee | ||
Comment 20•1 year ago
|
||
Hey! I have submitted a patch with further changes few days before. Please let me know if there is anything I am supposed to change. Thanks.
Comment 21•1 year ago
|
||
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/9361e4b16e0b Its hard to distinguish which item is in focus on Library window. r=mak,desktop-theme-reviewers,Itiel
Comment 22•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Reproducible on a 2023-03-29 Nightly build on Windows 10.
Verified as fixed on Firefox 113.0b6(build ID: 20230420180037) and Nightly 114.0a1(build ID: 20230420212414) on Windows 10 and Windows 11.
Updated•11 months ago
|
Description
•