Ticket #2208 (new enhancement)

Opened 10 years ago

Last modified 10 years ago

consider sending touchscreen release event on resume?

Reported by: lindi Owned by: openmoko-kernel
Priority: normal Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


This bug is quite cosmetic but something that might be useful to fix. Maybe generating one spurious call to stylus_updown() could work?

Steps to reproduce:
1) type "apm -s" in xterm or similar
2) press enter down on a virtual keyboard
3) wait for the phone to suspend and release enter after that
4) resume the phone

Expected results:
4) applications receive touchscreen release event so that they notice that user is no longer pressing touchscreen.

Actual results:
4) applications do not receive touchscreen release event on resume and think that the user is still holding the enter key on the virtual keyboard.

More info:
1) This was observed on andy-tracking b8b36e5ec3db71d5.

Change History

comment:1 Changed 10 years ago by arhuaco

This fix makes sense :-) ... Kind of specific tough. Anyone has reason for not doing this?

comment:2 Changed 10 years ago by andy

It will still be out of sync only in the event we woke and his finger is still down, it seems less likely than the behaviour Lindi mentions. We could perhaps issue the input event for up in suspend function if we were down.

comment:3 Changed 10 years ago by marek

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.