Bug 387557 - Chaos with working with shortcuts and simple operations on canvas.
Summary: Chaos with working with shortcuts and simple operations on canvas.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Shortcuts and Canvas Input Settings (show other bugs)
Version: 3.3.2
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 13:15 UTC by Kamil
Modified: 2019-05-02 16:49 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 Kamil 2017-12-03 13:15:12 UTC
Sorry for such enigmatic description, but the mess with shortcuts and simple work on canvas is so big that I don't know how describe the problem.

TL;DR: if you guys need take a look, I can record screencast to show how broken this is.

I'm just trying to work with simple texture image in pixel art technique.
So I have 640x480px image, with one layer as background (black) and second layer with some pixels.
So during the drawing pixel by pixel, suddenly zoom with wheel stopped working. I must click the zoom slider on the status bar. Then I get wheel zoom back again, but not for a long.
Then I try to use colour picker with CMD+LMB click - it works fine a couple of times then my cursor/tool just stuck with brush only - no matter how hard I'm pressing CMD key. Still have the same image/layers/pallet. I must switch for example to eraser tool for moment, then I can have back colour picker (or sometimes not until I press colour picker on the toolbar).
There is lots and lots and lots of annoying things, mostly I can describe as: shortcut working for 2-3 times then any shortcut not working - you must go to the toolbar/menu/whatever (sometimes even switch between another app with CMD+Tab back and forth is enough) to get working shortcuts again.
But the most annoying part is with Selection tool (I'm using mostly rectangle) and Copy/Paste. This is just nightmare. You can Copy some selection with CMD+C and then paste with CMD+V to get new layer which you can move around - just once. After the first and only shortcut combination, you suddenly have some strange selection showing - empty - in place you never selected before. If you want to paste multiple time some copied part, then after first time, to be able to moving pasted part, you must hold T key constantly. And of course zoom wheel not working any more.
Also Space+LMB panning not working (until some switch/toolbar click/whatever).

And all the things described above can be switched with order, doesn't matter, result is always the same.

I did default settings reset couple of times - no changes. Turned ON/OFF OpenCL accelerated canvas - no changes.

OSX: 10.11.6
GFX: IntelHD 4000 + Nvidia GT650M
RAM: 8GB

Please let me know what should I do more to give you some clue about what is happening.
Comment 1 wolthera 2017-12-03 14:49:51 UTC
This is all caused by the canvas not focussing right. We had fixed it in 2.9, but the qt5 port for 3.0 brought it back again. 
I'll set it to confirmed because we know about it, but I am not sure if there's anything we can do...
Comment 2 Halla Rempt 2017-12-03 15:00:34 UTC
Um... Are you sure you can confirm it? I could imagine that this might be a regression on OSX after updating the version of Qt to 5.10, but I haven't seen something like this on other platforms, and I haven't seen this on OSX with earlier releases.
Comment 3 Halla Rempt 2017-12-03 15:17:36 UTC
Oh, and can you check whether this also happen for you with an older version of Krita, say 3.2.0 ? (https://download.kde.org/stable/krita/3.2.0/) You might have to clean out your preferences first.
Comment 4 Kamil 2017-12-03 15:39:37 UTC
Yes, with 3.2.0 is even worst. Because when I paste to the new layer, I can't switch to move tool at all. When I try to click in toolbar - while hover mouse onto toolbar, tool move is selected (automatic) but without any click on buttons I move out from toolbar, brush tool is selected instantly.
Zoom with wheel is broken after first keystroke.
Almost all shortcuts not working one after another, I must first switch between another window/app then go back to Krita and then shortcut working.
Comment 5 Halla Rempt 2017-12-03 15:47:14 UTC
Okay, then it's not a regression after moving to a new version of Qt. I haven't seen these problems on other OS's (which I use more often), but I also haven't seen them on OSX with 3.2.0, which is the last version I used to create work.
Comment 6 Bernhard Liebl 2017-12-06 06:07:19 UTC
Hi Kamil, can you check out krita-4.0.0-prealpha.2 from https://krita.org/en/item/4-0-development-update/ ?

It seems to me the problem is fixed there (it uses QT 5.10 as opposed to the other builds, which seem to use QT 5.7).
Comment 7 Kamil 2017-12-06 11:00:01 UTC
Hi,
In this krita-4.0.0-prealpha.2 is much much better.
Zoom works all the time as well as picture panning (space+LMB).
Copy+Paste shortcuts works all the time.
What issue I see with selecting then Copy+Paste and Move Tool:
- select some small rectangle on Layer1
- Copy
- Paste (what creates new Layer2)
- Move Tool (move this small pasted part somewhere out copied part)
- Paste - this!
- Move Tool - you can't!

So with such steps, you don't see what you pasted (even if new Layer is created) and with Move Tool you can't move this. Sometimes I can move somehow this new pasted part, and I'm able to see this - but only when I move this into part which was selected at very beginning. And sorry, but I don't know how to do this - because this happened twice in some 10 times tests.
To get rid of this bug described above, after copy selected fragment you MUST Deselect first. Then when you are using Move Tool you are able to see what you moving and you can use Paste as many times you need.
Also there is problem with Paste with large zoom, when you don't have on screen this part from which you copy. Because Paste not working as in other apps - Paste into part of visible canvas. You Pasting into place from which you Copied. So if this is for example Left Top Corner of 4k canvas and you zooming just Right Bottom Corner - then you must first zoom out to see whole canvas - move this small part where you want, then zoom in and finish moving more precise.

There are some other issues with this build, but I think it's not related to this bug (brush tool, when you paint something you can't see it until you hide layer and show it again, sometimes when you create new layer - plus button create two layers).
Comment 8 Halla Rempt 2019-05-02 08:22:26 UTC
Please check out the nightly builds: https://krita.org/en/item/krita-nightly-builds-for-macos/ . There have been a number of changes to the handling of input for macOS, and other people have reported that their issues are mostly gone.
Comment 9 vanyossi 2019-05-02 16:49:20 UTC
The original report is about shortcuts which seem to be working properly now, Could the OP confirm?

Move tool + selection is weird but is another issue, and the same can be said about pasting in global coordinates instead of inside the view. I made a new bug for the move tool + selection + paste, because its interesting and can lead to other issues. It can be discussed there. https://bugs.kde.org/show_bug.cgi?id=407160

Just note:
The move tool not moving anything is produced by the selection being in another castle (coordinate), as the move tool moves content and selection, but selection retains its own placement globally.

Some other software paste content inside selection AFAIK.