mIRC Home    About    Download    Register    News    Help

Print Thread
#269155 01/07/21 10:43 AM
Joined: Jul 2006
Posts: 4,144
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
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


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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.

Joined: Jul 2006
Posts: 4,144
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
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.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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!
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
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.


Link Copied to Clipboard