Ticket #889 (new defect)
System bell beeps on keyboard input in RenderFrames with Panda
| Reported by: | mike | Owned by: | mike |
|---|---|---|---|
| Priority: | highest | Milestone: | backlog |
| Component: | ui | Version: | |
| Keywords: | Cc: | ||
| Estimated Effort: | 1 day | Platform: | All |
| State: | Conceptualizing | Relative Size: | 1 |
Description
It seems like if the input is directed to the Panda render window, the system bell beeps on all keyboard input. Directing the input to the wx window stops this and can be done with this code:
if "win" in sys.platform:
from ctypes import windll
pandaWindow = windll.user32.GetWindow(self.window.GetHandle(), 0)
windll.user32.SetFocus(pandaWindow)
However, as soon as the render window is clicked, it gains focus again and starts beeping.
Change History
Note: See
TracTickets for help on using
tickets.
