GNOME Bugzilla – Bug 720823
Completion sizing issues
Last modified: 2014-06-02 21:39:17 UTC
In some cases, the vertical scrollbar is not visible in the completion window. And sometimes the first row is almost hidden. The problem comes mainly from the CompletionContainer: https://git.gnome.org/browse/gtksourceview/tree/gtksourceview/gtksourcecompletioncontainer.c#n21 I wrote this code without a lot of experience in GTK+ sizing and container implementation. And since there are some bugs, it seems it is not implemented correctly. A document that can help: https://wiki.gnome.org/HowDoI/CustomWidgets Perhaps the custom container was a bad idea, the purpose was to have a simple code in gtksourcecompletion.c: just put the GtkTreeView in the container and let the magic do the rest.
It should be fixed now: https://git.gnome.org/browse/gtksourceview/commit/?id=b37c7dbbb00c7c9e710c5a4b0ee7d4a9eb38830d https://git.gnome.org/browse/gtksourceview/commit/?id=99073e747247f328cbc1e1a32e57638b4854c8a1