[Digikam-devel] [Bug 146744] New: tag that contains '&' is not displayed correctly in menus

Jonathan Marten jjm at keelhaul.me.uk
Wed Jun 13 15:21:16 BST 2007

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: tag that contains '&' is not displayed correctly in
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Tags
        AssignedTo: digikam-devel kde org
        ReportedBy: jjm keelhaul me uk

Version:           0.9.2-beta3 (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
OS:                Linux

This refers to the "Assign Tag" and "Remove Tag" menu structure on the image popup menu.  If the tag contains an ampersand character, which is apparently allowed, then the tag name is not displayed correctly in the menu.

For example, creating a tag named "Food & Drink" shows as "Food<space>_Drink", and creating a tag named "A,B&C" shows as "ABC" where the "C" is underlined.

An '&' in a menu item needs to be doubled (except if it is a TagsPopupCheckedMenuItem, QCustomMenuItem doesn't implement accelerators).  Patch to fix is attached.

More information about the Digikam-devel mailing list