Using a tablet together with screen rotation
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?).
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 :-)