When in portrait mode, touches don't cause click actions, just drags
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-nexus7 |
Fix Released
|
High
|
Bryce Harrington | ||
xorg-server (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington |
Bug Description
(Possibly this is related to / a dupe of bug #1075415)
When the device is rotated to portrait mode, button and link clicking do not work. Rotating back to landscape mode causes it to resume working. Click and drag works fine. Using an external mouse works ok, as do other non-touch input solutions.
[Test case]
1. xrotate portrait
2. touch and drag on background
3. quickly touch and release an icon on the launcher
4. firefox www.ubuntu.com
5. touch on any hyperlink
Expected behavior: Steps 3 should launch the app, step 5 should navigate to the web page
Actual: Steps 3 and 5 have no effect
[Discussion]
I had initially thought the input was being mis-calibrated when rotated (e.g. bad matrix transform?) but that proved not to be the case. As long as you're just doing drags it seems to work (although it's a big glitchy), it just never left-clicks.
Related branches
Changed in ubuntu-nexus7: | |
importance: | Undecided → High |
Changed in ubuntu-nexus7: | |
status: | Fix Committed → Fix Released |
Output from xev when doing a single quick touch:
EnterNotify event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887756, (64,105), root:(146,157),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 104 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MotionNotify event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887756, (64,105), root:(146,157),
state 0x100, is_hint 0, same_screen YES
ButtonPress event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887756, (64,105), root:(146,157),
state 0x100, button 1, same_screen YES
LeaveNotify event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887824, (619,182), root:(701,234),
mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
ButtonRelease event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887858, (619,182), root:(701,234),
state 0x100, button 1, same_screen YES
LeaveNotify event, serial 38, synthetic NO, window 0x2800001,
root 0x68, subw 0x0, time 59887824, (619,182), root:(701,234),
mode NotifyUngrab, detail NotifyNonlinear, same_screen YES,
focus YES, state 0
In comparison, this is what a normal mouse click looks like on my desktop:
ButtonPress event, serial 38, synthetic NO, window 0x6200001,
root 0x150, subw 0x0, time 435278947, (68,29), root:(71,113),
state 0x0, button 1, same_screen YES
ButtonRelease event, serial 38, synthetic NO, window 0x6200001,
root 0x150, subw 0x0, time 435279075, (68,29), root:(71,113),
state 0x100, button 1, same_screen YES