Bug 443925 - xembedsni tray kicks off several right-click menus at once
Summary: xembedsni tray kicks off several right-click menus at once
Status: RESOLVED DUPLICATE of bug 444385
Alias: None
Product: plasmashell
Classification: Plasma
Component: XembedSNIProxy (show other bugs)
Version: 5.23.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 23:09 UTC by Michael
Modified: 2021-12-30 08:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23.3


Attachments
The effects of right clicking on the qbittorrent icon (42.46 KB, image/png)
2021-10-17 23:09 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2021-10-17 23:09:10 UTC
Created attachment 142550 [details]
The effects of right clicking on the qbittorrent icon

SUMMARY
As shown on the screenshot, two right-click menus get shown at once.


STEPS TO REPRODUCE
1. Get at least 2 apps with legacy tray icons. In this case I used qbittorrent and gxneur (gtk). 
2. Right click on one of the icons

OBSERVED RESULT
Two context menus shown.

EXPECTED RESULT
Only one context menu shown.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo linux
(available in About System)
KDE Plasma Version: 5.23
KDE Frameworks Version: 5.87
Qt Version: 5.15

ADDITIONAL INFORMATION

Additionally when that happens, keyboard input gets disabled, I had to ssh into that PC to capture a screenshot. And sometimes keyboard input just goes completely haywire, like someone is jumping on the keyboard pressing all the keys. I know it sounds a bit nutty, but believe me, it looks even crazier.
Comment 1 Michael 2021-10-17 23:22:58 UTC
In addition, there's been something going on here:
https://invent.kde.org/plasma/plasma-workspace/-/commit/448955e031e8ce86ab16f84899f91f0083cc7fa7
Comment 2 nyanpasu64 2021-10-18 02:25:03 UTC
In Bug 443149, I encountered an issue I think is the same as this bug:

...a flickering black square to appear above the menu (the icon's right-click menu appearing and disappearing rapidly), and/or causes the entire desktop to act as if the mouse was constantly spamming right-click inputs to the app under the cursor (menus appearing and disappearing, hundreds of Konsole "configure shortcut" dialogs opening). At this point, Xorg is burning 1 core of CPU, plasmashell is burning between 1 and 2 cores of CPU, and the apps you hovered might burn CPU as well.

Killing the app whose icon you right-clicked fixes the infinite right-clicks, but plasmashell keeps burning 2 CPU cores (though Xorg no longer burns CPU). Killing plasmashell fixes the CPU burning (but may not stop the app whose icon you right-clicked from burning CPU).
Comment 3 Konrad Materka 2021-12-29 22:47:49 UTC
Michael, do you still have this issue? Bug 444385 looks similar and it was fixed in 5.23.3.
Comment 4 Michael 2021-12-30 07:06:23 UTC
Seems like it's fixed for me.
Comment 5 Konrad Materka 2021-12-30 08:26:35 UTC

*** This bug has been marked as a duplicate of bug 444385 ***