]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-43699: Defer the drag cursor in tkinter.dnd until the pointer moves (GH-152371)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Jul 2026 12:49:43 +0000 (15:49 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 12:49:43 +0000 (15:49 +0300)
commit8f06112b8fbc716b2f11fc77fe5fa0731e4f5cd3
treebcf6b99a912f3c259b27601860caaefdddd2d72b
parent3d9d6c8ccbc2a041b8d29c67516d1728442e4f41
gh-43699: Defer the drag cursor in tkinter.dnd until the pointer moves (GH-152371)

The drag cursor is now changed only once the pointer starts moving past
a small threshold rather than on the initial button press, so that a
plain click no longer flashes it.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_tkinter/test_dnd.py
Lib/tkinter/dnd.py
Misc/NEWS.d/next/Library/2026-06-27-12-00-00.gh-issue-43699.Zt46MI.rst [new file with mode: 0644]