[plasmashell] [Bug 442079] Activity hotkeys are not stored properly

2021-09-07 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=442079 --- Comment #2 from Oleg Solovyov --- The issue is in KGlobalAccelPrivate::intListFromShortcut: According to QKeySequence documentation it could contain up to 4 keys.[1] > for (const QKeySequence &sequence : cut) { > ret.append(sequence[0]); > } H

[plasmashell] [Bug 442079] Activity hotkeys are not stored properly

2021-09-07 Thread Oleg Solovyov
https://bugs.kde.org/show_bug.cgi?id=442079 --- Comment #1 from Oleg Solovyov --- qWarning() << "scResult debug:" << activeShortcut << intListFromShortcut(activeShortcut) << shortcutFromIntList(intListFromShortcut(activeShortcut)); causes this: scResult debug: (QKeySequence("Alt+B, Alt+F, Alt+G"