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

            Bug ID: 492992
           Summary: GlobalShorcuts: Does not reuse previously created
                    shortcuts in consequent runs
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: 6.1.4
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: tuxi...@proton.me
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

SUMMARY
(this is technically two issues but they are intertwined)
during the shortcut creation process a new section is created in the shortcuts
KCM page and it's name consists of the calling app_id and the current session
token (issue number one leading to issue number two:) this will cause an app to
not reuse the shortcuts from last session since it's session token is different
on each run. this means every time an app using GlobalShortcuts initializes it
will create a new set of shortcuts. these shortcuts will always be in conflict
with the old shortcuts from previous runs unless the user manually removes
them.  

STEPS TO REPRODUCE
1. create new shortcuts using the GlobalShortcuts api (example program:
https://github.com/tuxinal/kde_xdp_bugreport. i believe xdg-portal-test-kde
also provides GlobalShortcuts) 
2. run multiple times

OBSERVED RESULT
multiple sets of conflicting shortcuts are created on each run

EXPECTED RESULT
reuses the shortcuts from previous runs

SOFTWARE/OS VERSIONS

Operating System: NixOS 24.05
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.2
Kernel Version: 6.6.49 (64-bit)
Graphics Platform: Wayland
xdg-desktop-portal-kde: 6.1.4

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

Reply via email to