[Github-comments] [geany/geany] Gtk-Warning at startup when opened file contains a long line (#2700)

nomadbyte notifications at xxxxx
Tue Dec 22 07:16:21 UTC 2020


Geany 1.38 shows a Gtk-Warning at startup

```
(geany:29297): Gtk-WARNING **: 00:58:33.911: Negative content height -6 (allocation 1, extents 7x0) while allocating gadget (node scrollbar, owner GtkScrollbar)
```
This seems to be triggered when:
1. the file being opened at startup contains a long current (saved) line that stretches beyond the current window size (in this case it was maximized)
2. AND the Line wrapping is enabled in preferences (Preferences>Editor[Features]:Line wrapping)

Geany starts and opens the file Ok, however the line in question appears non-wrapped, yet it's expected to be.

---------------

```
geany -V
geany 1.38 (built on 2020-12-19 with GTK 3.22.30, GLib 2.56.4)

uname -a
Linux testbox 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
```


-- 
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/2700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201221/ae498d29/attachment.htm>


More information about the Github-comments mailing list