Bug 426844 - Not assigning shortcut "CTRL" + "SHIFT" + "=" or "-"
Summary: Not assigning shortcut "CTRL" + "SHIFT" + "=" or "-"
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 4.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-22 00:13 UTC by savoho4080
Modified: 2020-12-14 08:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.