[Gambas-user] Smooth Scrolling (not happening)

Benoît Minisini gambas at ...1...
Wed Jun 10 14:06:32 CEST 2009


> Hi all,
>
> Some of you may have seen my project... a GUI installer for VectorLinux.
> I've gotten the functionality parts to work, and it's all good. I do
> have one annoyance that I can't shake and this is where I need help.
>
> While packages are being installed, I have a scrollview that scrolls
> through the credits of all the people making the distro possible. Sort
> of like movie credits.
> The names come from a text file, and each name is turned into a
> textlabel inside the scrollview. A timer object automatically handles
> the scrolling (set to 25-50).
>
> The problem is that I need this to sroll while a bunch of shell
> commands run in the background.
> These shell commands being executed are really packages being
> installed, so depending on the size of the package, the system may
> take longer to free up the process object.
>
> The timer object lags while the shell process is running in the
> background, so the scrolling is not smooth at all.
> The timer object and its event are not at all related to the function
> that runs the shell processes. It resides on a separate function on a
> separate module.
>
> Any one have any pointers I could follow?
>
> Thanks
>

There were many fixes in process output and file descriptors watching 
management in the interpreter recently, especially in the gb.gtk component.

Does it work better with the last revision (>= #2008) ?

-- 
Benoît




More information about the User mailing list