GNOME Bugzilla – Bug 719574
Calibration on other monitors than (x,y=0,0) come out wrong
Last modified: 2013-12-16 11:41:39 UTC
If a wacom device is calibrated while the monitor it's attached to isn't at 0,0 coordinates in the screen, the calibration comes out wrong, turns out the calibration gui is using monitor geometry x/y coordinates to calculate the device calibration, which is relative to device coordinates, and hence non dependent on the monitor position in the layout. I'm attaching a patch to fix this.
Created attachment 263154 [details] [review] wacom: Don't use monitor geometry X/Y when calculating calibration Calibration must be performed based on the device w/h ranges and the screen size, so in which coordinates the monitor is virtually mapped matters little on device coordinates. This fixes calibration of devices attached to a monitor elsewhere than (0,0) in the screen.
Review of attachment 263154 [details] [review]: If you've tested this, then the code looks fine. I don't really fancy trying to reverse engineer it ;)
It's been tested quite extensively with 2 on-display tablets :), Too bad this laptop only handles 2 simultaneous outputs out of LVDS/VGA/DisplayPort. That code could indeed do with some sanitizing...
Attachment 263154 [details] pushed as e2464ee - wacom: Don't use monitor geometry X/Y when calculating calibration