[Gambas-devel] BUG: gb3 Frame appearance in IDE

Benoît Minisini gambas at ...1...
Sat Dec 12 12:50:33 CET 2009


> 2009/12/12 Benoît Minisini <gambas at ...1...>:
> >> 2009/12/12 Benoît Minisini <gambas at ...1...>:
> >> >> 2009/12/12 Kadaitcha Man <nospam.nospam.nospam at ...176...>:
> >>
> >> I deselect gb.gui, select qb.qt4, gb.qt4.ext and gb.image.
> >
> > Apparently you are using Gnome, so the reason of that behaviour is what I
> > explained above. The IDE uses gb.qt4, and when you run your program, as
> > you checked gb.gui, the gb.gtk component is used. So you are seing two
> > different toolkits.
> 
> Huh? I said I deselected gb.gui. gb.gui is unchecked.
> 

Oops, sorry I misread you. When I try what you say on my Mandriva/KDE4, I have 
no problem. I don't see any reason why the Gambas IDE will use a different 
widget style than the run project, if both use gb.qt4... Very strange!

Which distribution do you use?

Can you try to run your project from the command line and see if there is any 
difference?

$ cd /path/to/my/project
$ gbx3

And can you try to use gdb to see if the same GUI shared libraries are loaded 
when running the IDE, and when running your project?

$ cd /path/to/gambas/sources/app/src/gambas3
$ gbc3 -agt # compile all if that was not done.
$ gdb gbx3
(gdb) run
...

$ cd /path/to/my/project
$ gdb gbx3
(gdb) run
...

Normally, gdb will display a message for each shared library loaded. Then we 
will be able to compare what is loaded in both cases.

Thanks in advance.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list