Bug 355282 - Tray Menu can not have Sub Menus
Summary: Tray Menu can not have Sub Menus
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.4.2
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 10:49 UTC by Klaas Freitag
Modified: 2019-10-18 06:40 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Freitag 2015-11-13 10:49:33 UTC
If  a Qt5 based application (such as ownCloud client) has an tray menu which has menu entries that open another sub menu, the sub menu is not opening. When clicking on the menu item that should open the sub menu, the "main" tray menu disappears.

This works with other window managers.
Comment 1 David Edmundson 2015-11-13 10:52:12 UTC
I have owncloud, it doesn't have any subentries? 
Could you give me a screenshot or tell me how to set it so that I see a sub entry?
Comment 2 Klaas Freitag 2015-11-13 10:55:07 UTC
Thanks for checking! 

Yes, the sub menus only appear if you have two accounts on two ownCloud servers configured in your ownCloud Client. Just go to Settings Dialog, General tab, there you find an "Add Account" button.
Comment 3 Klaas Freitag 2015-11-13 10:57:02 UTC
Hope my last comment provides the info needed.
Comment 4 David Edmundson 2015-11-13 11:33:26 UTC
Thanks. That's everything I needed.

Using our QPT it's broken
If I unset the KDE env vars, it falls back to an X tray and that works beautifully

Need to try Qt's new SNI code to see if that works.
Comment 5 David Edmundson 2016-08-27 20:00:23 UTC
>Need to try Qt's new SNI code to see if that works. 

It does.

Our best chance of fixing this is to port to that.
Comment 6 Konrad Materka 2019-10-16 14:32:27 UTC
I cannot reproduce that. I tested with ownCloud with two account, I also create small Qt app to test submenus - it worked fine in both cases.

QPA (plasma-integration) was used, after running:
unset XDG_CURRENT_DESKTOP
unset KDE_FULL_SESSION
icon was different, but worked in exactly the same way.
Comment 7 Klaas Freitag 2019-10-18 06:40:25 UTC
Got probably fixed somewhen during the last four years.. thanks for checking ;-)