Reply to topic

[Solved] Lost menu bar

vercruyce
Registered Member
Posts
4
Karma
0

[Solved] Lost menu bar

Mon Feb 12, 2018 8:20 pm
Lost a menu bar Master vercruyce has. How embarrassing.

--- Yoda, probably

All joking aside, I have lost the menu bar in Okular. I have no idea how long the menu bar has been gone, but only today I needed it and it was no longer there. I remember that Okular should look something like this picture in the user documentation: https://docs.kde.org/trunk5/en/kdegraph ... ction.html
At the top of the screen, there should be a menu bar with file, edit, view,... However, I'm missing this bar. It looks like this: https://i.imgur.com/OLUo11b.png

Online, I have found that ctrl + m is supposed to be the shortcut in KDE applications to hide/show the menu bar, but this does not work. I verified if this menu bar shortcut is still correctly set to the default in the system settings application. So my question obviously is: does someone know what happened to my menu bar, and more importantly, how can I get it back?

Update:

Not only Okular is affected, the menu bar in Dolphin has disappeared as well. It currently looks like this: https://i.imgur.com/puSRawv.png

Last edited by vercruyce on Tue Feb 13, 2018 6:07 pm, edited 1 time in total.
tosky
Registered Member
Posts
209
Karma
3

Re: Lost menu bar  Topic is solved

Mon Feb 12, 2018 10:29 pm
Did you used/enabled the global menu?

Anyway, check the content of ~/.config/okularrc and see if the [MainWindow] section contains a key like MenuBar=Disabled.
If yes, try to remove that line.


tosky, proud to be a member of KDE forums since 2008-Oct.
vercruyce
Registered Member
Posts
4
Karma
0

Re: Lost menu bar

Mon Feb 12, 2018 10:52 pm
Hey tosky

I have been investigating further in the meantime. I did come across your suggestion. However, I never used the global menu feature (I didn't even know it existed until this evening). The burger menu ("applications menu") is not added to the title bar in system settings > application style > window decorations > buttons, so to my understanding, this should mean that global menus are not enabled. The line is also not present in the .okularrc file.

I came across this bug report related to the recent changes to global menus: https://bugs.kde.org/show_bug.cgi?id=390177
Unlike some comments in the bug report, I have found no workaround yet to bring the menu bar back. So at the moment, I have enabled the global menus by adding the "application menu" to the title bar to have at least some way of accessing the menu.
vercruyce
Registered Member
Posts
4
Karma
0

Re: Lost menu bar

Tue Feb 13, 2018 6:06 pm
I have fixed the issue with the help of David Edmundson (see: https://bugs.kde.org/show_bug.cgi?id=390177)

In addition to removing the line as indicated by tosky, make sure that all the "global menu" widgets are gone from all panels, and the title bar does not contain an "application menu" button. In my case, I overlooked a global menu widget on a panel on my secondary monitor. Now I have my menu bars back.
davemeyer
Registered Member
Posts
3
Karma
0

Re: [Solved] Lost menu bar

Sat Sep 12, 2020 5:21 pm
Three things are required to get your menus back.
1. cd into your .config folder and execute : find ./ -type f -exec sed -i 's/MenuBar=Disabled/MenuBar=Enabled/g' {} \;
2. In KDE configurations > Window management > Menu tab > remove burger menu from title bar in both active and inactive
3. In KDE configurations > Startup > Services > disable the menu damon
Plus if you want your top menus in kate, hit ctrl+m twice.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], mercurial, Sogou [Bot], Stephen Leibowitz, Yahoo [Bot]