Opened 10 years ago

Closed 9 years ago

#149 closed defect (wontfix)

wx atomspec balloon focus bugs, mac

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: minor Milestone:
Component: Window Toolkit Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

On Mac, atomspec balloons take the keyboard focus preventing commands from being typed while a balloon is shown. To work around this I tried setting the focus to the main window after showing the balloon but that SetFocus() call is ignored. By trial and error I found that the Raise() method of the main window gives it back the focus while still leaving the balloon showing.

After that work-around, another problem is apparent. Mousing over another app that overlies the Chimera main window causes balloons to show over the other app, even though the mouse pointer is not over the other app. It is amazing that the window system will even give those mouse move events to the covered app. To work around this wx bug the balloon code only shows the balloon if Chimera has the focus. This runs into another wx Mac bug that if a panel such as the reply log is detached from the main window and has the focus, then wx says the Chimera app does not have the focus. So mouse over the main window will not show balloons even though Chimera does have the focus. I do not have a way to work around that bug.

Not going to work on this since we should switch to using Qt.

Change History (2)

comment:1 by Eric Pettersen, 10 years ago

Component: User InterfaceWindow Toolkit

comment:2 by Tom Goddard, 9 years ago

Resolution: wontfix
Status: newclosed

Switching to Qt toolkit.

Note: See TracTickets for help on using tickets.