<p></p>
<p>Below is a test file (test-long-line.txt) that produces the warning.</p>
<p>The steps to trigger the warning:</p>
<ol>
<li>Start from a clean configuration, disable plugins</li>
</ol>
<pre><code>G_MESSAGES_DEBUG=all geany -v -p -c test-config
</code></pre>
<ol start="2">
<li>Open the test-long-line.txt</li>
<li>Turn <em>Preferences>Editor[Features]:Line wrapping: ON</em></li>
<li>Close Geany</li>
<li>Re-open Geany</li>
</ol>
<pre><code>G_MESSAGES_DEBUG=all geany -v -p -c test-config
</code></pre>
<p>The warning is shown</p>
<pre><code>(geany:5387): Gtk-WARNING **: 02:41:25.761: Negative content height -6 (allocation 1, extents 7x0) while allocating gadget (node scrollbar, owner GtkScrollbar)
</code></pre>
<ol start="6">
<li>Disable the line wrapping: <em>Preferences>Editor[Features]:Line wrapping: OFF</em></li>
<li>Re-open Geany</li>
</ol>
<pre><code>G_MESSAGES_DEBUG=all geany -v -p -c test-config
</code></pre>
<p>NO warning is shown</p>
<hr>
<p><a href="https://github.com/geany/geany/files/5728752/test-long-line.txt">test-long-line.txt</a></p>

<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#issuecomment-749428870">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZFZFV3AS3DANDJ3TTSWBNQBANCNFSM4VFHQYUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6OKCWDUNDROBIVYK3SWBNQBA5CNFSM4VFHQYUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFSVWBBQ.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#issuecomment-749428870",
"url": "https://github.com/geany/geany/issues/2700#issuecomment-749428870",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>