Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 #103821

Merged
merged 7 commits into from
Feb 2, 2024

Conversation

chrstphrchvz
Copy link
Contributor

@chrstphrchvz chrstphrchvz commented Apr 25, 2023

Tested as a patch for 3.11.3 with Tk 8.6.13 (for both Aqua and XQuartz).

@chrstphrchvz
Copy link
Contributor Author

Note that, as an alternative to testing with unusual hardware, utilities like Karabiner Elements, AutoHotKey, and xdotool are useful for emulating mouse and keyboard events.

@chrstphrchvz

This comment was marked as outdated.

@chrstphrchvz chrstphrchvz marked this pull request as draft May 2, 2023 07:25
…which was broken due to incorrect delta on Aqua and XQuartz,
and probably not because of `.update_idletasks()`.
@chrstphrchvz chrstphrchvz marked this pull request as ready for review May 2, 2023 09:17
@serhiy-storchaka serhiy-storchaka changed the title gh-103820: Do not interpret buttons 4/5 as scrolling on non-X11 gh-103820: IDLE: Do not interpret buttons 4/5 as scrolling on non-X11 Feb 2, 2024
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) February 2, 2024 10:18
@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels Feb 2, 2024
@serhiy-storchaka serhiy-storchaka merged commit d25d4ee into python:main Feb 2, 2024
35 checks passed
@miss-islington-app
Copy link

Thanks @chrstphrchvz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 2, 2024
…on-X11 (pythonGH-103821)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
(cherry picked from commit d25d4ee)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
@bedevere-app
Copy link

bedevere-app bot commented Feb 2, 2024

GH-114901 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Feb 2, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 2, 2024
…on-X11 (pythonGH-103821)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
(cherry picked from commit d25d4ee)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
@bedevere-app
Copy link

bedevere-app bot commented Feb 2, 2024

GH-114902 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Feb 2, 2024
serhiy-storchaka pushed a commit that referenced this pull request Feb 2, 2024
…non-X11 (GH-103821) (GH-114901)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
(cherry picked from commit d25d4ee)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
serhiy-storchaka pushed a commit that referenced this pull request Feb 2, 2024
…non-X11 (GH-103821) (GH-114902)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
(cherry picked from commit d25d4ee)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…on-X11 (pythonGH-103821)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
@chrstphrchvz chrstphrchvz deleted the patch-103820 branch February 14, 2024 13:18
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
…on-X11 (pythonGH-103821)

Also fix test_mousewheel: do not skip a check which was broken due to incorrect
delta on Aqua and XQuartz, and probably not because of `.update_idletasks()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants