Bug 511763 - Right click menu is not shown consistently
Summary: Right click menu is not shown consistently
Status: REPORTED
Alias: None
Product: frameworks-kstatusnotifieritem
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-07 11:14 UTC by Tasos Sahanidis
Modified: 2025-11-07 11:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tasos Sahanidis 2025-11-07 11:14:14 UTC
SUMMARY

When the last created window is hidden, right clicking on the KSNI under Sway with swaybar no longer shows a menu.

STEPS TO REPRODUCE

1. Run any application that uses KSNI (KAlarm in this example) inside Sway
2. Go to Settings -> Configure KAlarm -> View -> Show in system tray -> Always show
3. Restart KAlarm
4. Right click on the KSNI
5. Observe the menu being visible
6. Left click on the KSNI to hide the KAlarm main window
7. Right click on the KSNI again
8. Observe no menu showing up
9. Left click on the KSNI to show the main window
10. Right click on the KSNI again
11. Observe the menu being visible
12. Go to Help -> About KAlarm
13. Click on Close
14. Right click on the KSNI
15. Observe no menu showing up

OBSERVED RESULT

The menu does not show up consistently.

EXPECTED RESULT

The menu shows up consistently.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: N/A
KDE Plasma Version: N/A
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Sway version: 1.11

ADDITIONAL INFORMATION

The following is printed to the console when right clicking:

qt.qpa.wayland: Failed to create grabbing popup. Ensure popup  QWidgetWindow(0xsomeaddress, name="QMenuClassWindow") has a transientParent set and that parent window has received input.

I do not know when this issue started occurring or if it is a regression.