[Gambas-user] ShowModal()
Benoit Minisini
gambas at ...1...
Fri Aug 27 23:43:17 CEST 2004
On Saturday 28 August 2004 00:13, Charlie Reinl wrote:
> Salut Benaoit,
>
> I had been back to gambas-0.97 and gambas-0.97a my exampl the InpputBox
> run like it sould.
> At gambas-0.98 and gambas-0.98a it don't run with ShowModal() (0.98 and
> 0.98a Iinstalled new from the tar-pack and dit the 3.
>
> What dit mainly change since 0.98 .
> Is my qt to old ?
>
> Using:
> gentoo 1.4
> Qt: 3.3.2
> KDE: 3.2.2
> gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6)
>
> The ShowModal() is known by the completation.
> I changed Form controles are public to FALSE. That ditn't chagne anything.
> I ran it as root. That ditn't chagne anything.
>
> But the IDE, even a Copy from the IDE ran in the IDE, works.
>
> Have you any debug hints for me ?
>
> My be it's my style to call it ?
>
> I made the attached project ShowModalTest, No Idea, it don't run. Show
> works ShowModal ditn't. ???????????
>
> In attached ShowModalTest2 it works.
> But only after one failed run ( stoped after the Msbox, where the IDE shout
> down), then it reclams a StartUp Class, which was set befor.
>
> If you have any debug hint for me , that would be greate.
> (Startin gambas in a xconsole shows nothing.)
>
> Amicalement
> Charlie
You have found a bug, and a stupid one :-) If the first created window was
shown modal, then I tried to make the window its own parent. That made Qt
library enters an infinite loop...
I join a patch...
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CWindow.cpp
Type: text/x-c++src
Size: 43253 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040827/1f4ba364/attachment.cpp>
More information about the User
mailing list