Bug 333431 - Broken canvas input shortcut naming when pressing keys used to switch keyboard layouts
Summary: Broken canvas input shortcut naming when pressing keys used to switch keyboar...
Status: CONFIRMED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.38.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 22:36 UTC by Alexander Potashev
Modified: 2017-09-30 09:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (93.05 KB, image/png)
2014-04-14 22:38 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2014-04-14 22:36:53 UTC
Something interesting happends when your keyboard layout switcher is configured for Alt+Shift, and you press Alt+Shift in the shortcut mini-editor in Krita Settings.

Reproducible: Always

Steps to Reproduce:
1. Configure the keyboard layout switcher in KDE System Settings to Alt+Shift.
2. Open Krita/settings/configure krita/canvas input.
3. Choose an existing or create a new mouse button-bound action and double click on its "input" cell.
4. In the popup click on the keys selector against "Modifiers" and press Alt+Shift.
Actual Results:  
The shortcut keys are now written as "Shift + Meta+Ctrl+Alt+Shift+[**]" in the popup and also in the "input" field for the shortcut.

Expected Results:  
One of the following:
 1. keys properly written as "Alt + Shift" or
 2. no change in keys and a warning for this modifier key already used for something global (layout switching in my case).

Built from Git master at bf9b1c6e94cf296d38af5d4ed752e6c229450c5b (CommitDate: Sun Apr 13 11:52:15 2014 +0300).

Related bug: bug#329663
Comment 1 Alexander Potashev 2014-04-14 22:38:18 UTC
Created attachment 86101 [details]
screenshot

Screenshot of the popup of interest.
Comment 2 Halla Rempt 2014-04-28 15:03:07 UTC
Hm... Didn't Sven Langkamp fix this quite recently? Or am I wool-gathering?
Comment 3 Alexander Potashev 2014-04-29 00:44:51 UTC
Boudewijn, I couldn't find any commit he made in the last two weeks in calligra/2.8 and master. And overall no major commits to krita/ui/input/ :(
Comment 4 Halla Rempt 2014-04-29 08:29:46 UTC
I must be mistaken then!
Comment 5 Sven Langkamp 2014-04-30 04:04:41 UTC
I didn't do anything there ;)
Comment 6 Halla Rempt 2014-05-03 09:58:45 UTC
Ok...
Comment 7 Dmitry Kazakov 2014-05-05 13:48:12 UTC
Well, KDE has some problems with layout switching shortcuts in general :( I had to move my language switch shortcut to right Ctrl+Shift because of that.

But I guess we still can invent something here. At least do nothing on those shortcuts
Comment 8 Raghavendra kamath 2017-04-17 18:34:19 UTC
I can confirm this happens in latest git master (git 9D252f0) too.
I think the problem here is once you assign Alt + Shift to keyboard layout change. and try to modify the shortcut in kirta, the moment you press Alt + shift kde changes your keyboard layout and the shift key is changed. For me it shows Alt + + , so it depends on your layout.

I think this is similar to alt window drag behaviour problem.
Comment 9 Halla Rempt 2017-09-30 09:16:09 UTC
This is a kde-wide issue, either in kglobalaccel or in kxmlgui's shortcut editor.