[wx-dev] wxAUI: wxGTK Problems when the main frame is Raise()d

Alex Bligh alex at alex.org.uk
Mon Aug 7 13:06:20 PDT 2006


Apologies for reply to myself:

I think what's needed is a safe version of Raise() for the managed
frame, that keeps all the floating panes in front of it, and
does not affect focus. Any ideas?

Alex


Alex Bligh wrote:
> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
> 
> 





More information about the wx-dev mailing list