Sorry for that terrible report.
After testing a bit more, this happens with a list control having a lot of element and a vertical scrollbar, not with an editbox. It also only happens when using mouse wheel (or possibly it's way more visible with mouse wheel)
Execute /scrollbug and scroll the list control with the mouse wheel:
alias scrollbug window -pdfo @scrollbug -1 -1 200 200 | dialog -mo testq testq | scrollbug1
alias scrollbug1 var %a 100 | while (%a) { drawrect -fr @scrollbug $r(1,16777215) 0 0 0 200 200 | dec %a } | .timerscrollbug -h 1 0 scrollbug1
on *:close:@scrollbug:.timerscrollbug off | if ($dialog(testq)) dialog -x testq
dialog testq {
size -1 -1 200 200
list 1, 5 5 100 160, vsbar
}
on *:dialog:testq:init:*:var %a 20 | while (%a) { did -a testq 1 line $+ %a | dec %a }
on *:dialog:testq:close:*:.timerscrollbug off | window -c @scrollbug
When you use the mouse wheel to scroll the list control in the dialog, the @scrollbug window will stop displaying a random color for a while, with a very long list and depending on the code executed by the timers and other factors, you can end up with no triggering at all.
I'm on windows 7, mouse is logitech M235 and is set up to scroll 3 lines for mouse wheel.