@kde I’ve been using Global Menu for a while, but since it is less and less supported, I’ve finally removed the widget.

However, I did not get the local menu back! Now all my KDE apps have no menu at all.

I thought that restarting the session would fix it, but it did not help. Anybody has any hint on how to fix this?

  • @[email protected]
    link
    fedilink
    17 days ago

    Just for anyone who might be interested, to have normal menubar in LibreOffice one needs to search for background services in kickoff (or any alternative) and turn off Application menus daemon.

    I was going crazy without the menubar. I wish there was an easy way to choose how menubars are displayed in KDE Settings: turned off completely, classic (below titilebar of each window), global (available via global app menu widget or plasmoid), or in a titlebar button that looks like a hamburger button. Also an option to invoke / show the menu via a hotkey (like Alt, I think Firefox does this).

    Even better, have this per application or per window using window rules.

    Currently app menus are a mess, unfortunately.

    I might be wrong here, but looks like KDE devs think of app menus as something unused and outdated, something takes up screen space, and tries to find a workaround to save that space (global menus, titlebar app menu bar etc) but for some software (like LibreOffice) I think menubars are essential, and still want to have them permanently.

    • pretzel6666 🐙OP
      link
      fedilink
      27 days ago

      @D_Air1 It is not just gtk4 apps, of which I don’t use any, but also Firefox and Thunderbird and many others work but have glitches.

      • @[email protected]
        link
        fedilink
        37 days ago

        To my knowledge they still use gtk for their linux integration, but Mozilla seems to have to stopped them from exporting their menus by default. I remember when that happend some years ago. Technically, you can still patch them unless they decide to migrate to gtk4 for their linux integration in which case patching probably won’t help or be as easy. Anyways, it is a hassle either way. Funny enough, all chromium browsers and electron apps do export their menus though and thus still work. However, I will continue to use firefox.

        • pretzel6666 🐙OP
          link
          fedilink
          17 days ago

          @D_Air1 not all of them, Vivaldi does not. I think it is related to apps wanting to do fancy stuff with the menus, like having custom icons. Of course, both Firefox and Vivaldi have global menu on macosx, which is quite depressing.

          • @[email protected]
            link
            fedilink
            17 days ago

            You are right. I don’t use vivaldi, but gave it a try and sure enough it didn’t display. Well I would say most chromium browsers and electron apps do then.

  • Carl Schwan :kde:
    link
    fedilink
    57 days ago

    @pretzel6666 @kde it’s a classic issue which I thought was already fixed. Are you using plasma 5?

    In any case, check your config files and you should see a Menubar setting which need to be enabled again 😔

    • pretzel6666 🐙OP
      link
      fedilink
      1
      edit-2
      7 days ago

      @carl @kde no I’m on a recently updated kde neon. But my config files have been transferred from one install to the other for many years.

      What is maybe special, is that I remove two global menu widgets in one go, as I have two screens.

      Anyways, sounds like it is time for a big grep exploration!

      • pretzel6666 🐙OP
        link
        fedilink
        27 days ago

        @carl @kde Oh LOL, do I need to change all of them manually?

        [130|18:08|paulite23|.config]$ find . -type f -name \*rc -exec grep -i menubar --color \{\} /dev/null \;

        ./dolphinrc:MenuBar=Disabled
        ./dragonplayerrc:MenuBar=Disabled
        ./kaddressbookrc:MenuBar=Disabled
        ./kdenliverc:MenuBar=Disabled
        ./kfontviewrc:MenuBar=Disabled
        ./khelpcenterrc:MenuBar=Disabled
        ./kinfocenterrc:MenuBar=Disabled
        ./kmail2rc:MenuBar=Disabled
        ./kmail2rc:MenuBar=Disabled
        ./kmenueditrc:MenuBar=Disabled
        ./kminesrc:MenuBar=Disabled
        ./kolourpaintrc:MenuBar=Disabled
        ./kolourpaintrc:MenuBar=Disabled
        ./komparerc:MenuBar=Disabled
        ./konquerorrc:MenuBar=Disabled
        ./konsolerc:MenuBar=Disabled
        ./korganizerrc:MenuBar=Disabled
        ./krdcrc:MenuBar=Disabled
        ./kritarc:MenuBar=Disabled
        ./ktnefrc:MenuBar=Disabled
        ./ktorrentrc:MenuBar=Disabled
        ./ktorrentrc:menubar_hidden=true
        ./kwriterc:ShowMenuBar=true
        ./kwriterc:MenuBar=Disabled
        ./kilerc:MenuBar=Disabled
        ./arkrc:MenuBar=Disabled
        ./arkrc:MenuBar=Disabled
        ./systemsettingsrc:MenuBar=Disabled
        ./gwenviewrc:MenuBar=Disabled
        ./katerc:MenuBar=Disabled
        ./okularrc:shouldShowMenuBarComingFromFullScreen=false
        ./okularrc:MenuBar=Disabled

        • Carl Schwan :kde:
          link
          fedilink
          57 days ago

          @pretzel6666 @kde Just use sed ;)

          find ~/.config -iname ‘*rc’ -exec sed -i ‘/Menubar=/d’ {} \;

          This should work but you might want to execute the sed command on one file first before running it everywhere as I am on my phone and didn’t test it 😅