Bug 214493

Summary: ”Show Menu Bar” appears double in shortcut-list
Product: [Applications] konsole Reporter: M G Berberich <kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: minor CC: adaptee, lueck
Priority: NOR    
Version: 2.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0

Description M G Berberich 2009-11-14 10:50:42 UTC
Version:           2.3 (using 4.3.2 (KDE 4.3.2), Debian packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.30-2-amd64

In the shortcuts editor the entry are two entries “Show Menu Bar”
Comment 1 Burkhard Lück 2009-11-15 12:15:25 UTC
I can confirm the duplicated entry “Show Menu Bar” in all these versions:
Kubuntu 9.04
$ konsole --version
Qt: 4.5.2
KDE: 4.3.2 (KDE 4.3.2)
Konsole: 2.3.2

branch compiled from sources 
$ konsole --version
Qt: 4.5.2
KDE: 4.3.3 (KDE 4.3.3)
Konsole: 2.3.3

trunk compiled from sources 
$ konsole --version
Qt: 4.6.0
KDE: 4.3.75 (KDE 4.3.74 (KDE 4.4 >= 20091102))
Konsole: 2.4
Comment 2 Jekyll Wu 2011-07-05 10:08:24 UTC
I can confirm this with konsole-2.7.999
Comment 3 Jekyll Wu 2011-11-24 05:20:20 UTC
The cause is that the "Show MenuBar" action is ALWAYS part of the context menu, even when the menubar is already shown.
Comment 4 Jekyll Wu 2012-10-20 10:59:12 UTC
Git commit 40a38d7aa18fe40637ec35da6295022007df0a6e by Jekyll Wu.
Committed on 20/10/2012 at 04:06.
Pushed by jekyllwu into branch 'master'.

Avoid duplicate "Show Menubar" entries in shortcuts dialog

The "show menubar" action in context menu is now shown only when menubar is
hidden.
REVIEW: 104193

FIXED-IN: 4.10.0

M  +1    -3    desktop/sessionui.rc
M  +10   -1    src/SessionController.cpp
M  +2    -0    src/SessionController.h

http://commits.kde.org/konsole/40a38d7aa18fe40637ec35da6295022007df0a6e