Using a tablet together with screen rotation

Bug #888794 reported by Milan Zamazal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wizardpen
New
Undecided
Unassigned

Bug Description

I use a monitor with a pivot and sometimes rotate it by 90 degrees during my daily work; in such a case I rotate my X screen as well of course, using xrandr. The tablet reacts to this action somewhat reasonably by retaining both its orientation and the active area. I.e. when I rotate my monitor from landscape mode to portrait mode, the tablet remains in landscape mode and maps its width and height to the new screen width and height. But then the monitor and tablet aspect ratios don't match each other (e.g. ellipses are drawn instead of circles). I'd prefer if the tablet reduced its active area to match the new monitor aspect ratio. The attached patch does this when KeepShape is set to on (I believe it's a reasonable action in such a case, although maybe some users would prefer to rotate the tablet physically?).

Related branches

Revision history for this message
Milan Zamazal (pdm-j) wrote :
Revision history for this message
Martin Owens (doctormo) wrote :

Hey Milan, I've added all 3 of your patches and I'll send a note to the wizardpen testers list to get more people to test the patches too.

If you want to make a bunch of commits (more than one) then the best way is to get the code using `bzr branch` and then push to a personal branch using `bzr push lp:~pdm-j/wizardpen/fixname-or-number` and then you can go to the branch in launchpad and ask for a merge review. Patches work too of course :-)

Revision history for this message
Milan Zamazal (pdm-j) wrote :

There is a bug in my submitted patch -- it doesn't handle topX and topY when computing the converted coordinates, resulting in inability to reach the left or top edges of the screen with the tablet when topX or topY is greater than zero. I've fixed this problem in an additional patch available in bzr branch lp:~pdm-j/wizardpen/888794 (and attached here).

Revision history for this message
Milan Zamazal (pdm-j) wrote :

Wasn't my additional fix from 2011-11-17 missed?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.