mIRC Home    About    Download    Register    News    Help

Print Thread
fast display and scrolling #269155 01/07/21 10:43 AM
Joined: Jul 2006
Posts: 3,790
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,790
I was debugging something which flood-echo debug line in status window, this is from a very fast timer.

In previous version of mIRC, I could easily go to the status window, give it a small scroll up, and the scroll would go up as expected and stay there meanwhile the window is still receiving massive amount of lines, aka it would not scroll down automatically.

This is no longer the case on 7.66.

Now I can barely get mIRC to stop scrolling down automatically, depending on the speed/amount of lines getting echoed: it's nearly impossible to manually scroll up to get it to stop scrolling down, in my specific case which made me write this report, even holding the page up key will not work, even holding control + start won't do it unless you held it for a while (same for page up depending on the number of lines).

Here is a script that more or less reproduce my case, you can add more echo to get more lines, this sample is enough to show the problem for me:

Code
//timerflood -ho 100000 0 echo -s this is some debug line, pretty long $(|) var -s % $+ i $!ticks $(|) echo -s more flood there


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: fast display and scrolling [Re: Wims] #269161 02/07/21 06:32 AM
Joined: Dec 2002
Posts: 4,954
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,954
Thanks for your bug report. There have been no changes to how timers work or to the way text is displayed in v7.66. If you are using a /timer to display text at a fast speed, it is very likely that the timing of events have created a situation where window messages, timers, key presses, etc. are all being processed in a certain sequence.

Re: fast display and scrolling [Re: Khaled] #269162 02/07/21 08:09 AM
Joined: Jul 2006
Posts: 3,790
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,790
I assume no change happened to the ordre of processing Windows messages as well, but once the scrolling message is processed, it should be scrolling up and never go down, if that is the intended behavior, so I feel like something changed somewhere.

Last edited by Wims; 02/07/21 11:40 AM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: fast display and scrolling [Re: Wims] #269176 10/07/21 12:49 AM
Joined: Feb 2003
Posts: 2,773
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,773
Khaled changed the default /fupdate value to 95. This will change the behavior of how mIRC updates the scroll buffer. Instead of going line-by-line, it will now blaze by in pages when it begins to backlog on your slow computer.

Try On *:START: fupdate 0 since you preferred the old sluggish behavior.



Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: fast display and scrolling [Re: Wims] #269179 11/07/21 07:31 AM
Joined: Dec 2002
Posts: 4,954
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,954
I just tested your script and the behaviour is present in all versions of mIRC that support /fupdate, back to v7.52. /fupdate itself uses a timer, so the issue is your timer, the /fupdate timer, and key press messages, arriving at different times. I might be able to find a way around this for the next beta.