Bug 358907

Summary: Literal ampersands in toolview context-menu titles.
Product: [Applications] kdevelop Reporter: Francis Herne <mail>
Component: UI: toplevel windowAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 4.90.91   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://i.cubeupload.com/xuS13m.png
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Francis Herne 2016-02-02 10:00:02 UTC
When right-clicking on any toolview panel, the title of the context-menu contains an '&' character, usually at the beginning but sometimes as the second character. This does not occur for the context-menus of toolbar icons.

Presumably these are shortcut markers as per http://doc.qt.io/qt-5.5/qshortcut.html#mnemonic that aren't being handled somewhere.

This occurs for at least 4.90.90 and 4.90.91, I vaguely remember 4.7.x being affected too.

Reproducible: Always
Comment 1 Andreas Cord-Landwehr 2016-05-18 18:36:32 UTC
Git commit a974f4193aa75f6ff53b1ee3425fb950ec64dc3a by Andreas Cord-Landwehr.
Committed on 18/05/2016 at 18:32.
Pushed by cordlandwehr into branch '5.0'.

Fix Display of Ampersand in Context Menu

Use unprocessed window title that does not contain any ampersand
symbols for shortcuts.

M  +1    -1    sublime/idealdockwidget.cpp

http://commits.kde.org/kdevplatform/a974f4193aa75f6ff53b1ee3425fb950ec64dc3a