Summary: | changed keyboard shortcut for paste in konsole gets lost | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | Mladen Milinkovic, Max <maxrd2> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | oliver.bobo2 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mladen Milinkovic, Max
2015-02-02 21:10:44 UTC
I can confirm the behavior, also using Archlinux, KDE Frameworks 5.6.0 and plasma 5.2, kde apps 14.12.1. It seems that, setting any alternative shortcut resets both primary and alternative shortcut after konsole is closed. For instance: 1. Set alternative shortcut for next tab (Ctrl+Tab). 2. Both primary (Shift+right) and alternative (Ctrl+Tab) shortcuts work. 3. Close all konsole windows. 4. After starting konsole again, both shortcuts for switching to next tab are erased. Have checked out a code and this seems to be a bug in kxmlgui. After customizing shortcut with KShortcutsDialog it appends default shortcuts to QList<QKeySequence> so it ends up being a pretty long list of duplicate shortcuts like this: Pri+Shortcut+You+Just+Set; Alt+Shortcut+You+Just+Set; Previous+Primary+Shortcut; Previous+Alt+Shortcut And it grows by two every time you edit the list. Have created a patch here: https://github.com/maxrd2/kxmlgui/commit/966f6ad78a4831f49e1bfb759315b7499346b9d5 I've altered the code in few places to remove everything behind Primary and Alt shortcut. It's probably a crappy solution, but it fixes the issue for the moment. Hope it will help someone before a real patch is submitted. Also paste shortcut cannot be changed in konsole and it's not caused by this. If you try to change 'edit_paste' shortcut on next load it gets changed to " ; Ctrl+Ins". It loses primary shortcut and alt one gets reset. *** This bug has been marked as a duplicate of bug 343665 *** |