GNOME Bugzilla – Bug 664912
GtkGrid assumes 3x3
Last modified: 2012-03-09 06:50:04 UTC
Created attachment 202228 [details] Screenshot When loading files Glade assumes every GtkGrid has a 1x1 size but displayed UI is 3x3, no mater what widgets you packed inside (4x1, 2x2, etc...) Output files seems to be ok, loading routine seems to be broken and leaves glade UI in a inconsistent state. I think this bug is a blocker since it stops everyone to use GtkGrid widgets.
Juan recently made a tentative fix on the Grid so that we dont serialize n-row / n-columns anymore. The target behaviour is that Placeholders will be generated at load time in a grid so that the grid is the size of the bottom-left-most real widget. Placeholders will not come back the way they used to work with GtkTable, however your case is still a bug. Based on Juan's algorithm the top screenshot should be the right one (i.e. it should load a 3x1 grid... only because there is a real widget in the 3rd position and there are real widgets in the first position). I'm not sure why the extra placeholders are coming up, Juan is this fixed in master already ?
*** Bug 665156 has been marked as a duplicate of this bug. ***
I just found this bug (again). It is still present in 3.10 and git versions. Any progress here? There is a test file: https://raw.github.com/ldotlopez/eina/master/eina/playlist/eina-playlist.ui
Opps, somehow I forgot to omit placeholders while calculating the grid size. A new fix is in master, (at least the file loads properly now)
This bug is still present in Glade 3.11.
I just tested master and it is indeed fixed.
*** Bug 671696 has been marked as a duplicate of this bug. ***