Cursor should unhide when leaving window on Mac OS X

Bug #965986 reported by Yaio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
rdb

Bug Description

Panda3D current trunk, Lion.

If I create the main window two times, with a hidden cursor, I can't also show the cursor if it is out of the window. Instead, in Windows and Linux the behavior is correct: the cursor is shown when it is out of the window - it only happens in OSX. Here's the code that reproduces the problem:

from panda3d.core import WindowProperties
def createWindow( task ):
  base.openMainWindow()
  base.graphicsEngine.openWindows()
  wp = WindowProperties()
  wp.setCursorHidden( True )
  base.win.requestProperties( wp )
import direct.directbase.DirectStart
createWindow( None )
taskMgr.doMethodLater( .5, createWindow, 'createWindowTask' )
run()

Revision history for this message
rdb (rdb) wrote :

This will be fixed in the new Cocoa implementation I've been working on.

summary: - Cursor hidden (OSX)
+ Cursor should unhide when leaving window on Mac OS X
Changed in panda3d:
assignee: nobody → rdb (rdb)
status: New → In Progress
Revision history for this message
rdb (rdb) wrote :

This is fixed on current CVS with Cocoa implementation.

Changed in panda3d:
status: In Progress → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.