[Github-comments] [geany/geany] Windows/GTK3: Message window reduces its height after restart (#2591)

Colomban Wendling notifications at xxxxx
Fri Sep 3 13:47:19 UTC 2021


@eht16 if you can try and debug it, I suppose you'll see that the value you get with `gtk_paned_get_position()` is smaller than the one set with `gtk_paned_set_position()` a couple ms before?  If so, a sad hack could be something like:
```C
gtk_paned_set_position(paned, pos);
for (int i = 1; i < SOMELIMIT && gtk_paned_get_position(paned) < pos; i++) {
    gtk_paned_set_position(paned, pos + i);
}
```
or a smarter version that would guess the delta from the actual difference, if that can give useful info.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2591#issuecomment-912552971
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210903/0fc13046/attachment.htm>


More information about the Github-comments mailing list