Closed Bug 1707005 Opened 3 years ago Closed 1 year ago

Almost no contrast in Alpenglow findbar input

Categories

(Firefox :: Theme, defect, P3)

Desktop
All
defect
Points:
2

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox88 --- disabled
firefox89 --- wontfix
firefox90 --- wontfix
firefox114 --- fixed

People

(Reporter: bugzilla, Assigned: itiel_yn8)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-infobars])

Attachments

(16 files)

Attached image alpenglow-light.png

The unfocused findbar textbox has almost no contrast in both Alpenglow Dark and Alpenglow Light. Screenshots attached.

Attached image alpenglow-dark.png
Blocks: proton-infobars
No longer blocks: proton-foundations

Did this regress due to Proton? My understanding is that Alpenglow improvements weren't in scope for MR1

Flags: needinfo?(htwyford)
Priority: -- → P3
Attached image 88-alpenglow-light

Yes, it's a Proton regression. Here's the findbar on Release 88 Alpenglow Light.

Flags: needinfo?(htwyford)
Attached image 88-alpenglow-dark
Whiteboard: [proton-infobars]

I feel like mentioning that if we are to ignore the background color of the input box versus the background color of the Findbar (color contrast issue), a separator line is observed around the Input box and next/previous buttons in Dark Theme, but not in the Light or Alpenglow Themes.

Severity: -- → S3
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Trunk

Hi guys,

Please let me know what you think about this approach.
In the WIP patch I've made the find bar to look and feel the exact same as the toolbar, so this fixes the issue at hand almost for all themes (there are themes in which the urlbar has the same issue, so this is kinda the theme author's fault and thus not a part of this patch).
As for themes with lwtheme-image, I've made it so that the findbar will be sort of an "extension" of the toolbar/toolbox above, so only the bottom part of the image would be shown in there. See attached screenshots with several themes I've tested this with. Light and Dark themes are unaffected for the most part (hover states were changed to be like the toolbar's).
I've also made some general improvements to match the hover states, text-shadow, colors etc of the toolbox.
From my testings this works well on Light, Dark, themes, pure HCM and HCM with themes.

The patch was made specifically for Windows and so may not work well (at this time) on other platforms. I'd like to get your opinions on this before I proceed to made the needed adjustments and clean up the patch.

Thanks!

Attached image Patch with Light theme
Attached image Patch with Dark theme
Assignee: nobody → itiel_yn8
Attachment #9238042 - Attachment is patch: false
Attachment #9238042 - Attachment mime type: text/plain → image/png
Attachment #9238047 - Attachment is patch: false
Attachment #9238047 - Attachment mime type: text/plain → image/png
Flags: needinfo?(jaws)
Flags: needinfo?(htwyford)
Flags: needinfo?(emalysz)
Flags: needinfo?(dao+bmo)

I think that looks quite good! I'm curious what others think. If we can get a consensus among engineers that this is generally a good change, we can run it by UX.

Flags: needinfo?(htwyford)

Agreed, I think this looks better. Just a note we landed Bug 1724194 this week, so should apply the same rules to findbar-close-container as we do the findbar.

Flags: needinfo?(emalysz)

I applied the patch, looks good to me.

Flags: needinfo?(jaws)
Attachment #9238035 - Attachment description: Bug 1707005 - WIP - Improve themes support for the findbar → Bug 1707005 - Improve themes support for the findbar r?#desktop-theme-reviewers,jaws,emalysz
Status: NEW → ASSIGNED
Points: --- → 2
Attachment #9238035 - Attachment description: Bug 1707005 - Improve themes support for the findbar r?#desktop-theme-reviewers,jaws,emalysz → Bug 1707005 - Improve themes support for the findbar r?#desktop-theme-reviewers
See Also: → 1739416
Attachment #9238035 - Attachment description: Bug 1707005 - Improve themes support for the findbar r?#desktop-theme-reviewers → Bug 1707005 - Improve themes support for the findbar r?#desktop-theme-reviewers,sfoster

Reviewed by UX. Looks good.

Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8df08f0fe624
Improve themes support for the findbar r=desktop-theme-reviewers,sfoster
Pushed by itiel_yn8@walla.com:
https://hg.mozilla.org/integration/autoland/rev/a8e3de5ce02e
Improve themes support for the findbar r=desktop-theme-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Flags: needinfo?(itiel_yn8)
Flags: needinfo?(dao+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: