https://bugs.kde.org/show_bug.cgi?id=523047
Bug ID: 523047
Summary: When a shortcut icon in panel is deleted, .desktop
file in ~/.local/share/plasma_icons not properly
deleted so the shortcut doesn't run
Classification: Plasma
Product: plasmashell
Version First 6.7.2
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Icon widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 194289
--> https://bugs.kde.org/attachment.cgi?id=194289&action=edit
Video showing how the panel icon and plasma_icons folder is linked
DESCRIPTION
If you add a .desktop shortcut icon to panel, it'll copy the .desktop file to
~/.local/share/plasma_icons. The panel is actually just a name-based call to
that file.
If you delete it (say, you want to reposition it but too lazy to enter Edit
Mode), it'll delete the icon, but not the .desktop file in the plasma_icons
folder. If you THEN add the same shortcut, it'll generate another copy of the
.desktop file, with a (1).
The icon will then try to call for an action with a (1), (2), (3) and so forth
depending on how many copy has been generated, but for some reason fail to
actually run the program that the .desktop file is associated with.
This happens to me with spectacle. I was able to fix it by deleting BOTH the
panel icon and the .desktop file in ~/.local/share/plasma_icons, before
re-adding it to panel.
STEPS TO REPRODUCE
1. Copy spectacle from Desktop or Application Launcher to panel
2. Right click and delete it
3. Add another one of the icon to panel
4. Try to run it
OBSERVED RESULT
It puts out an "Invalid Service File Name: org.kde.spectacle (1)" notification
EXPECTED RESULT
It should run Spectacle
SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-1-cachyos-deckify (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen Z1 Extreme
Memory: 16 GiB of RAM (11.4 GiB usable)
Graphics Processor: AMD Ryzen Z1 Extreme
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Ally RC71L_RC71L
System Version: 1.0
ADDITIONAL INFORMATION
The launch feedback from the panel icon is quite slow for some reason - is
there something with the way panel icon works that also lead to the extra lag
compared to using shortcut from Application Launcher, Desktop, or keyboard?
--
You are receiving this mail because:
You are watching all bug changes.