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

            Bug ID: 520894
           Summary: Cannot remove menu item from favorites if name
                    includes a capital letter and a colon
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.5
       Reported In:
          Platform: EndeavourOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Application Launcher (Kickoff) widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: 1.0

(Maybe this is primarily a kmenuedit bug, but kickoff is misbehaving too.)

DESCRIPTION
Menu items with names that include a capital letter and a colon (:) can't be
removed from favorites.

STEPS TO REPRODUCE
1. Create a new item with the KDE Menu Editor, for example "Test: 1" ("Test:",
":TEST", or "tEs:t" also work). The program you point to doesn't matter, but I
used konsole.
2. Add this new item to your favorites using the Application Launcher
(Kickoff).
3. Try to remove the new item from your favorites.

OBSERVED RESULT
Nothing happens.
journalctl -f prints the following whenever I try to remove the item from my
favorites:
plasmashell[942]: Entry is not valid "test: 1.desktop" 0x55fedbd93a60
The memory address (?) changes whenever I do this.
Note that the filename in the log is in lowercase ("test: 1" instead of "Test:
1").
Removing the capital letter and the colon from the item name with the KDE Menu
Editor doesn't work; the item still can't be removed. The only way to remove
the entry from my favorites is to delete the .desktop file directly from
/home/user/.local/share/applications/

EXPECTED RESULT
The item should be removed from my favorites. Alternatively, the KDE Menu
Editor should disallow these invalid names.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.10-arch1-1 (64-bit)
Graphics Platform: Wayland

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

Reply via email to