This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: IDLE: Windows 7 - Trackpad two-finger vertical scrolling is not recognized
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.8
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: Kritzy, terry.reedy
Priority: normal Keywords:

Created on 2021-01-30 03:26 by Kritzy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg385968 - (view) Author: Greg (Kritzy) Date: 2021-01-30 03:26
Up/down scrolling is not possible with a two-finger swipe on a trackpad. I'm using Lenovo's notably bad UltraNav drivers on Windows 7. Horizontal scrolling works just fine. PgUp and PgDn both behave as normal, as does ctrl + arrow keys.

I'm having this issue with IDLE for 3.8.7, and 3.7.9, but not 2.7.3 (which just happens to be the last version I had installed).
msg386552 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-02-06 08:34
Python has nothing to do with interpreting finger movements.
msg386561 - (view) Author: Greg (Kritzy) Date: 2021-02-06 15:00
That wasn't the case with

Was it not clear that I'm having this issue in (and only in) IDLE? Given that it's the interpreter bundled with python, it seems like it has *something* to do with it.
msg386565 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-02-06 17:54
This issue appears to be quite different from #34047.  The latter partly involved two then recent tcl/tk versions known to still be buggy on Mac.  It then determined to be directly a matter of how IDLE was interpreting the delta attribute of tk mousewheel events on Mac, where its meaning is confusingly different from what .delta means on Windows and Linux.  

For this issue, tk Text scrolling in IDLE is known to work on Windows when using a functioning mouse with functioning wheel and functioning driver.  You, on the otherhand, are using a 'notably bad' driver for a non-mouse device.  My conclusion is that tcl/tk is not sending proper mousewheel events to tkinter in response vertical double finger motions.  I strongly suspect that it is not getting proper mousewheel events from Windows.

#34047 was determined to very likely be an IDLE issue when I posted test file that had no IDLE code and Tal responded in msg321258 that scrolling worked fine when running that file.  (It should work the same whether run directly with Python or from an IDLE editor.)  Please run the same test on your system.  (The follow-up added a bit of IDLE code to see it *that* were the culprit.)
msg386566 - (view) Author: Greg (Kritzy) Date: 2021-02-06 19:26
I tested out (and, for kicks) and I couldn't get that to scroll either. I tried both with and without the ttk line commented.

To my shame, it looks like that means you're spot on, and that it's an issue between my machine and tcl/tk.

Thanks for the help, and sorry to waste your time!
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87237
2021-02-06 19:26:08Kritzysetmessages: + msg386566
2021-02-06 17:54:36terry.reedysetmessages: + msg386565
2021-02-06 15:00:27Kritzysetmessages: + msg386561
2021-02-06 08:34:12terry.reedysetstatus: open -> closed
versions: - Python 3.7
messages: + msg386552

resolution: third party
stage: resolved
2021-01-30 03:26:09Kritzycreate