bpo-15786: IDLE: Fix autocomletetion mouse click and freeze behavior#1517
bpo-15786: IDLE: Fix autocomletetion mouse click and freeze behavior#1517louisom wants to merge 6 commits into
Conversation
|
@lulouie, thanks for your PR! By analyzing the history of the files in this pull request, we identified @kbkaiser, @terryjreedy and @Yhg1s to be potential reviewers. |
Sorry, something went wrong.
The root cause is we destory autocompletewindow to fast, thus tk can't focusOn widget, we should re-focus on widget first, then destory autocompletewindow.
|
@terryjreedy This fixed the MacOS freeze and double click disappear problem, please help to take a review |
Sorry, something went wrong.
terryjreedy
left a comment
There was a problem hiding this comment.
Trivial formatting change.
Does not solve issue on Windows.
Sorry, something went wrong.
|
I must admire your work in IDLE, terry. Tk has bunch of cross-platform holes. On windows it can't work is because somehow winconfig will be trigger multiple time (just like a infinity loop), and let Tk can't respond to Double-ButtonRelease. The fix will unbind winconfig_event when we are in the windows platform to prevent this problem. |
Sorry, something went wrong.
No description provided.