[Gambas-user] new GTK+ problems

Benoît Minisini gambas at ...1...
Sun Aug 26 20:07:42 CEST 2012


Le 26/08/2012 20:01, Benoît Minisini a écrit :
> Le 26/08/2012 18:50, Karl Reinl a écrit :
>> Salut Benoît,
>>
>> the attached project starts well if QT is used.
>> When switched to gtk the form crashes and keeps collapsed, and when you
>> try to expand you earn a #11
>> (I stripped all dependencies, because the problem is at startup )
>>
>>
>
> I confirm the crash.
>
> And I confirm that your application creates a directory in the user home
> directory, which is a bad thing.
>
> Either you create an hidden directory in the user home directory, or far
> better, you use the freedesktop standards:
> - .config for the configuration directory.
> - .local/share for the data.
>
> Regards,
>

I have fixed the crash. Now I have to find why the window starts with a 
null dimension. Anyway, your resizing method is far from optimal! Use 
the Move() method instead of setting X, Y, Width and Height one by one.

Regards,

-- 
Benoît Minisini




More information about the User mailing list