Bug ID: 383202
Summary: System tray icon's context menu isn't updated properly
Platform: Gentoo Packages
Target Milestone: ---
Created attachment 107107
When context menu of QSystemTrayIcon is changed in plasma/x11, it behaves
If the structure of menu is same, the text of some nested menu items doesn't
correctly update, and if structure of menu changes, menu just shuffles somehow
all items, maybe even lose some items.
I'm attaching sources of test application.
If you change menu from "menu 1" to "menu 2" you can see the case when nested
menu items aren't updated, i.e. their text is not updated, but assigned actions
are changed correctly.
If you change menu from "menu 1" or "menu 2" to "menu 3" you can see the case
when menu items are placed incorrectly or even missing.
If you hide and show again system tray icon, regenerated menu shows correctly
(until you change menu selection).
Also, the bug doesn't show up when one of following conditions is true:
1) plasma/x11 isn't used (I used LXQt desktop with openbox to test this).
2) environment variable KSNI_NO_DBUSMENU is set.
Testing this application further, I've noticed that if you compile it against
Qt4 and if checkbox "Show system tray icon" is unchecked, tray icon doesn't
disappear, and when it's checked again, one more tray icon appears (with
separate menu). Setting 'KSNI_NO_DBUSMENU' doesn't help to fix this issue, but
it's not reproducible in LXQt.
You are receiving this mail because:
You are watching all bug changes.