#4021 closed task (fixed)
Touch: Hide/show mouse cursor based on input method
Reported by: | erikos | Owned by: | erikos |
---|---|---|---|
Priority: | Urgent | Milestone: | |
Component: | Sugar | Version: | 0.97.x |
Severity: | Major | Keywords: | r+, olpc-test-passed |
Cc: | Distribution/OS: | OLPC | |
Bug Status: | Assigned |
Attachments (5)
Change History (13)
comment:1 Changed 11 years ago by erikos
Changed 11 years ago by erikos
Example program from Carlos that listens for raw events (touch begin/update/end), uses XFixesHideCursor to hide the cursor on startup
comment:2 Changed 11 years ago by erikos
- Keywords r? added
comment:3 Changed 11 years ago by erikos
- Keywords r+ olpc-test-pending added; r? removed
- Resolution set to fixed
- Status changed from new to closed
comment:4 follow-ups: ↓ 5 ↓ 6 Changed 11 years ago by manuq
Testing in build os7:
- Intro screen to set nick and colors does not hide mouse cursor
- PyGame activities like Physics does not hide mouse cursor
comment:5 in reply to: ↑ 4 Changed 11 years ago by garycmartin
Replying to manuq:
Testing in build os7:
- Intro screen to set nick and colors does not hide mouse cursor
OSK also didn't appear for me, but I might have been caught out by #4051 at the time (need to retest).
- PyGame activities like Physics does not hide mouse cursor
Yea, it's on my list for a fix in Physics (I needed to draw a fake png sprite and hide the cursor as pygame does not support gtk cursors and shows a nasty 1 bit pointer), though I'm not yet sure how I'm going to implement the touch detection vs. mouse movement.
comment:6 in reply to: ↑ 4 Changed 11 years ago by erikos
comment:7 Changed 11 years ago by greenfeld
- Keywords olpc-test-passed added; olpc-test-pending removed
This works in OLPC 13.1.0 os8/os9.
Note: See
TracTickets for help on using
tickets.
Resources:
gnome-settings-daemon has similar functionality:
We can listen on RawEvents: do a listener like with the key-grabber or gesture-grabber but listen on Rawevents this time.