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 720823 - Completion sizing issues
Completion sizing issues
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: 2013-12-20 14:24 UTC by Sébastien Wilmet
Modified: 2014-06-02 21:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2013-12-20 14:24:45 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.