Bug 439310 - Unable to set shortcuts in Okular
Summary: Unable to set shortcuts in Okular
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-29 18:51 UTC by Rafael Lima
Modified: 2022-03-15 23:52 UTC (History)
2 users (show)

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


Attachments
Bug details (LibreOffice Draw format) (65.65 KB, application/vnd.oasis.opendocument.graphics)
2021-06-29 18:51 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-06-29 18:51:40 UTC
Created attachment 139749 [details]
Bug details (LibreOffice Draw format)

SUMMARY
In "Configure Keyboard Shortcuts" there's no way to set any custom shortcut. I type the shortcut and it gets shown in the custom shortcut control, but it doesn't get saved no matter what I do.

STEPS TO REPRODUCE
1. Go to Settings > Configure keyboard shortcuts
2. Choose any option, f.i. Rotate left
3. Choose Custom and click the button where it's written "None"
4. Press the desired shortcut (in my case Ctrl + Shift + L)
5. The shortcut is identified by the control but it doesn't get shown where it's supposed to (see attached file); actually it keeps catching more shortcuts if I keep pressing keys
6. Click OK in the main dialog

OBSERVED RESULT
The shortcut is not saved. I tried it multiple times and all the times it gets caught duplicated.

One weird thing: if I press Enter while it's catching the shortcut, then it gets saved, but it also saves Enter as the shortcut. However, the desired shortcut does not work.

EXPECTED RESULT
The shortcut should be saved and work.

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-22-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15,6 GiB of RAM
Graphics Processor: GeForce GTX 1660/PCIe/SSE2
Comment 1 Albert Astals Cid 2021-06-29 20:28:05 UTC
Works fine for me.
Comment 2 Nate Graham 2021-07-29 17:18:58 UTC
Works fine for me too.
Comment 3 Rafael Lima 2022-03-15 23:52:17 UTC
For some reason this bug disappeared on my machine since Plasma 5.24. I'll mark this bug as WORKSFORME.

Thanks.