https://bugs.kde.org/show_bug.cgi?id=425300

            Bug ID: 425300
           Summary: Double-ampersand in menu item
           Product: gwenview
           Version: 20.04.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: gm...@ratijas.tk
  Target Milestone: ---

SUMMARY

Menu item "Forget All Files && Folders" is shown with double ampersands -- just
as it is encoded in the source code.

https://invent.kde.org/graphics/gwenview/-/blob/b733220a9781b42c6191ff7a2d160cde862ae39d/app/mainwindow.cpp#L394

I am using DBus menu with GlobalMenu from plasma-sdk package. Relevant files
include
`/usr/share/plasma/packages/org.kde.plasma.cuttlefish/contents/ui/GlobalMenuBar.qml`.

STEPS TO REPRODUCE
1. Open some files in Gwenview.
2. Open "File" -> "Open Recent" sub-menu.

OBSERVED RESULT

"Forget All Files && Folders" at the end of the files list.

EXPECTED RESULT

"Forget All Files & Folders" with single ampersand, or even something simpler,
like:

 - "Clear list" (in qpdfview)
 - "Clear Items" (in Sublime Text)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: plasma-sdk 5.19.4-1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to