Bug 464263

Summary: Calculation of HiDPI scaling is not correct causing wrong location of pointer using wacom
Product: [Applications] systemsettings Reporter: Maize <millermaneo>
Component: kcm_wacomtabletAssignee: Valerii Malov <jazzvoid>
Status: REPORTED ---    
Severity: normal CC: millermaneo, nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Difference of location between select and actual. Red dot is pointer location

Description Maize 2023-01-14 06:32:49 UTC
Created attachment 155271 [details]
Difference of location between select and actual. Red dot is pointer location

SUMMARY
***
The scaling of the ui is directly affecting the location of the ponter. the strange part is that if you use the location by the pen and press mouse left or right it works as it should. It does not do the same when using the pen stand alone, Wacom Intuos pro S. 
***


STEPS TO REPRODUCE
1.  using resulution 3840 x 2160 @60hz 150% scaling (Laptop monitor)
2.  plug in or use wireless wacom and problem presents it self in programs, and kde menus and is fine is some browsers and latte dock, system settings, mudbox and other critical applications to a high end artist are affected

EXPECTED RESULT
applications and x,y location especially on click event is unnaffected by scaling / resolution and should work with normal kcm-wacom module

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37 KDE 
KDE Plasma Version: 5.26.5
KDE Frameworks Version:  5.101.0
Qt Version: 5.15.8
Kernel 6.0.18-300.fc37.x86_64
Nvidia RTX 3080
Intel i9-10900KF
Prime-X X170KM
Comment 1 Nicolas Fella 2023-01-14 12:54:21 UTC
Is this X11 or Wayland?
Comment 2 Maize 2023-01-17 05:11:32 UTC
I am using X11 as Wayland does not function with my hardware (Huuuuuuge lag 1 fps kind of deal)