Bug 2011872

Summary: gnome-shell OSDs show invalid icons most of the time
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: adscvr, awilliam, fmuellner, gnome-sig, jadahl, otaylor, philip.wyett, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: RejectedBlocker AcceptedFreezeException
Fixed In Version: gnome-shell-41.0-3.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-11 22:28:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1891956    
Attachments:
Description Flags
wrong OSD popups showcase (video) none

Description Kamil Páral 2021-10-07 15:09:44 UTC
Created attachment 1830413 [details]
wrong OSD popups showcase (video)

Description of problem:
There's a bug in gnome-shell which makes its OSD popups show invalid icons. Basically each time some OSD popup is shown and disappears, its icon is "remembered" and used for all future OSDs. Unless you invoke multiple OSDs together (without waiting on the previous one to disappear) - then the icon gets updated properly (and again, remembered for all future OSDs). The outcome is that most of the time when using gnome-shell, you see a misleading/confusing icon when e.g. adjusting speaker volume, changing display brightness, changing keyboard brightness, muting the microphone, toggling wifi/bluetooth, etc. So for example, you'll see a "sun" icon (meaning brightness), with the title "speakers". Or a speaker icon with the title "microphone". It can get confusing at times to recognize whether I really performed the action I wanted.

I attached a short video to showcase this. Note that it's less obvious to show the wrong behavior when you just watch it and don't press they keys yourselves, but I tried.

An upstream report is here:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4568

and it has already been fixed:
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1983

This is filed for the purposes of a blocker discussion. Is this something we want to hold F35 release on? Or at least convince gnome-shell devs to include the fix on the final media, if possible?


Version-Release number of selected component (if applicable):
gnome-shell-41.0-1.fc35.x86_64

How reproducible:
always

Steps to Reproduce:
1. use multimedia keys (or bind some custom keybindings in the control center) to e.g. raise speaker volume, wait until the OSD popup is gone
2. use multimedia keys to perform a different action, e.g. mute microphone. You'll see the previous icon (a speaker), optionally with a proper name (microphone)
3. If you want to "update" the remembered icon, use two actions shortly after each other, the last one will update the remembered icon

Comment 1 Adam Williamson 2021-10-07 22:49:19 UTC
-4 blocker / +4 FE in https://pagure.io/fedora-qa/blocker-review/issue/523 , so marking rejected blocker, accepted FE.

Comment 2 Fedora Update System 2021-10-07 23:24:13 UTC
FEDORA-2021-376e25d8da has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-376e25d8da

Comment 3 Fedora Update System 2021-10-07 23:24:14 UTC
FEDORA-2021-376e25d8da has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-376e25d8da

Comment 4 Fedora Update System 2021-10-08 19:07:43 UTC
FEDORA-2021-376e25d8da has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-376e25d8da`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-376e25d8da

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Kamil Páral 2021-10-11 08:23:12 UTC
With gnome-shell-41.0-3.fc35.x86_64 I no longer see the problem, so this seems fixed, thanks.

Comment 6 Fedora Update System 2021-10-11 22:28:36 UTC
FEDORA-2021-376e25d8da has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.