Bug 449763 - The "Defaults" button in the Configure Keyboard Shortcuts dialog does not always work as expected
Summary: The "Defaults" button in the Configure Keyboard Shortcuts dialog does not alw...
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 00:55 UTC by Prajna Sariputra
Modified: 2022-02-08 00:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prajna Sariputra 2022-02-08 00:55:43 UTC
SUMMARY
Currently the "Defaults" button only works on the default keyboard shortcut scheme, on user created schemes it always resets to all empty. This combined with the fact that it is possible to delete that default scheme means it is possible to end up in a situation where the user has no obvious way to get the default shortcuts back. Creating a new scheme named "Default" does bring back the default shortcuts (after deleting the automatically created scheme that appears if the dialog is exited after deleting all schemes).

So, I think it would be a good idea to have the "Defaults" button always bring back the real defaults regardless of what scheme is selected, or alternatively making the default scheme permanent and read only would also help prevent the user from losing access to the defaults. The second option also brings the extra benefit of it being consistent with how Konsole handles the default profile.

STEPS TO REPRODUCE
1. Open the "Configure Keyboard Shortcuts" dialog in Konsole
2. Create a new scheme
3. Click the "Defaults" button

OBSERVED RESULT
All the shortcuts remain empty.

EXPECTED RESULT
All the shortcuts should be set to what they should be if Konsole was first installed and started.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.7-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530