Bug 408656 - Menu bar in Konsole cannot be shown
Summary: Menu bar in Konsole cannot be shown
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 17.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-13 17:45 UTC by Sektor van Skijlen
Modified: 2019-07-11 11:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-9248-0.html (1.08 KB, text/html)
2019-06-14 15:58 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sektor van Skijlen 2019-06-13 17:45:51 UTC
SUMMARY

It's extremely mysterious, so first I need some hint where to search for a problem. This current problem is: menu bar won't show. The Right-click popup menu doesn't contain an option to show menu bar, clicking Shift+Ctrl+M does nothing, running console with `--show-menubar` option doesn't show it either.

I have another machine with exactly the same system and same version of everything and this problem doesn't appear.

Another problem - which MIGHT be related - is that the "Switch Profile" menu shows only "Default Profile" and nothing else, despite that when I run konsole with `--list-profiles`, it shows me 5 various profiles.

What MIGHT also matter is that I have installed on this system Yakuake, which I don't know its connection to konsole, but on other platforms it allowed me to select also profiles earlier created for konsole. Yakuake also doesn't show all these profiles in "Switch profile" menu, however it shows them when I choose "Manage profiles" from its main menu. Also, not all profiles are shown. I can run `konsole --profile <profile>` with one of those profiles and konsole gets it, however "Switch profile" still displays "Default profile". When I select this, it switches to some default settings, but "Edit profile" then proposes the name of the profile "Default", but after I change some settings and confirm it, it will create a new profile named "Profile N" (where N is the next free number among existing ones).

As I said, I need some hint where to look for because it looks like konsole doesn't "see" these profiles or it has some rogue settings somewhere, but I have no idea where to look.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:

OpenSUSE Leap 42.3 

KDE Plasma Version: 5.8.7 
KDE Frameworks Version: 5.32.0
Qt Version: 5.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-06-13 20:29:23 UTC
If you close Konsole, delete ~/.local/share/kxmlgui5/okular/part.rc and then open Konsole again, does that help?
Comment 2 Sektor van Skijlen 2019-06-14 15:51:07 UTC
(In reply to Nate Graham from comment #1)
> If you close Konsole, delete ~/.local/share/kxmlgui5/okular/part.rc and then
> open Konsole again, does that help?

Well, I closed konsole and even yakuake just for a case, then entered this kxmlgui5 directory and found out that I don't have 'okular' directory there. I do have 'konsole' directory, but it's empty. I deleted it and nothing was better.

I also tried to remove ~/.local/share/konsole and ~/.config/konsolerc - still, when I run "konsole --show-menubar" the konsole opens without the menubar.
Comment 3 Sektor van Skijlen 2019-06-14 15:55:19 UTC
Heck, I have even removed konsole and yakuake packages from the system, deleted ~/.config/yakuakerc ~/.config/konsolerc ~/.local/share/yakuake and ~/.local/share/konsole.

Then reinstalled konsole and ran "konsole --show-menubar". The konsole was run WITHOUT menu bar.
Comment 4 tcanabrava 2019-06-14 15:58:04 UTC
Created attachment 120869 [details]
attachment-9248-0.html

can you press ctrl + shift + m ?


On Fri, Jun 14, 2019 at 5:55 PM Sektor van Skijlen <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=408656
>
> --- Comment #3 from Sektor van Skijlen <ethouris@gmail.com> ---
> Heck, I have even removed konsole and yakuake packages from the system,
> deleted
> ~/.config/yakuakerc ~/.config/konsolerc ~/.local/share/yakuake and
> ~/.local/share/konsole.
>
> Then reinstalled konsole and ran "konsole --show-menubar". The konsole was
> run
> WITHOUT menu bar.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 5 Sektor van Skijlen 2019-06-17 08:51:09 UTC
(In reply to tcanabrava from comment #4)
> Created attachment 120869 [details]
> attachment-9248-0.html
> 
> can you press ctrl + shift + m ?

Yes, I tried. The behavior is as if I pressed ctrl + m and nothing else happens.
Comment 6 Bug Janitor Service 2019-07-02 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Christoph Feck 2019-07-03 09:28:29 UTC
Information was provided with comment #3; changing status for inspection.

It probably is related to Plasma global menus.
Comment 8 Sektor van Skijlen 2019-07-03 09:36:11 UTC
Chris: thanks, I've got a feeling that you may be right.

Now I tried "kate" - the same thing, it opens without the menu on the machine where the problem is. On the old machine that has no such problem, "kate" opens with menu.

Sorry that I reported that for "konsole", but this is where I first observed it.

If you need me to check anything else to find the root cause, just say a word. I was just about to reinstall the whole system if it can't be repaired.
Comment 9 Sektor van Skijlen 2019-07-11 11:06:27 UTC
Found the root cause of the problem. It's unrelated to Konsole. The key thing is the setting in:

System Settings/Widget Style/Fine Tuning/Menubar/Menubar style=Application Menu Widget

When it's set to this value, the menu in the application will not appear. After changing to "In application" everything is ok.

Also, this setting and the menu widget is something completely retarded. I found this Application Menu Widget in the widgets on the panel, it theoretically works, but it expands only the contents of the "File" menu. Other parts are not available - at least this is the situation in Konsole.

Still, the problem with non-saved profiles remains. I'll try to report it separately, you can close this one.
Comment 10 Christoph Feck 2019-07-11 11:37:14 UTC
Thanks for the update; changing status.