[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

Vlad Tudorache report at bugs.python.org
Sun Aug 5 08:25:14 EDT 2018


Vlad Tudorache <tudorache.vlad at gmail.com> added the comment:

The solution was very simple on my Mac. In /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/idlelib/editor.py, lines 461-462 should be:

up = {EventType.MouseWheel: (event.delta >= 0) == darwin,
      EventType.Button: event.num == 4}

instead of:
up = {EventType.MouseWheel: event.delta >= 0 == darwin,
      EventType.Button: event.num == 4}

Does this solve the scrollbar locked down issue for anyone else?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34047>
_______________________________________


More information about the Python-bugs-list mailing list