Bug 497000

Summary: First click on any System Tray applet after login/plasmashell restart fails to open the popup
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: materka
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2024-12-03 17:38:45 UTC
STEPS TO REPRODUCE
1. Restart plasmashell or the whole system
2. Click on any System Tray icon *except* the arrow to show hidden items

OBSERVED RESULT
The icon visually enters the pressed state for a moment, but the popup doesn't open. The second and all subsequent clicks work.

EXPECTED RESULT
The popup opens every time you click an icon, including the first time.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon™ 780M Graphics
Memory: 14.9 GB of RAM
Graphics Processor: AMD Radeon 780M
Comment 1 Niccolò Venerandi 2024-12-12 10:51:06 UTC
Git commit fb6084fc40e82e41ec73ffc4cb62d2aa3824daa2 by Niccolò Venerandi.
Committed on 12/12/2024 at 10:50.
Pushed by niccolove into branch 'master'.

System Tray: never activate applets only using a full representation

Otherwise, the applets will steal priority when they get automatically
expanded (since applets only using full representations will always
be set to expanded).

M  +6    -0    applets/systemtray/package/contents/ui/SystemTrayState.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/fb6084fc40e82e41ec73ffc4cb62d2aa3824daa2