[Gambas-user] repeatable IDE crash in 0.96

Benoit Minisini gambas at ...1...
Fri Aug 13 00:27:23 CEST 2004


On Wednesday 11 August 2004 20:58, Rob wrote:
> On Wednesday 11 August 2004 14:53, Benoit Minisini wrote:
> > What happens if you disable the "focus stealing prevention" ?
> > It is in the KDE control center, Window behaviour, fourth tab.
>
> OK, it was set to "low", now it's set to "none."  Now the message
> box pops up in my face, but I can still hit the stop button in
> the IDE, which makes my running project's window go away, and
> then when I click on the message box's OK button the gambas IDE
> still goes away.
>
> Rob
>

Damn it, I forgot to try at my jon on a fresh Mandrake 10.

Try to change that in CMessagebox.cpp:

Replace line 330:


By this code:

  mb->reparent((CWINDOW_Main ? CWINDOW_Main->widget.widget : 0), 
Qt::WType_TopLevel | Qt::WStyle_Customize | Qt::WStyle_DialogBorder | 
Qt::WStyle_Title | Qt::WStyle_SysMenu, mb->pos()); // WShowModal

Tell me the result...

P.S. Could you send me an archive of the wiki like last time, so that I update 
the doc ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list