Bug 388855 - Pen pressure sensitivity temporarily lost upon selecting samples from the floating Palette docker (Ubuntu 14.04 Unity - Krita 4)
Summary: Pen pressure sensitivity temporarily lost upon selecting samples from the flo...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 4.0.0-beta.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-01-12 11:28 UTC by mvowada
Modified: 2019-04-17 16:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
(Video example) (789.54 KB, video/mp4)
2018-01-12 11:28 UTC, mvowada
Details
Brush strokes, rightward (73.35 KB, image/jpeg)
2018-02-22 15:28 UTC, omiya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mvowada 2018-01-12 11:28:34 UTC
Created attachment 109815 [details]
(Video example)

(Ubuntu 14.04 Unity - Krita 4.0.0-beta1.1.appimage)

Pen pressure sensitivity temporarily lost at first stroke upon selecting a colour sample from the floating Palette docker (see video). Steps:

1) paint some strokes
2) go to the Palette docker and press the "Float Docker" button to undock
3) select a new sample from the now floating Palette docker
4) resume painting

Actual Results: the next first stroke starts with a big dot (lost pen pressure)
Expected Results: preserve pen pressure sensitivity while using the Palette docker when floating
Comment 1 Halla Rempt 2018-01-12 11:48:44 UTC
This seems to be a general Qt issue with floating dockers, and I'm not sure we can do anything about it. I seem to remember that it has been reported before, too, but I cannot find that bug report.
Comment 2 Quiralta 2018-01-12 17:18:51 UTC
I cannot reproduce this behavior in the git-master on a Archlinux/Plasma5 system, my pen keeps the pressure correctly right after picking the color in the floating docker.

May be old libraries in Ubuntu (as that seems to be an often issue with it)
Comment 3 Halla Rempt 2018-01-17 12:46:31 UTC
I cannot reproduce this on opensuse with the appimage, so it's not the version of Qt that's in the appimage. I suspect it might even be a window manager issue, since that's the component that sends events to Krita, but I don't have a system running unity around.
Comment 4 omiya 2018-02-22 15:28:20 UTC
Created attachment 110900 [details]
Brush strokes, rightward

Reproduced on a Windows 10 system running on a Huawei tablet w/ Wacom digitizer.
Comment 5 mvowada 2018-12-10 14:21:23 UTC
(In reply to Boudewijn Rempt from comment #3)
> I suspect it might even be a window
> manager issue
For the record, I can confirm that all is well if I use a different window manager on the same Ubuntu 14.04 (checked with "i3wm", it was "compiz" when I reported).
Comment 6 Dmitry Kazakov 2019-04-17 16:04:53 UTC
Hi, all!

I think the bug should now be fixed after we heavily patched Qt to generate Enter/Leave events correctly for tablet devices. Please check the nightly builds and reopen the bug if you still see the problem:

https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/