Re: GTK3 - GtkExpander problem, bug ?
Thanks Matthias. I probably should have checked bugzilla first. Just rebuilt GTK to version 3.22.26 and it works fine. There is no click through after closing the expander. Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK3 - GtkExpander problem, bug ?
On Thu, Dec 14, 2017 at 7:58 PM, Sébastien Le Roux < sebastien.ler...@ipcms.unistra.fr> wrote: > Dear Eric, > thanks for your answer, and yes it is pretty much the same, the > differences in my case, > are: I use toggle buttons and I do not use a grid. > > Thanks you for providing me with this nice working example, I played with > it to illustrate the > bug because it happens with your code too, check the new 'test.c' file > attached ! > > I simply added a third expander and a third set of buttons, I invite you > to compile the code attached, > and play with it you will see, that at same point even it stops to > function properly. > > To start to have errors you can follow the following sequence: > 1) open the first expander > 2) open the second > 3) open the third > 4) close the second > 5) starting clicking on the second expander location (without buttons > visible) and it starts. > > I can only guess that the more expander you use the more messy it will get > ... hence the problems > with my program that uses 10. > > I can't be too sure since you don't say which version of gtk this is with, exactly, and it doesn't reproduce on my system (and the example only has 2 expandes, not 3...), but it sounds like you might be seeing a symptom of https://bugzilla.gnome.org/show_bug.cgi?id=774134 which is fixed in current releases of gtk 3.22. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK3 - GtkExpander problem, bug ?
Dear Eric, thanks for your answer, and yes it is pretty much the same, the differences in my case, are: I use toggle buttons and I do not use a grid. Thanks you for providing me with this nice working example, I played with it to illustrate the bug because it happens with your code too, check the new 'test.c' file attached ! I simply added a third expander and a third set of buttons, I invite you to compile the code attached, and play with it you will see, that at same point even it stops to function properly. To start to have errors you can follow the following sequence: 1) open the first expander 2) open the second 3) open the third 4) close the second 5) starting clicking on the second expander location (without buttons visible) and it starts. I can only guess that the more expander you use the more messy it will get ... hence the problems with my program that uses 10. Just so you know I overcame the issue using a TreeView in a ScrolledWindow instead of a bunch of Expander + ScrolledWindow, I do not think that it is as nice visually but it works smoothly. Best regards Sébastien Le Roux -- === Dr. Sébastien Le Roux Ingénieur de Recherche CNRS Institut de Physique et Chimie des Matériaux de Strasbourg Département des Matériaux Organiques 23, rue du Loess BP 43 F-67034 Strasbourg Cedex 2, France E-mail: sebastien.ler...@ipcms.unistra.fr Webpage: http://www-ipcms.u-strasbg.fr/spip.php?article1771 RINGS project: http://rings-code.sourceforge.net/ ISAACS project: http://isaacs.sourceforge.net/ Fax: +33 3 88 10 72 46 Phone: +33 3 88 10 71 62 === ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list