Touchscreen input incorrectly rotated at boot.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-nexus7 |
Fix Released
|
Medium
|
Jani Monoses |
Bug Description
Been experiencing this one for at least a week, but wasn't able to pin down exactly what was going on until just now...
Steps to reproduce:
1. Lay nexus7 on a flat surface, such that the accelerometer will not be able to identify which direction is "up".
2. Boot the nexus7. Notice that the bootloader treats the screen as vertical by default, but once X loads, the screen is horizontal by default.
3. In the current state, touchscreen input is incorrectly rotated relative to X output. Input seems to think screen is vertical, output displays horizontally.
4. Flip the nexus7 up such that the display is right side up (eg, dont' trigger the display to rotate, just flip the nexus7 up in the direction that the screen is already rotated).
5. X will notice the new signal from the accelerometer, the screen briefly flickers, and correctly rotates the touchscreen input so that it now aligns with the screen output.
So basically the problem fixes itself once you manually trigger a rotation event, but the default settings for the touch input don't match the default settings for the X output, prior to the first rotation event.
jani changed some code which seems to result in a wrong default rotation on boot ("right" vs "normal"), assigning to him to fix :)