CSD do not distinguish focused and unfocused FF windows

Bug #1957944 reported by Kai Groner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Confirmed
Unknown
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

After the FF 96 upgrade I can't distinguish focused and unfocused FF windows from their client side decorations.

Previously the distinction was subtle, but not impossible.

The attached image shows two windows, the one on the left has focus. The only way you can tell this is that the scrollbar is faded in the unfocused window.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: firefox 96.0+build2-0ubuntu0.21.10.1
Uname: Linux 5.14.0-051400-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
BuildID: 20220106144528
CasperMD5CheckResult: unknown
Channel: Unavailable
CurrentDesktop: ubuntu:GNOME
Date: Fri Jan 14 13:15:27 2022
DefaultProfileExtensions: extensions.sqlite corrupt or missing
DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
DefaultProfileLocales: extensions.sqlite corrupt or missing
DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:365
DefaultProfilePrefSources: prefs.js
DefaultProfileThemes: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2019-06-18 (941 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
 TERM=tmux-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
Profile1Locales: extensions.sqlite corrupt or missing
Profile1PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:365
Profile1PrefSources: prefs.js
Profile1Themes: extensions.sqlite corrupt or missing
Profile2Extensions: extensions.sqlite corrupt or missing
Profile2IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
Profile2Locales: extensions.sqlite corrupt or missing
Profile2PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:365
Profile2PrefSources: prefs.js
Profile2Themes: extensions.sqlite corrupt or missing
Profiles:
 Profile1 - LastVersion=96.0/20220106144528 (In use)
 Profile0 (Default) - LastVersion=96.0/20220106144528 (In use)
 Profile2 - LastVersion=71.0/20191205203726 (Out of date)
RebootRequiredPkgs: Error: path contained symlinks.
RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: Upgraded to impish on 2021-10-31 (75 days ago)
dmi.bios.date: 11/27/2019
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P2.90
dmi.board.name: B450M Steel Legend
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.90:bd11/27/2019:br5.14:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:rvnASRock:rnB450MSteelLegend:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Kai Groner (kai-gronr) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

What is the value of your system theme reported in about:support ?

On my system where the value is "Yaru / Yaru", I can see a difference in the title bar color between focused and unfocused windows, so it's probably a theme-specific problem.

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
Kai Groner (kai-gronr) wrote :

At the moment it's "Yaru-dark / Yaru" and the issue remains.

I was using a third party theme when I first encountered this. I switched back to Yaru before filing this bug, but about:support was still showing the third party theme. After resetting the theme it's showing "Yaru-dark / Yaru".

I did some more testing with a separate login I use for steam and a new FF profile. It seems to only happen when a a FF colorways theme is used. If the default theme is used I am able to see a difference in the titlebar shade (it's too subtle IMO, but I can see it).

Revision history for this message
Olivier Tilloy (osomon) wrote :

Okay, that sounds like a problem that's specific to the use of Colorways (https://support.mozilla.org/en-US/kb/personalize-firefox-colorways).

Could you please file an upstream bug at https://bugzilla.mozilla.org/enter_bug.cgi, and share the link to it here?

Revision history for this message
In , Kai Groner (kai-gronr) wrote :

Created attachment 9264555
ff-csd-focus-bug.png

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

Using ubuntu (21.10, GNOME desktop, wayland)
Launch firefox
Enable a colorways theme
Open two windows

Actual results:

I am unable to distinguish if a window has focus by the title bar appearance.

Expected results:

I should be able to distinguish if a window has focus by the title bar appearance.

Revision history for this message
In , Kai Groner (kai-gronr) wrote :
Revision history for this message
Kai Groner (kai-gronr) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks Kai!

Changed in firefox (Ubuntu):
status: Incomplete → New
Changed in firefox:
status: Unknown → New
Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Revision history for this message
In , Alin-ilea-k (alin-ilea-k) wrote :

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Hi,

Reproduced the issue in release 97, beta 98 and latest nightly 99.0a1 (2022-02-22) using Ubuntu 20.

Thanks for the report.

Changed in firefox:
status: New → Confirmed
Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit [auto_nag documentation](https://wiki.mozilla.org/Release_Management/autonag#workflow.2Fno_severity.py).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.