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

            Bug ID: 464146
           Summary: Imported shortcut scheme only restores existing
                    shortcuts. Shortcuts for non-installed applications
                    aren't imported.
    Classification: Applications
           Product: systemsettings
           Version: 5.26.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: kcm_workspace
          Assignee: plasma-b...@kde.org
          Reporter: qsabip...@mozmail.com
  Target Milestone: ---

SUMMARY
On System Settings, when I reinstall my distro and import my shortcuts scheme
backup, only the shortcuts for existing system components are restored (like
the ones in the File, KWin and Session Management sections). Shortcuts for
user-installed applications aren't imported. For instance, if Qalculate or
System Monitor isn't installed, the shortcuts I made for them will be ignored.
I have to click on "Add application" and then import the entire scheme file
again.

STEPS TO REPRODUCE
Easy way to reproduce it without formatting your system:
1. Pick an existing shortcut or create one for an non-important application.
2. Click on "Export Scheme..." to save the shortcuts.
2. Uninstall/remove that application from your system.
3. Remove the shortcut for it by clicking on the red trash can icon and apply.
4. Reinstall the application.
5. Click on "Import Scheme..." and then "Custom Scheme" on the end of the combo
box.
6. The shortcut for the removed app won't be imported, even if you add it to
the list.
7. Add the application and repeat step 5. Only then it will correctly import
the shortcut.

OBSERVED RESULT
Shortcuts for applications that don't exist on that list or on the system won't
be added. The apps have to be manually added first for them to have their
shortcuts back and this is tiresome.

EXPECTED RESULT
The "Import Scheme..." button should import all shortcuts such that the
original list is restored with all the apps and shortcuts that were there, no
overlooks, no exceptions. If an application isn't installed, maybe its icon on
the list should be turned into that "paper" icon ("none"), maybe not, but it
should stay there because the user may want to install the application later
on. Maybe they just formatted the system! Should the user not want that app or
that shortcut anymore, it should be removed manually then, but never ignored by
the System Settings like it is now!

SOFTWARE/OS VERSIONS
Linux: 6.0.18-300
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

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

Reply via email to