Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get global menu on Plasma 5.12 #137

Open
fliperama00 opened this issue Apr 17, 2018 · 34 comments
Open

Can't get global menu on Plasma 5.12 #137

fliperama00 opened this issue Apr 17, 2018 · 34 comments

Comments

@fliperama00
Copy link

I tried every setting in the applet but can't handle the global menu to show up.

@krushndayshmookh
Copy link

me too. no global menu on plasma 5.12

@krushndayshmookh
Copy link

used latest git version too

@lugeha
Copy link

lugeha commented Apr 24, 2018

Same here, using latest source from phabricator. This is the error from .xsession errors when you try to enable it

qml: initializing appMenuModel...
qml: appMenuModel failed to initialize: Error: Qt.createQmlObject(): failed to create object:
file:///usr/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/inline:1:89: module "org.kde.private.activeWindowControl" is not installed
qml: initializing appmenu...DONE null

This is where it's failing,

import org.kde.private.activeWindowControl 1.0 as ActiveWindowControlPrivate;\

As I've never written a line of KDE/Qt5/Plasma, that's as far as I can go.

@kvnxiao
Copy link

kvnxiao commented May 23, 2018

I'm getting the same issue. On latest git version of Active Window Control from kde's cgit.

@kvnxiao
Copy link

kvnxiao commented May 29, 2018

An update: seems to not work with the default plasma panel bar. The global context menu does work with a Latte Dock panel however, which is what I switched to using.

@trmdi
Copy link

trmdi commented May 30, 2018

Do you use Plasma Wayland or X?

@kvnxiao
Copy link

kvnxiao commented May 30, 2018

@trmdi X

@ahmed-h-ayyad
Copy link

this should be mentioned in the description or FAQ!
screenshot_20180630_222335

@iwex
Copy link

iwex commented Sep 28, 2018

Any news regarding this issue?

@IgnusG
Copy link

IgnusG commented Sep 28, 2018

I think I just had to install it from the aur and then it worked - I think Arch's AUR repo pulls from master

@iwex
Copy link

iwex commented Sep 28, 2018

@IgnusG I've installed it directly from git - but with no success

@trmdi
Copy link

trmdi commented Sep 28, 2018

@iwex
What distro do you use?

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi manjaro 17.1

@trmdi
Copy link

trmdi commented Sep 28, 2018

@iwex
Can you try creating a new user, then add the widget from the AUR package? (Not the one from KDE store)

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi no changes

@trmdi
Copy link

trmdi commented Sep 28, 2018

@iwex
Can you run this command: plasmawindowed org.kde.activeWindowControl ?
Then right click on the window opened by that command > Configure > Application Menu > Enable
And see what it says in the terminal?
Remember to focus on Konsole before hovering the mouse over the Active Widget Control window.

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi hmm, very strange, but i have application menu in that opened window.
image

@trmdi
Copy link

trmdi commented Sep 28, 2018

@iwex
Did you enable the App menu for the widget on the Plasma panel?

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi yes :)

Also it works in Latte Dock, but not in default panel...

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi 9/28/18 12:32 PM plasmashell file:///usr/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/AppMenu.qml:161: Error: Cannot assign QObject* to AppMenuModel*
In journald

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi hmm, now works in panel...

@trmdi
Copy link

trmdi commented Sep 28, 2018

@iwex
Congrats! What did you do?

@iwex
Copy link

iwex commented Sep 28, 2018

@trmdi idk, i've compiled it from aur and then logged out. But it didn't help. After some time I rebooted my computer and now it works..

@trmdi
Copy link

trmdi commented Sep 28, 2018

Hmm.. sound like a cache issue. Anyone else should try removing all the caches if you still can't make it run. Good luck. :D

@lugeha
Copy link

lugeha commented Sep 28, 2018

It's started working for me too. I just rebuild the phabricator version (what Arch AUR uses).

I didn't do anything, code hasn't been updated. Perhaps there was an underlying issue with plasma.

@krushndayshmookh
Copy link

Hmm.. sound like a cache issue. Anyone else should try removing all the caches if you still can't make it run. Good luck. :D

please tell how to do that?

@iwex
Copy link

iwex commented Sep 28, 2018

@krushndayshmookh just install it from AUR, or if you don't have arch based distro - use https://phabricator.kde.org/source/plasma-active-window-control/ this repo (all instructions in INSTALL file)

@trmdi
Copy link

trmdi commented Sep 28, 2018

Hmm.. sound like a cache issue. Anyone else should try removing all the caches if you still can't make it run. Good luck. :D

please tell how to do that?

First, you have to be sure that you're using the latest version in the phabricator page.
Then, if it still doesn't work, try removing the widget on the panel, then removing all the cache in ~/.cache, then relogin and add it again and configure the widget to enable the App Menu.

@lugeha
Copy link

lugeha commented Oct 4, 2018

Fresh install, it's happening again.

qml: appMenuModel failed to initialize: Error: Qt.createQmlObject(): failed to create object:
file:///usr/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/inline:1:89: module "org.kde.private.activeWindowControl" is not installed

@matiux
Copy link

matiux commented Nov 15, 2018

I'm on Debian buster with kde 5.13.5, X and latte dock but global menu doesn't work
I have already try to clear ~/.cache folder but don't solve the problem.

I have try to install the widget from kde and also from https://phabricator.kde.org/source/plasma-active-window-control/repository/master/ but the result doen't change

screenshot_20181115_010547

screenshot_20181115_010838
screenshot_20181115_010928

@trmdi
Copy link

trmdi commented Nov 15, 2018

@matiux
You could use the stock Global menu in combination with psifidotos/applet-window-title and psifidotos/applet-window-buttons.
They're much better.

@matiux
Copy link

matiux commented Nov 15, 2018

@trmdi thanks. While the two widget that you're talking about I know them, where can I find the "stock global menu"?

UPDATE
Ok @trmdi , I have found the stock global menu in the default widgets list. Basically it works but the applications that I use more like PhpSttorm, Visual Studio Code, IntellijIdea ecc doesn't work. I have read about a project named Jayatana for this kind of programms. Do you know it?

@trmdi
Copy link

trmdi commented Nov 18, 2018

@matiux

psifidotos has forked Global menu widget, named applet-window-appmenu , you can try that and make a new issue in his Github repo if you want.

@jakiw
Copy link

jakiw commented Feb 16, 2019

I am also on Manjaro and installed the git version from the AUR. Neither the plasma dock nor the Latte dock show the application menu. Restarting also did not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants