wxGTK 2.8.7 AUI Hint Rendering Broken

ATS asteinarson at gmail.com
Tue Dec 18 10:58:35 PST 2007


 <jon at ...> writes:

> WX      : 2.8.7
> OS      : Redhat EL 3
> COMPILER: GCC
> 
> There seems to be a problem in wxGTK 2.8.7 with wxAUI's hint-window rendering.

While dragging the window, X has mouse capture, so this hangs your
session when the error happens.

To break the capture, (quite useful when debugging GDK (and X) apps 
on Linux): Ctrt-Alt-NumDiv (hit at the same time). If your X server
is set up to accept this, it releases the mouse capture. 

You might have to enable this in your xorg.conf file (something like 
DeactivateGrabs should be set).

Regards
// ATS.


> 
> I'm getting an assert dialog just before the hint window should be  
> drawn when I'm floating a panel over a window.
> 
> Making matters worse, when the stack trace pops up, it hangs my x  
> server, making debugging this very difficult!
> 
> OK, here's the stack trace (recreated from my notes, since the X  
> server locks up):
> Assert in wxFrame::GtkOnSize: m_window != NULL : Line 330
> Called By: wxTopLevelWindowGTK::Show : Line 924
> Called By: wxAuiManager::ShowHint : Line 3173
> Called By: wxAuiManager::DrawHintRect : Line 3398
> Called By: wxAuiManager::OnFloatingPaneMoving : Line 3510
> 
> This problem can be demonstrated using the auidemo sample app. But the  
> problem only appears with a Debug build. (Release builds "work", but  
> of course I'm suspicious...)
> 
> Any help fixing this would be appreciated.
> 
> Thanks,
> Jon
> 
> ps. If possible, reply to me and the list - thanks.
> 




More information about the wx-dev mailing list