Re:Why did moving the mouse cursor cause Windows 95 to run m...
by shawnz on Wednesday July 03, 2019 @10:33AM
(#20344607)
It's not clear that this is caused by the same effect. A commenter suggests that this behaviour is actually due to how mouse acceleration affects scrolling speed which I am more inclined to believe.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by kllrnohj on Wednesday July 03, 2019 @12:00PM
(#20345486)
Yeah there is no way this has anything to do with the same behavior. What's likely happening is there's a delay in auto-scroll, and by generating new mouse events your triggering manual scrolls at a higher rate (or in addition to?) than auto-scroll.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by codedokode on Wednesday July 03, 2019 @09:04PM
(#20350610)
I think it is not acceleration, but rather a position of mouse relative to the edge of a window.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by dTal on Wednesday July 03, 2019 @11:15AM
(#20344965)
I think you'll find that Shift + Page Down is the fastest way to mark a lot of text, since you're doing it page by page instead of character by character.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by Stratoscope on Wednesday July 03, 2019 @12:54PM
(#20346137)
Or, since GP said "mark all text", use Ctrl/Command+A.
Of course neither of these would demonstrate the effect they were talking about.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by layoutIfNeeded on Wednesday July 03, 2019 @02:05PM
(#20346866)
ggVG
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by Stratoscope on Thursday July 04, 2019 @01:08AM
(#20351734)
ggVG
I typed that into Notepad and it did exactly what I expected: it displayed 'ggVG' in the edit window. I can even save it to a file!Thank you for the tip.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by AgentME on Wednesday July 03, 2019 @11:44PM
(#20351330)
I've implemented the behavior of "scroll the field down while the user is holding something selected" before, and my initial implementation had this bug, so I think I can explain a likely reason this happens. My code listened to mouse movement events, and if a selection was present and the mouse was moved into the top or bottom regions of the scrollable area, then the area would scroll a bit, and a recurring timer for some number of milliseconds would be started (if already active, then it would be reset) which would case the area to scroll a bit more. (This timer would be canceled if the mouse was moved out of the auto-scroll region.) If you continually moved the mouse, then it's possible the application would get the mouse movement events at a higher rate than the timer would fire, so the scrollable area would scroll faster. I think I found out that the platform would emit the mouse movement events at up to 60fps, so I just tweaked the timer to match that. Not a perfect solution, maybe I'll update it eventually to check the system time and scroll slower if the mouse move events are arriving faster than the timer.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by michrassena on Wednesday July 03, 2019 @01:40PM
(#20346591)
I don't know the reason for that, but like the cursor to mark the progress bar method above, I do this trick to this day. You don't have to highlight first, you can just highlight as you go, wiggle the mouse outside of the bounds of the window, and then deselect when you get where you're going. And it's not just in Notepad, I do this in a programmers editor too.
Isn't it funny that many of us learned these sames ways of interacting with computers without being explicitly taught. If this were on the Internet, I would say it's a way to gauge whether you're a robot, but otherwise, it's just a measure of my impatience. Maybe it's just an acquired skill from growing up playing video games.
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by metalchianti on Wednesday July 03, 2019 @10:20AM
(#20344487)
Strange but mine doesn't scroll UNLESS I move the mouse. I wonder if this is because I have the "Adjust for best performance" option set?
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by Qcombinator on Wednesday July 03, 2019 @08:10PM
(#20350322)
This applies to Macs as well. Or at least it used to, in some situations — now that I think about it, I can't really recall the last time I did that. The standard behaviour now seems to be scrolling faster the farther the mouse is from the edge of the pane (which is clearly a deliberate, and useful, UI decision).
Re:Why did moving the mouse cursor cause Windows 95 to run m...
by cabaalis on Wednesday July 03, 2019 @12:49PM
(#20346095)
I had completely forgotten about the mouse-wiggling trick! It's just one of those things I used to do without thinking about it. It makes sense that an event loop was waiting for an event to fire.
It's not just Notepad :-) I do this often, when I have to mark a lot of things.