Bug 378318 - Cannot activate Global Menu.
Summary: Cannot activate Global Menu.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu (show other bugs)
Version: 5.9.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-31 13:43 UTC by R.T. Sun
Modified: 2018-01-29 12:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Affected home directory (521.70 KB, application/octet-stream)
2017-04-01 01:07 UTC, R.T. Sun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R.T. Sun 2017-03-31 13:43:15 UTC
Hi, KDE devs,

I have 2 computers with both KDE 5.9.4 installed.
Both of them can produce this issue. So I think I have to file this bug.
(Although 1 of them behave correctly with first few session, but problem happens later.)

Step to reproduce:
1. Add an "Application Menu Bar" to current desktop.
2. Go to "System Settings" -> "Application Style" -> "Widget Style" -> "Fine Tuning"
3. Set Menubar style to "Application menu widget."

Expected result:
Menu shows up in Global Menu widget.

Actual result:
The menu persists in their own windows.


I couldn't help but to think this is related to configuration, which can be always produced by me somehow.

But unfortunately, I can't narrow them down.
Are there any configuration files I should provide you for reference?
Comment 1 Kai Uwe Broulik 2017-03-31 13:51:36 UTC
What Qt version do you have installed? It requires at least Qt 5.7 (preferably 5.7.1.).

Can you check whether the application menu service is enabled (System Settings → Startup and Shutdown → Background services, in the bottom list "App menu service")

With what applications does it not work or is it all of them?
Comment 2 R.T. Sun 2017-03-31 13:57:19 UTC
Hi, 
Thanks for quick reply!

both machine have QT 5.7.1 installed, with part of qt 4.8.7 along side.

If you meant "Application menus daemon," yes, they are both enabled on 2 machines.

All of KDE5 apps so far are not working, including Gwenview, Konsole, Dolphin.
Comment 3 Kai Uwe Broulik 2017-03-31 14:10:03 UTC
Interesting. Can you check if your ~/.config/kdeglobals includes the following entry:
[Appmenu Style]
Style=Widget

Is the global menu widget placed on the desktop or in a panel?

Also, please check with qdbusviewer if there is a org.kde.kappmenu and a com.canonical.AppMenu.Registrar service registered on the session bus.

Is your plasma-integration package up to date (probably also 5.9.4 I guess) and is it loaded (e.g. do you get Breeze style in applications and the KDE "file open" dialog rather than a ugly Qt fallback)?

If all of this is true, then I'm frankly quite out of ideas why it doesn't work for you :/
Comment 4 R.T. Sun 2017-03-31 14:39:37 UTC
Hi, 

Thank you again,

The file from both machines do include the snippet.

After installing qdbusviewer, I have discovered both com.canonical.AppMenu.Registrar & org.kde.kappmenu normally.

The plasma-integration version, according to portage record, is also at 5.9.4.

Gwenview's file-open can show me a file open dialog with dolphin-like sidebar. So I guess it's the KDE's file-open dialog.

I have a very small home environment right now on 1 of the machine.

Do you think it can help by providing the whole home directory?
Comment 5 R.T. Sun 2017-04-01 01:07:10 UTC
Created attachment 104836 [details]
Affected home directory

This is the minimal home directory which reproduce this bug for me.

Hope it can help in any manner.
Comment 6 Kai Uwe Broulik 2017-04-01 14:59:12 UTC
Thanks a lot. At a glance I can't find anything unusual in your home directory. I'll need to try using that as home when I find time to do so.
Comment 7 R.T. Sun 2017-04-02 09:30:34 UTC
Hi, 

Thank you for reaching out.

Feel free to ask anything else if needed anytime.
Wish you good bug hunting.
Comment 8 R.T. Sun 2017-04-10 01:51:43 UTC
Hi, sir

I can actually provide a account which reproduce this issue for you to do remote login.
If you need me to setup remote login tools like teamviewer or anything, please do not hesitate to contact me.

I really wish I can do something more to help resolve this issue.
Comment 9 Tamás Gere 2017-06-17 00:47:38 UTC
Hi!

I have exactly same problem with Neon. It worked until I upgraded to 5.9 and still not work on 5.10.
-
The funny is that non-plasma5 apps shows their menu up, like chromium for example.

If I switch "Menubar style" to "In application", the GlobalMenu widget see it and  shows exclamation mark. If I switch back to "Application Menu Widget", it removes the warning, but menu still not work for plasma5 apps.

I tried create new, blank user account, but does not work too.
Comment 10 R.T. Sun 2017-06-19 03:13:18 UTC
(In reply to Tamás Gere from comment #9)
> Hi!
> 
> I have exactly same problem with Neon. It worked until I upgraded to 5.9 and
> still not work on 5.10.
> -
> The funny is that non-plasma5 apps shows their menu up, like chromium for
> example.
> 
> If I switch "Menubar style" to "In application", the GlobalMenu widget see
> it and  shows exclamation mark. If I switch back to "Application Menu
> Widget", it removes the warning, but menu still not work for plasma5 apps.
> 
> I tried create new, blank user account, but does not work too.

Hi, Tamás Gere 

Just being curious, do you have qt5ct installed?
Both of my 2 machines can behave normally after removing qt5ct.
But I can't explain why.
Comment 11 Tamás Gere 2017-06-27 18:16:27 UTC
(In reply to R.T. Sun from comment #10)
> (In reply to Tamás Gere from comment #9)
> 
> Hi, Tamás Gere 
> 
> Just being curious, do you have qt5ct installed?
> Both of my 2 machines can behave normally after removing qt5ct.
> But I can't explain why.

Hi!

Well, my problem suddenly solved after a bigger update (maybe with frameworks 5.35.0 or applications 17.04.2). Maybe this was an other bug's implication, or whatever.
I'm using qt5ct and still using it... so that wasn't in my case.
Comment 12 Alexander Mentyu 2018-01-29 12:58:43 UTC
Closing - as it's resolved after update