Skip to content

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

Closed

Description

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

Activity

  1. changed the title [-]KDE's menubar button does not work[/-] [+][Linux] KDE's menubar button does not work[/+] on Sep 16, 2017
  2. added
    bugIssue identified by VS Code Team member as probable bug
    help wantedIssues identified as good community contribution opportunities
    linuxIssues with VS Code on Linux
    electronIssues and items related to Electron
    on Sep 28, 2017
  3. added this to the Backlog milestone on Sep 28, 2017
  4. added
    upstreamIssue identified as 'upstream' component related (exists outside of VS Code)
    and removed on Nov 12, 2017
  5. somniumAeternam commented on Dec 4, 2017

    @somniumAeternam

    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.

  6. andreyorst commented on Dec 4, 2017

    @andreyorst
    Author

    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

  7. somniumAeternam commented on Dec 4, 2017

    @somniumAeternam

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

  8. andreyorst commented on Jan 30, 2018

    @andreyorst
    Author

    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

  9. andreyorst commented on Feb 12, 2018

    @andreyorst
    Author

    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.

  10. worldofpeace commented on Feb 19, 2018

    @worldofpeace

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

  11. andreyorst commented on Feb 20, 2018

    @andreyorst
    Author
  12. kolya-ay commented on Feb 20, 2018

    @kolya-ay

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

  13. Tyriar commented on Feb 20, 2018

    @Tyriar
    Contributor

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

  14. removed
    bugIssue identified by VS Code Team member as probable bug
    help wantedIssues identified as good community contribution opportunities
    on Feb 20, 2018
  15. locked and limited conversation to collaborators on Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

electronIssues and items related to ElectronlinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions