Mouse input doesn't work in fullscreen mode on macOS

Bug #1500026 reported by Yaio
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
High
rdb

Bug Description

I'm using Panda3D 1.9.0 (official build) on OSX 10.9. If I run the following code into a window it works (I can click on the button and it changes its text). But, if I run it fullscreen, then it doesn't "catch" the mouse click (so, the button doesn't change its text).

from panda3d.core import loadPrcFileData, WindowProperties
loadPrcFileData('', 'fullscreen 1')

from direct.gui.DirectGui import *
import direct.directbase.DirectStart

def changeText(): b['text'] = 'clicked'

b = DirectButton(text='not clicked', scale=.2, command=changeText)
base.run()

rdb (rdb)
tags: added: fullscreen macos
tags: added: cocoa
Revision history for this message
rdb (rdb) wrote : Re: Keyboard/mouse input doesn't work in fullscreen mode on macOS

Can also be reproduced by pressing Alt+Enter in pview.

Changed in panda3d:
importance: Undecided → High
status: New → Confirmed
summary: - DirectGui and fullscreen (OSX)
+ Keyboard/mouse input doesn't work in fullscreen mode on macOS
rdb (rdb)
summary: - Keyboard/mouse input doesn't work in fullscreen mode on macOS
+ Mouse input doesn't work in fullscreen mode on macOS
Revision history for this message
rdb (rdb) wrote :

Should be fixed now.

Changed in panda3d:
assignee: nobody → rdb (rdb)
milestone: none → 1.10.0
status: Confirmed → 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.