<p></p>
<p>Geany 1.38 shows a Gtk-Warning at startup</p>
<pre><code>(geany:29297): Gtk-WARNING **: 00:58:33.911: Negative content height -6 (allocation 1, extents 7x0) while allocating gadget (node scrollbar, owner GtkScrollbar)
</code></pre>
<p>This seems to be triggered when:</p>
<ol>
<li>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)</li>
<li>AND the Line wrapping is enabled in preferences (Preferences>Editor[Features]:Line wrapping)</li>
</ol>
<p>Geany starts and opens the file Ok, however the line in question appears non-wrapped, yet it's expected to be.</p>
<hr>
<pre><code>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
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2700">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ43MZQJEBFSCGDZEPDSWBBULANCNFSM4VFHQYUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7WZAA4AKHXTQBAAUTSWBBULA5CNFSM4VFHQYUKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LQOSHLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2700",
"url": "https://github.com/geany/geany/issues/2700",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>