Bug 426844

Summary: Not assigning shortcut "CTRL" + "SHIFT" + "=" or "-"
Product: [Applications] krita Reporter: savoho4080
Component: GeneralAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED UPSTREAM    
Severity: normal CC: dimula73, halla, raghu, tamtamy.tymona
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description savoho4080 2020-09-22 00:13:40 UTC
sUMMARY
Not assigning shortcut "CTRL" + "SHIFT" + "=" or "-"

STEPS TO REPRODUCE

Try to assign shortcut "CTRL" + "SHIFT" + "=" or "-".


OBSERVED RESULT

Krita will assign 
"CTRL" + "+" instead of "CTRL" + "SHIFT" + "=" and 
"CTRL" + "_" instead of "CTRL" + "SHIFT" + "-"

EXPECTED RESULT

Expected shortcuts with "SHIFT" key.

SOFTWARE/OS VERSIONS

Windows 7 64 bit.
 

ADDITIONAL INFORMATION

Also "CTRL" + "SHIFT" + /key/ combinations not working with numpad's keys. Krita assigning them without "SHIFT" too.
Comment 1 savoho4080 2020-09-22 00:14:33 UTC
SUMMARY
Not assigning shortcut "CTRL" + "SHIFT" + "=" or "-"

STEPS TO REPRODUCE

Try to assign shortcut "CTRL" + "SHIFT" + "=" or "-".


OBSERVED RESULT

Krita will assign 
"CTRL" + "+" instead of "CTRL" + "SHIFT" + "=" and 
"CTRL" + "_" instead of "CTRL" + "SHIFT" + "-"

EXPECTED RESULT

Expected shortcuts with "SHIFT" key.

SOFTWARE/OS VERSIONS

Windows 7 64 bit.
 

ADDITIONAL INFORMATION

Also "CTRL" + "SHIFT" + /key/ combinations not working with numpad's keys. Krita assigning them without "SHIFT" too.
Comment 2 Raghavendra kamath 2020-09-22 06:32:09 UTC
I can confirm this on Master and also on the version from the repo on Arch. The shortcut is auto corrected to "ctrl +" instead of using "ctrl shift ="
Comment 3 Halla Rempt 2020-09-22 06:54:59 UTC
That's kind of unavoidable, since what comes as a QKeyEvent _is_ ctrl + =, because Qt translates  + + to =: . I don't think we can fix this. There is no actual difference between shift+ and =.
Comment 4 savoho4080 2020-09-22 16:21:24 UTC
(In reply to Boudewijn Rempt from comment #3)
> That's kind of unavoidable, since what comes as a QKeyEvent _is_ ctrl + =,
> because Qt translates  + + to =: . I don't think we can fix this. There is
> no actual difference between shift+ and =.

is it possible to register ctrl then shift then shift+ events? 
or shift not existing at all outside of shift+key combinations?
Comment 5 Tiar 2020-12-14 00:37:19 UTC
There was a question to Halla; also if we cannot fix this, maybe we should close this report.
Comment 6 Halla Rempt 2020-12-14 08:52:48 UTC
Yes -- this really isn't fixable.