Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

touch-display.c (4.9 KB) - added by erikos 10 years ago.
Example program from Carlos that listens for raw events (touch begin/update/end), uses XFixesHideCursor to hide the cursor on startup
cursor-manager.c (2.2 KB) - added by garnacho 10 years ago.
Standalone app dealing with cursor visibility
0001-Cursor-tracker-only-display-the-cursor-in-mouse-trac.patch (9.1 KB) - added by erikos 10 years ago.
Cursor tracker for the toolkit-gtk3
tracker.py (283 bytes) - added by erikos 10 years ago.
test program that uses the toolkit code
0001-Cursor-tracker-only-display-the-cursor-in-mouse-trac.2.patch (4.1 KB) - added by erikos 10 years ago.
Patch for the shell to start tracking the input

Download all attachments as: .zip

Change History (13)

Changed 10 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

Changed 10 years ago by garnacho

Standalone app dealing with cursor visibility

Changed 10 years ago by erikos

Cursor tracker for the toolkit-gtk3

Changed 10 years ago by erikos

test program that uses the toolkit code

Changed 10 years ago by erikos

Patch for the shell to start tracking the input

comment:2 Changed 10 years ago by erikos

  • Keywords r? added

comment:4 follow-ups: Changed 10 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 10 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 10 years ago by erikos

Replying to manuq:

Testing in build os7:

  • Intro screen to set nick and colors does not hide mouse cursor

#4066

  • PyGame activities like Physics does not hide mouse cursor

#4067

comment:7 Changed 10 years ago by greenfeld

  • Keywords olpc-test-passed added; olpc-test-pending removed

This works in OLPC 13.1.0 os8/os9.

comment:8 Changed 10 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.