kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Does not work global menu in KDE Plasma 5.12 #123

Closed foxlinux closed 6 years ago

foxlinux commented 6 years ago

Hello! I noticed that in the new version of cde 5.12, the global menu in your widget does not work. I really like this widget, but I would like the global menu to work.

trmdi commented 6 years ago

You need the latest version on cgit.kde.org. What distro do you use?

foxlinux commented 6 years ago

I use KDE NEON and AntergOS In kde I installed with git, and in the antergos with aur. Sorry for my English

kotelnik commented 6 years ago

To be sure. On Antergos you should use this AUR package, Is this the one you are using? https://aur.archlinux.org/packages/plasma5-applets-active-window-control-git/

On KDE Neon, you should use git version from this repository: https://anongit.kde.org/plasma-active-window-control

Is that what you are using and still get the issue although you are up to date?

foxlinux commented 6 years ago

In AntergOS, I'm using just this version screenshot_20180211_075923 In kde also just tried to establish what you wrote, but it's all useless. In the new version of KDE 5.12, removed the switch of the widget of the global menu, I think therefore it does not work. P.S At 5.11, everything works.

trmdi commented 6 years ago

@foxlinux

Try reinstalling the AUR version, it could get a newer version from git. You have to be sure that you're using the latest version 8e9fb9009224ce62fcc4ac55ee2d9817b14f851c

You can check it by the comand: $ pacman -Qi plasma5-applets-active-window-control-git

I'm using Plasma 5.12 on openSUSE Tumbleweed. It works perfectly.

foxlinux commented 6 years ago

In the antergos, it all worked after reinstalling the widget, and rebooting the system. Now I do not know how to properly remove and reinstall the widget in kde neon

trmdi commented 6 years ago

You can build the latest package from the git source: http://packaging.ubuntu.com/html/packaging-new-software.html#building-the-package

wintericie commented 6 years ago

I tried to build the latest git version (8557ce0976b22d9ec701c0e6d30686e12b696247 on https://phabricator.kde.org/source/plasma-active-window-control).

However, the global menu still does not work. I am using Plamsa 5.12.0 installed from kubuntu-backports repository on Kubuntu 17.10.

foxlinux commented 6 years ago

After reinstallation, and in kde neon earned. Thanks for the help.

wintericie commented 6 years ago

I still cannot open the global menu. I find that when I enable Appmenu in the settings, an error will be printed in .xsession-errors:

file:///usr/share/plasma/plasmoids/org.kde.activeWindowControl/contents/ui/AppMenu.qml:158: Error: Cannot assign QObject to AppMenuModel

trmdi commented 6 years ago

Can you post your About screen? (press Alt+F2 and type "about") @wintericie

kotelnik commented 6 years ago

Can you please also post more from the .xsession-errors log? Thanks!

wintericie commented 6 years ago

@trmdi spec

wintericie commented 6 years ago

I cut out the complete .xsession-errors from adding a new plasmoid into a panel to enabling appmenu. I also marked the positions when I added the new Active Window Control to the panel and enabled appmenu feature with two blocks. xsession-errors.txt