[Konsole-devel] [frameworks-kxmlgui] [Bug 343711] changed keyboard shortcut for paste in konsole gets lost

Max maxrd2 at smoothware.net
Sun Feb 8 04:12:32 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=343711

--- Comment #2 from Max <maxrd2 at smoothware.net> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list