[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling/keeping textArea down


Le 24/09/2025 à 13:31, Benoît Minisini a écrit :
Le 24/09/2025 à 12:47, Benoît Minisini a écrit :
Hi,

I have just came back from a little trip and read all that thread.

The code that implements 'EnsureVisible()' in 'gb.gtk' has been written in 2011, and has never changed since.

It just a call to the GTK+ API 'gtk_text_view_scroll_mark_onscreen', that does all the job.

A few remarks:

- I confirm that with GTK+3 the function does random moves.

- The bug is weird.

- I have no problem with QT.

- QT implementation is completly unrelated, so if it does not work, this is not related at all with the GTK+ bug.

Regards,


I just tried with GTK+2 'gb.gtk' component, and it works as expected. But it's the exact same code than 'gb.gtk3'!

Regards,


I now really thinking that the GTK+3 GtkTextView widget is fully buggy related to scroll positioning... :-/

Still investigating...

--
Benoît Minisini.


Follow-Ups:
Re: Scrolling/keeping textArea downGianluigi <gradobag@xxxxxxxxxxx>
References:
Scrolling/keeping textArea downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Scrolling/keeping textArea downBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>