Bug 378802 - Canvas movement hotkeys unusable until focus returns from floating docker to main window
Summary: Canvas movement hotkeys unusable until focus returns from floating docker to ...
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 3.1.3-beta
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-15 08:49 UTC by Pavel Neverov
Modified: 2017-11-23 10:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
DxDiag (39.19 KB, text/plain)
2017-04-15 08:49 UTC, Pavel Neverov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Neverov 2017-04-15 08:49:34 UTC
Created attachment 105033 [details]
DxDiag

When using floating dockers, canvas movement/rotation (Alt/Ctrl/Shift/Space) doesn't work until focus shifts back to main window. 

Mirror view and hotkeys that use anything in conjunction with mod keys (Ctrl+U, for example) works fine, however.

Reproducible: Always

Steps to Reproduce:
1. set any docker as floating
2. do something in floating docker (change layer, change brush, etc)
3. move cursor to canvas
4. press space or canvas rotation hotkeys

Actual Results:  
Canvas movement/rotation hotkeys don't work until focus is shifted back to main window by user.

Expected Results:  
Being able to move/rotate canvas.

Reproducible at least back to 3.1.0, Win 7, DxDiag in attachments.
Comment 1 wolthera 2017-04-25 16:09:55 UTC
Is this something that is new to 3.1.3? or did it already happen with 3.1.2?
Comment 2 Pavel Neverov 2017-04-26 12:29:36 UTC
All the way back to at least 3.1.0 in my case (will try older versions when at home, near win pc).

I guess, I missed step 5 in reproduction steps and somewhat incorrectly described actual results:

step 5 will be: try to move/rotate canvas with mouse/drawing tablet pen (Wacom Intuos Pro M), while holding hotkeys.

And actual results: Krita ignores space and control keys (until focus is back to main window/canvas) and just plain draws on canvas, instead of moving/rotating it. 

P.S.
Shift key-brush resize works fine. Also, there is no such problem(and never was, at least for me) on debian machine at work, where Krita is built from master branch ~ once a week or so.
Comment 3 Halla Rempt 2017-06-05 08:07:54 UTC
We probably cannot do anything about this, since it's dependent on the combination of the window manager and the version of Qt. Qt has changed its focus handling in the 5.x series a couple of times, and the Windows window manager is repsonsible for deciding which window gets which key events.
Comment 4 Halla Rempt 2017-11-23 10:38:40 UTC
This is outside our power to change.