Bug 376517 - Problems with global menu
Summary: Problems with global menu
Status: RESOLVED DUPLICATE of bug 376476
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: 5.9.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 15:22 UTC by Francisco Cribari
Modified: 2017-02-16 09:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Cribari 2017-02-15 15:22:15 UTC
I run KDE Plasma 5.9.2 in Arch Linux. I have two problems with the recently introduced global menu. 

(1) I made the following change: 

System Settings-> Application Style ->  Widget Style and Behavior -> Menubar Style: Title bar button

After that wmail (https://aur.archlinux.org/packages/wmail-bin/ and https://thomas101.github.io/wmail/ - version 2.1.1) constantly used 100% of my CPU. See 

https://dl.dropboxusercontent.com/u/2171814/Screenshot_20170214_222025.png

I reported the issue here: 

https://github.com/Thomas101/wmail/issues/584

(2) After reverting back to "In application", Wmail no longer used 100% of my CPU. However, kate displayed no menus at all. I had to do a 

rm ~/.config/kate*

and restart kate to get the menus back. 

Obs. I use the Breeze theme and icons.
Comment 1 Francisco Cribari 2017-02-15 19:45:00 UTC
See also https://github.com/electron/electron/issues/8455
Comment 2 Nikita Skovoroda 2017-02-15 19:59:42 UTC
As I already mentioned in https://github.com/electron/electron/issues/8455, Kai Uwe Broulik told me that the issue is on the Electron side, and that it shouldn't emit LayoutUpdated signals when nothing was actually changed.

I don't feel entitled to close this issue, though, so lets wait for someone else to respond.
Comment 3 Francisco Cribari 2017-02-15 21:16:56 UTC
As for item 2), that also happened to okular. After reverting back to "In application", okular (just a kate) displayed no menus at all. I had to do a 

rm ~/.config/okul*

and restart okular to get the menus back.
Comment 4 Nikita Skovoroda 2017-02-15 22:43:02 UTC
Probably you should have filed two separate bugreports for two separate issues, not one for both of them.

For the item 1 — this is an Electron issue, and it has a workaround described in the linked Electron bugreport.

As for the item 2,
 * The bad behaviour is observed when: switch to «menu button in title bar», open kate, switch to «menu inside window», close kate, open kate — no menu.
 * The bad behaviour is not observed when: switch to «menu button in title bar», open kate,  close kate, switch to «menu inside window», open kate — the menu is present.

What plays an effect here is whether the app in question was opened when the setting did change to «menu inside window», the bug is reproducable only for those apps that were open at that moment — restarting them doesn't help, the menu is still hidden.

Workaround: press ctrl+m _two_ times to «hide» and show the menu.
Comment 5 Kai Uwe Broulik 2017-02-16 09:45:52 UTC
Marking as duplicate of the other electron bug. Please file each issue invididually. 

2.) should be fixed with Qt 5.7.1

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