Bug 456530

Summary: When trying to open the "application launcher" or when trying to perform a right-click on the desktop, there is a 3 - 4 second delay before the menu shows up.
Product: plasmashell Reporter: Chris Saladin <kitjn11>
Component: generic-performanceAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version: 5.25.2   
Target Milestone: 1.0   
Platform: Archlinux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: In this clip you can see me right clicking and the menu doesn't open for a good 3 - 4 seconds after I click, and then after interacting with other applications it is reproducable again and again.

Description Chris Saladin 2022-07-09 19:55:38 UTC
Created attachment 150505 [details]
In this clip you can see me right clicking and the menu doesn't open for a good 3 - 4 seconds after I click, and then after interacting with other applications it is reproducable again and again.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Log into plasma_wayland_session
2. right click on the desktop
3. try opening an app then right clicking the desktop or opening the application launcher

OBSERVED RESULT

menus take 3 - 4 seconds to show up

EXPECTED RESULT

application menus should open immediately (and sometimes they do, it seems like randomly, this will start occurring in my wayland session and I have no way to fix it and have to revert back to an x session)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux - Base Arch installed from ISO running kernel 5.18.9
(available in About System)
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

I run Arch Linux - I installed it manually following the guide. When I run an Xorg session, I never see these kind of performance issues. 
- occasionally this will start happening when I run a Wayland session, but not always. Sometimes I boot into Wayland and it's completely fine and runs faster than X, but inevitably, after using it for a few hours, this bug starts occurring and even a restart does not fix it. 
Eventually the bug will disappear and then show up a few days later. 
- my system is completely up to date 
- I am running AMD drivers
- I tried using a login manager that runs on Wayland (gdm) and a login manager that runs on X (sddm)
- I have reinstalled all my AMD drivers
- Rebooted machine several times 
- Fully reinstalled Arch Linux, KDE plasma, and then the plasma-wayland-session package (plasma-wayland-session 5.25.2-1 is up to date -- reinstalling) 
See attached video of bug occurring.
Comment 1 Chris Saladin 2022-07-17 21:17:41 UTC
I've found a workaround for this.
While a restart of the PC doesn't fix it, running the command "plasmashell --replace" does.
Hope this helps to anyone who finds this bug / is experiencing the same issues I am.