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

            Bug ID: 493220
           Summary: KDE Plasma Settings 'Shortcuts' doesn't updates
                    .desktop files if they were changed
    Classification: Plasma
           Product: plasmashell
           Version: 6.1.5
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Created attachment 173741
  --> https://bugs.kde.org/attachment.cgi?id=173741&action=edit
Showcase

SUMMARY
If I bind shortcut for .desktop file in ~/.local/share/applications and I'll
modify it, it wouldn't be updated in "Shortcuts". It requires you to remove
.desktop file and then add it, then .desktop file is updated.
It works with .sh scripts too.

STEPS TO REPRODUCE
1. Create .desktop file in ~/.local/share/applications
2. Go to Settings and "Shortcuts"
3. Create here a shortcut for your .desktop file
4. Change the name or command in your .desktop file

OBSERVED RESULT
File is updated but not in "Shortcuts".

EXPECTED RESULT
If you are concerned about security in case of updating files automatically in
"Shortcuts" (for example if .sh script starts to get malicious stuff without
notifying user about it), then add an option (checkmark) to automatically
update them. So need in manual updating will disappear only where I expect it
to.
A lot better then automatic update of them all.
Also I suggest to enable automatic update for all shortcuts by default, but
with switch to be able to disable it.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-arch1-2 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Vanilla KDE Plasma, vanilla EndeavourOS.
Keys capturing done by ShowMeTheKey.

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

Reply via email to