[New-bugs-announce] [issue25015] Idle: scroll Text faster with mouse wheel

Terry J. Reedy report at bugs.python.org
Sun Sep 6 21:16:05 CEST 2015


New submission from Terry J. Reedy:

https://stackoverflow.com/questions/32414942/python-scroll-speed
At least on Win7, tk.Texts scroll, by default, at an anemic 2-3 lines per wheel click, ignoring the system wheel setting. What happens on other systems?  I consider this a probable tk bug, at least on Widows, but we can override the default (on Windows) with

def mousescroll(event):
   <scroll n lines>
   return 'break'
text.bind('<MouseWheel>', mousescroll)

turtledemo.__main__ has wheel code (for font resizing) for Windows, Linux, and Mac. Unless we can access system settings, we might add a config option.

----------
messages: 250013
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: Idle: scroll Text faster with mouse wheel
type: enhancement
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25015>
_______________________________________


More information about the New-bugs-announce mailing list