Bug 440288

Summary: Rapidly clicking the icon for the plasmashell can trigger an invalid state where the launcher is not open but the icon is highlighted
Product: [Plasma] plasmashell Reporter: kingofgamesyami
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: kde, mikel5764, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:
Attachments: Screenshot of invalid state described in the OBSERVED RESULT

Description kingofgamesyami 2021-07-26 04:45:04 UTC
Created attachment 140336 [details]
Screenshot of invalid state described in the OBSERVED RESULT

SUMMARY
Rapidly clicking the menu icon to open the application launcher can result in an invalid state. This invalid state is one where the panel indicates the launcher is open, but no launcher is rendered. Clicking the panel in this state removes the indicator and does not open the launcher. Subsequent clicks will behave as expected.

STEPS TO REPRODUCE
1. Click rapidly on the plasma launcher icon
Note: This is not easy to reproduce. It took me nearly 10 minutes to replicate after I first saw this behavior, purely by accident. The highest chance of success seems to be rapidly clicking many times (think between 20 and 30 clicks), though the first time I (accidentally) triggered this I only clicked twice.

OBSERVED RESULT
The panel shows the application launcher open but it is not rendered

EXPECTED RESULT
One of the two normal states of open/close.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.22
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 3060 Ti
Graphics Driver Version: 470.57.02
Comment 1 kingofgamesyami 2021-07-28 01:33:36 UTC
Reproduced in 5.22.4
Comment 2 Nate Graham 2021-08-05 01:02:51 UTC
Fixed in the code rewrite in Plasma 5.23 already, thankfully.