GNOME Bugzilla – Bug 657949
Update of gtk2 (2.24.5-3 -> 2.24.6-1) renders File >Save >"Choose Format" list unreadable
Last modified: 2011-09-27 11:48:56 UTC
Created attachment 195397 [details] Screenshot showing unreadable "Choose Format" listbox On upgrade of gtk2 (2.24.5-3 -> 2.24.6-1), the file >save >"Choose Format" list box become unreadable in LibreOffice and GIMP. This occurs in Libre where "Tools >Options >LibreOffice >General >Use LibreOffice dialogue boxes" is unchecked. This occurs in GIMP with its default settings. Instead of the normal ~280 px width for the file >save >"Choose Format" list box which allow you to read the "All Formats", "ODT Text Document (.odt)", "OTT Document Template (.ott)", etc..., the list box is squished down to approximately 50 px wide making the list contents unreadable. (see attached screenshot newGTK-bug.jpg) Downgrading from gtk2 (2.24.6-1 => 2.24.5-3) fixes the problem in both Libre and GIMP.
I inadvertently merged the ellipsization code from 3.0 into 2.24. While I can't replicate your bug, I'm pretty sure that this is the reason. Can you please open gtk+/gtk/gtkfilechooserdefault.c, look for the filter_create() function, and remove the part that says g_object_set (G_OBJECT (cell), "ellipsize", PANGO_ELLIPSIZE_END, NULL); If this fixes the problem, I'll commit that fix for the next 2.24.7 release. Thanks!
Created attachment 195400 [details] [review] gtk2-dont-ellipsize-filters.diff Here's a test patch for if you can build a package with it.
@Federico works fine with that patch. OFFTOPIC: While you are at releasing a new version, can you also include bug 649979 ?
(In reply to comment #3) > @Federico works fine with that patch. Thanks! Pushed to gtk-2-24. > While you are at releasing a new version, can you also include bug 649979 ? Done.
*** Bug 659047 has been marked as a duplicate of this bug. ***
Could you please release a new 2.24.7 version including this and all the fixes added since 2.24.6? Or, at least, could you let me know when a new tarball is expected to be released? Thanks a lot :-)