Bug 470574 - Custom keyboard shortcuts are forgotten on quit in KF6-ported apps
Summary: Custom keyboard shortcuts are forgotten on quit in KF6-ported apps
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-06-03 06:09 UTC by Justin Zobel
Modified: 2023-07-07 18:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2023-06-03 06:09:55 UTC
STEPS TO REPRODUCE
1. Open Kwrite
2. Change a keyboard shortcut
3. Restart Kwrite

OBSERVED RESULT
Keyboard shortcut is forgotten

EXPECTED RESULT
Keyboard shortcut is remembered

Git master
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.1
Kernel Version: 6.4.0-0.rc4.20230529gite338142b39cf.35.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Comment 1 Nate Graham 2023-06-03 17:52:08 UTC
Can reproduce in all KXMLGui-using apps. Possibly the same root cause as Bug 470345--maybe even the same bug.
Comment 2 Nicolas Fella 2023-07-07 11:56:40 UTC
(In reply to Nate Graham from comment #1)
> Can reproduce in all KXMLGui-using apps. Possibly the same root cause as Bug
> 470345--maybe even the same bug.

Indeed.

https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/175
Comment 3 Nicolas Fella 2023-07-07 18:20:47 UTC
Git commit 9ee32413240e4e0a48bd8708f52cf2c08a54675b by Nicolas Fella.
Committed on 07/07/2023 at 11:55.
Pushed by nicolasfella into branch 'master'.

Fix rc file lookup

The dir is still kxmlgui5 almost everywhere and hasn't been migrated to 6

Only one place was adjusted, breaking the lookup
Related: bug 470345

M  +1    -1    src/kxmlguiclient.cpp

https://invent.kde.org/frameworks/kxmlgui/-/commit/9ee32413240e4e0a48bd8708f52cf2c08a54675b