Bug 314932

Summary: "Show menubar" in some applications interferes with "menubar in title bar"
Product: [Plasma] kwin Reporter: Christoph Lange <langec>
Component: appmenuAssignee: Cédric Bellegarde <web>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: hugo.pereira.da.costa, kwin-bugs-null
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2013-02-11 20:12:03 UTC
Some KDE applications, e.g. Okular or Akregator, have offered the possibility to hide the menubar for a long time (usually via “Tools→Show Menubar”). Now this interferes with Oxygen's ability to put the menubar somewhere else (e.g. into the window's title bar) in a way of which I'm not exactly sure whether it's a bug or a feature.

When the menubar is put into the title bar, it is not _shown_ anyway, so the “show” in “show menubar” is wrong. However, “show menubar” still has an effect: When it is checked, the menus (wherever they are) can be accessed by keyboard shortcuts such as Alt+F for File – otherwise they can't.

This disabling or enabling of keyboard shortcuts is actually a helpful feature in applications that dynamically assign keyboard shortcuts from the Alt+X “namespace”, such as Akregator for its tabs. But the way this “feature” works is far from intuitive.

Still, I have no idea how this could be improved.
Comment 1 Hugo Pereira Da Costa 2013-02-11 21:15:54 UTC
This is not an "oxygen" feature.
It's some kde-workspace feature that oxygen supports. Will reassign as soon as I know to where.
Comment 2 Hugo Pereira Da Costa 2013-02-11 21:26:58 UTC
Thanks Christoph, that was quick !
(I guess I should have looked better :-( )
Comment 3 Cédric Bellegarde 2013-02-25 09:51:53 UTC
I think the bug it in kdelibs... But not sure...

KToggleAction *showMenubar(const QObject *recvr, const char *slot, QObject *parent) in actions/kstandardaction.cpp

Should check for kded appmenu availability and force menubar to be shown.
Comment 4 Cédric Bellegarde 2013-03-04 09:51:50 UTC
Please make a bug report against kdelibs.