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

Re: Scrolling/keeping textArea down


On 9/23/25 1:41 PM, Lee wrote:
On 9/23/25 12:41 PM, Admin wrote:
23.09.2025 23:27, Lee пишет:
On 9/23/25 11:56 AM, Gianluigi wrote:
This simple project (attached) works here.
Perhaps containers are needed?

Your code works here too, Gianluigi.

But, containers are not needed. I moved the TextBox and Button outside of the HBox they were in, and the code still works.

I think the issue *may* be desktop environment related.


Well, here how it works on my home PC with Debian 13 LXQt and Gambas 3.20 or on any pc at my work with Debian 11, LXDE and Gambas 3.15:

https://allunix.ru/back/20250923_233606.mp4

I just installed a Debian 12 LXQt virtual machine with Gambas 3.18. With Gianluigi's code, I get the same odd behavior as what you show in your video. The .EnsureVisible method scrolls to a vertical position that is seemingly random.

The gb.gui component is triggering the loading of gb.gtk3 and gb.gtk3.x11 as neither gb.qt5 nor gb.qt6 are available with the base Gambas3 install on Debian 12.

Well, it appears that Qt6 is not available at all on Debian 12.

I installed gb.qt5, but gb.gui still prefers to select GTK3. When I explicitly choose to use the gb.qt5 component, .EnsureVisible works as expected.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


References:
Scrolling/keeping textArea downAdmin <admin@xxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea downBruce Steers <bsteers4@xxxxxxxxx>
Re: Scrolling/keeping textArea downgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Scrolling/keeping textArea downAdmin <admin@xxxxxxxxxx>
Re: Scrolling/keeping textArea downAdmin <admin@xxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea downAdmin <admin@xxxxxxxxxx>
Re: Scrolling/keeping textArea downGianluigi <gradobag@xxxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>
Re: Scrolling/keeping textArea downAdmin <admin@xxxxxxxxxx>
Re: Scrolling/keeping textArea downLee <t.lee.davidson@xxxxxxxxx>