Summary: | Some applications dont show menubar after disabling global menu again | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | info |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | aacid, epost.kde, linux, nate, plasma-bugs, tildearrow, vistausss |
Priority: | NOR | ||
Version: | 1.2.70 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
info
2017-10-19 15:13:23 UTC
What KDE Frameworks version is this? I recall there having been a fix for that but Okular might do something differently? Albert, any idea? Thanks for help. The kde frameworks version is 5.38.0. Actually I do not really understand, why every application seems to add a entry for "MenuBar=Disabled" into its own config file. Why do they not just ask the system (like a environment variable) if they should show the menu bar or not? Are there any further reasons for implementing this that way? Which okular version are you using? My okular version is 17.08.1 About okular, v17.04.3 should have this problem fixed with https://cgit.kde.org/okular.git/commit/?id=3b5f19fd9d67b49a7009b5810c5dd4ecb1a7cede unless Qt decided to change something and the global menubar doesn't return true on menuBar()->isNativeMenuBar() anymore, you should probably open a new bug for each of the apps, but it's not really very prioritary for me, but maybe someone else will have a look. What Qt version are you using? My Qt version is 5.9.1 I can confirm. I disabled my global menu and now Okular doesn't show its menu bar anymore. I can toggle it using Ctrl+M, however. The same affects Gwenview from what I can tell. Other apps, like KWrite, just show their window menu bar again automatically. Thanks for testing, Kai. So let's get another bug going for Gwenview and keep this bug to track Okular. If somehow we are to be using this for okular, someone move it over to okular not plasmashell? Still occurs with Okular. However, some applications don't show the menubar after even with 'Ctrl+M' when global menu has been disabled: Lokalize, Muon and Calligra. Their config files have the line 'MenuBar=Disabled'. Should I file bug reports for these apps individually or is it a global menu problem? Reproduced with Kdenlive, Ark and KDevelop. There's many more. I recently put the global menu in the title bar, just to try it out again. Big mistake. Ever since, I have been fighting to get the menu bar back in so many apps. Dolphin, ksudoku, konsole, just to name a few. In some cases, Ctrl+m helps, in others it doesn't. e.g. for ksudoku I couldn't find any way to get it back other than to edit the rc file. I really would not recommend anybody to use the global menu unless they are 100% sure they will never want the menubar back. I too can reproduce this. In most cases, Ctrl+M or Show menu bar from the hamburger menu restores the bar. However, in Lokalize the menu bar is completely missing still and there's no way to restore it. Ctrl+M doesn't work, there's no hamburger menu, nothing. (In reply to Heimen Stoffels from comment #14) > I too can reproduce this. In most cases, Ctrl+M or Show menu bar from the > hamburger menu restores the bar. However, in Lokalize the menu bar is > completely missing still and there's no way to restore it. Ctrl+M doesn't > work, there's no hamburger menu, nothing. Even if I edit lokalizerc and change MenuBar=Disabled to MenuBar=Enabled, it still doesn't show. |