wxAUI: wxGTK Problems when the main frame is Raise()d
Alex Bligh
alex at alex.org.uk
Sun Aug 6 13:26:29 PDT 2006
When someone double clicks on another document, I (through various
circuitous routes) do a Raise() on my mainframe (which is I
think reasonable behaviour). On Ubuntu Dapper as standard (and
with many other distros and WM's), this causes the applications
"tab" icon on the status line to flash.
Under normal circumstances, clicking on the tab (which /actually/
brings it to the front) is enough to quiet the flashing.
However, if I have floating panes, something bad happens. In
essence, clicking on the tab does not quiet the flashing.
This is because the floating pane is at the front and gets
focus. The main frame does not get focus, and Metacity still
thinks it needs to flash the title indicator. There is no
way to get rid of this except click on the main frame title
bar.
A related problem seems to be that if wxFloatingPanes are
created on application init, and the MainFrame is then
raised() at the end, it is raised on top of the floating
panes (which are then behind the main frame).
I'm not sure of the best way to go about fixing either of
these. Any ideas?
Alex
More information about the wx-dev
mailing list