After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723116 - Completion: space for an icon when there is no icons
Completion: space for an icon when there is no icons
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-27 18:22 UTC by Sébastien Wilmet
Modified: 2014-01-27 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2014-01-27 18:22:09 UTC
Steps:

1. Enable the "show-icon" property for the completion.
2. Show completion proposals that have an icon: in the GtkTreeView of the main completion window, you see the column on the left containing the icons.
3. Show completion proposals that don't have an icon: you still see the column on the left, but since there is no icons, there is an empty space.
4. Redo the previous step, now the space on the left has disappeared.

It seems that the GtkTreeView columns are not resized correctly. gtk_tree_view_columns_autosize() is called, but probably not at the right time.