Below is a test file (test-long-line.txt) that produces the warning.

The steps to trigger the warning:

1. Start from a clean configuration, disable plugins
```
G_MESSAGES_DEBUG=all geany -v -p -c test-config
```
2. Open the test-long-line.txt
3. Turn *Preferences>Editor[Features]:Line wrapping: ON*
4. Close Geany
5. Re-open Geany
```
G_MESSAGES_DEBUG=all geany -v -p -c test-config
```
The warning is shown
```
(geany:5387): Gtk-WARNING **: 02:41:25.761: Negative content height -6 
(allocation 1, extents 7x0) while allocating gadget (node scrollbar, owner 
GtkScrollbar)
```
6. Disable the line wrapping: *Preferences>Editor[Features]:Line wrapping: OFF*
7. Re-open Geany
```
G_MESSAGES_DEBUG=all geany -v -p -c test-config
```
NO warning is shown

-----------
[test-long-line.txt](https://github.com/geany/geany/files/5728752/test-long-line.txt)


-- 
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#issuecomment-749428870

Reply via email to