plasma-applet-active-window-control icon indicating copy to clipboard operation
plasma-applet-active-window-control copied to clipboard

Can't get global menu on Plasma 5.12

Open fliperama00 opened this issue 7 years ago • 34 comments
trafficstars

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

fliperama00 avatar Apr 17 '18 15:04 fliperama00

me too. no global menu on plasma 5.12

krushndayshmookh avatar Apr 21 '18 08:04 krushndayshmookh

used latest git version too

krushndayshmookh avatar Apr 21 '18 15:04 krushndayshmookh

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, https://github.com/kotelnik/plasma-applet-active-window-control/blob/501bc3b87f1721ad947b40ae41277be9e7e5aa0e/package/contents/ui/AppMenu.qml#L130

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

lugeha avatar Apr 24 '18 14:04 lugeha

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

kvnxiao avatar May 23 '18 06:05 kvnxiao

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.

kvnxiao avatar May 29 '18 22:05 kvnxiao

Do you use Plasma Wayland or X?

trmdi avatar May 30 '18 02:05 trmdi

@trmdi X

kvnxiao avatar May 30 '18 08:05 kvnxiao

this should be mentioned in the description or FAQ! screenshot_20180630_222335

ahmed-h-ayyad avatar Jun 30 '18 20:06 ahmed-h-ayyad

Any news regarding this issue?

iwex avatar Sep 28 '18 08:09 iwex

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

IgnusG avatar Sep 28 '18 08:09 IgnusG

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

iwex avatar Sep 28 '18 08:09 iwex

@iwex What distro do you use?

trmdi avatar Sep 28 '18 08:09 trmdi

@trmdi manjaro 17.1

iwex avatar Sep 28 '18 08:09 iwex

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

trmdi avatar Sep 28 '18 08:09 trmdi

@trmdi no changes

iwex avatar Sep 28 '18 09:09 iwex

@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.

trmdi avatar Sep 28 '18 09:09 trmdi

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

iwex avatar Sep 28 '18 09:09 iwex

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

trmdi avatar Sep 28 '18 09:09 trmdi

@trmdi yes :)

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

iwex avatar Sep 28 '18 09:09 iwex

@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 avatar Sep 28 '18 09:09 iwex

@trmdi hmm, now works in panel...

iwex avatar Sep 28 '18 12:09 iwex

@iwex Congrats! What did you do?

trmdi avatar Sep 28 '18 12:09 trmdi

@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..

iwex avatar Sep 28 '18 12:09 iwex

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

trmdi avatar Sep 28 '18 12:09 trmdi

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.

lugeha avatar Sep 28 '18 14:09 lugeha

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?

krushndayshmookh avatar Sep 28 '18 15:09 krushndayshmookh

@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)

iwex avatar Sep 28 '18 15:09 iwex

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.

trmdi avatar Sep 28 '18 15:09 trmdi

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

lugeha avatar Oct 04 '18 14:10 lugeha

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

matiux avatar Nov 15 '18 00:11 matiux