[Gambas-devel] Some new ugly bugs using gb.gtk

Benoit Minisini gambas at ...1...
Mon Nov 5 14:42:16 CET 2007


On lundi 5 novembre 2007, José Luis Redrejo wrote:
> I continue testing gtk/qt components trying to get them as similar and
> working perfectly prior to the 2.0 release.
> I have attached a small project to illustrate two bugs using gtk (with qt
> the same project work perfectly).
> - To test the first bug you only have to click on the listview and see how
> its content changes to ugly characters. It only happens if you use the
> selected event of the listview object.
> - To test the second bug you need to drag and drop anything from the
> desktop or nautilus over the tabstrip object: Using gnome the desktop
> freezes until you go to a tty and execute "killall -9 nautilus", then you
> can drag and drop without any problem over the tabstrip until the project
> is restarted.
>
> Don't hesitate to contact me if you  need further explanation about them.
> Tested on Debian, gnome and using gambas2 1.9.90.
> Regards.

The first bug has been fixed in the last revision. It was an old Daniel's code 
that badly interacted with my own new code.

As for the second bug, it seems that GtkNoteBook widget is a drag & drop 
destination by default, for apparently no reason. I disabled that, and so 
your bug should be fixed.

But I think that the problem will remain if you set TabStrip.Drop property 
manually.

I noticed too that dropping from Firefox to a GTK+ Gambas application does not 
work correctly. For example, only the first character of the drop is got, no 
idea why.

Regard,

-- 
Benoit Minisini




More information about the Devel mailing list