Created attachment 176530 [details] before SUMMARY Copy is not a shortcut for copy and Paste isnt a shortcut for paste STEPS TO REPRODUCE 1. Have a keyboard with a Copy or Paste dedicated key (KC_COPY, KC_PASTE in qmk) 2. Try to use Copy or Paste OBSERVED RESULT No copy or paste HOW TO RESOLVE: Make Copy a shortcut for copy and Paste a shortcut for paste SOFTWARE/OS VERSIONS Operating System: Nobara Linux 40 KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 Kernel Version: 6.11.5-200.fsync.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7640U w/ Radeon 760M Graphics Memory: 14.9 GiB of RAM Graphics Processor: AMD Radeon 760M Manufacturer: Framework Product Name: Laptop 13 (AMD Ryzen 7040Series) System Version: A5 ADDITIONAL INFORMATION I've attached a screenshot of copy shortcut before/after
Created attachment 176531 [details] after
Needs changing in kstandardshortcut this should make it work via our platformtheme. It will not make it work in gtk apps.
Should be relatively change if you want to go for it. Place to change it would be here https://invent.kde.org/frameworks/kconfig/-/blob/master/src/gui/kstandardshortcut.cpp#L83 However it already has two standard shortcuts, so it needs adding a third field to struct KStandardShortcutInfo
(In reply to David Redondo from comment #3) > Should be relatively change if you want to go for it. > > Place to change it would be here > https://invent.kde.org/frameworks/kconfig/-/blob/master/src/gui/ > kstandardshortcut.cpp#L83 > However it already has two standard shortcuts, so it needs adding a third > field to struct KStandardShortcutInfo Maybe it shouldn't be a configurable shortcut at all? I can easily see how someone who doesn't know of kc_copy kc_paste would get very confused. I also think that a user unbinding kc_copy would in 99 out of 100 cases be by accident, and so maybe should be hard coded. Also to note that other keys exist to that we have not mentioned, like for example kc_cut which should be tested.