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

[Linux] KDE's menubar button does not work #34510

Closed
andreyorst opened this issue Sep 16, 2017 · 9 comments
Closed

[Linux] KDE's menubar button does not work #34510

andreyorst opened this issue Sep 16, 2017 · 9 comments
Assignees
Milestone

Comments

@andreyorst
Copy link

@andreyorst andreyorst commented Sep 16, 2017

  • VSCode Version: 1.16.1
  • OS Version: Archlinux
  • Desktop Environment: KDE Plasma 5.10.5

Steps to Reproduce:

  1. In Plasma settings go Widget Style -> Fine tuning -> Menubar: Titlebar button :
    image
  2. Add this Application menu to window decoration: Widget Style -> Window decorations -> Buttons:
    image
  3. Open any KDE app, and see that menu is gone and new button appeared:
    image
  4. Open Visual Studio Code app, and check the menus:
    image

Reproduces without extensions: Yes

Expected behavior:

menubar should disappear, and button should work.

Actual behaior:

Menu is still there and button do nothing.

As electron supports KDE's global menus (or at least supported to draw them in previous versions) i'd expect them to work. But since fix of the electrons high CPU usage bug, menus are not working at all in VS Code.

@andreyorst andreyorst changed the title KDE's menubar button does not work [Linux] KDE's menubar button does not work Sep 16, 2017
@chrmarti chrmarti removed the new release label Sep 27, 2017
@Tyriar Tyriar added this to the Backlog milestone Sep 28, 2017
@bpasero bpasero added upstream and removed workbench labels Nov 12, 2017
@somniumAeternam

This comment has been minimized.

Copy link

@somniumAeternam somniumAeternam commented Dec 4, 2017

What is the status of this issue? I would like to use the global menu with Visual Studio Code. It is working with Atom Editor and the new Electron release.

@andreyorst

This comment has been minimized.

Copy link
Author

@andreyorst andreyorst commented Dec 4, 2017

@somniumAeternam strange, just installed atom (I'm on Arch Linux) and global menu didn't worked for me. What versions of atom and electrom did you use? Were you using a git build?
Checked electron itself. Same story with electron version 1.6.15
electron/electron#10532

@somniumAeternam

This comment has been minimized.

Copy link

@somniumAeternam somniumAeternam commented Dec 4, 2017

I use Atom Editor 1.22.1 x64 on openSUSE Tumbleweed with latest updates. It is also working with electron 1.7.9.

@andreyorst

This comment has been minimized.

Copy link
Author

@andreyorst andreyorst commented Jan 30, 2018

So the global menus work for some people. Not for me, but i think that maybe something missing in my particular system. Maybe some plasma packages are missing. I don't know.
image

@andreyorst

This comment has been minimized.

Copy link
Author

@andreyorst andreyorst commented Feb 12, 2018

With the lastest plasma update global menu started to work in electron and all electron based applications.

Update

Ok I've run into problem that global menus worked for me on my work PC which is running archlinux, but didn't worked on my home PC which runs archlinux as well. So I've dumped my installed packages from both PCs and used diff to find missing one. It seems that installing libdbusmenu-glib (@somniumAeternam please try to install/remove it and respond if possible) fixes lack of global menus in electron apps on KDE PLasma 5.12.0

If I won't run into any issue in near future i'll close this issue.

@worldofpeace

This comment has been minimized.

Copy link

@worldofpeace worldofpeace commented Feb 19, 2018

@andreyorst I can verify that installing libdbusmenu-glib on archlinux does solve this.

@andreyorst

This comment has been minimized.

Copy link
Author

@andreyorst andreyorst commented Feb 20, 2018

@worldofpeace awesome!

@kolya-ay

This comment has been minimized.

Copy link

@kolya-ay kolya-ay commented Feb 20, 2018

Can confirm that installing libdbusmenu-glib4 package on my Debian testing solves the issue for me. KDE Plamsa 5.10.5

@Tyriar

This comment has been minimized.

Copy link
Member

@Tyriar Tyriar commented Feb 20, 2018

Great that there's a workaround, it looks like an upstream issue

@Tyriar Tyriar closed this Feb 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.