SUMMARY Normally wacom tablet draws fine if window position is 0,0 aka top left, if we move the window to another location, mouse arrow moves normally, but the krita windows do not get the coordinates correctly, i have attached a video to demonstrate this behavior very clearly, this behavior is same in all krita main and sub windows. Interestingly drawing area appears to be correctly get coordinates, but toolbars, menus and all other things are affected. Mouse and cursor arrow is not affected by this bug, only internal coordinates in krita windows are wrong. STEPS TO REPRODUCE 1. New image 2. Move krita window away from top left corner 3. Try to aim your cursor with tablet and press tool buttons menus and other things, other than drawing area OBSERVED RESULT Your wacom will click to toolbars at the wrong coordinates and correct coordinates will not work. EXPECTED RESULT Wacom should be able to click every tool and button with correct mouse position SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.15.12-1-Manjaro KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION I use 4K monitor with 3840x2160 resolution and 150% scaling set on KDE Display Settings, but krita somehow detect it as lower resolution, i do not know the reason: Display Information Number of screens: 1 Screen: 0 Name: HDMI-A-0 Depth: 24 Scale: 1.5 Resolution in pixels: 2560x1440 Manufacturer: Samsung Electric Company Model: U28E590- Refresh Rate: 60
I cannot reproduce that on KDE Neon with the latest 5.0 appimage with KDE plasma and display scaling set to 1.5. Note that fractional display scaling is really badly supported in X11 -- and of course, that the application sees the scaled pixels, so if you divide 3840 by 1.5, you will get 2560 and that's what the application sees. Are you using a distro build or the appimage? If the distro build, please test with the appimage.
i am sorry attaching video was not possible, i didn't know. how can i show it to you? i used manjaro kde iso from manjaro webpage to install it on my computer. i used pacman to install krita on my computer. is your krita help->show system info for bugs, shows resolution at bottom of the result correctly even when it is scaled 150% ?
Bug seems fixed on this appimage: krita-5.0.2-alpha-c4bf113-x86_64.appimage Krita system information still shows resolution as 2560x1440, but wacom bug is not exist anymore. Thanks for your efforts.
I can confirm this bug is exist in manjaro's distro built krita, and it is not exist in appimages, same versions compared. Where can this error from be? I have fully upgraded my manjaro with pacman -Syuu and using latest stable kernel at the time i am testing those two versions.
Probably a bug introduced in Qt 5.15.