Skip to content

bpo-38943: Fix IDLE autocomplete window not always appearing #17416

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

Merged
merged 11 commits into from
Dec 10, 2019
3 changes: 3 additions & 0 deletions Lib/idlelib/NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Released on 2020-10-05?
======================================


bpo-38943: Fix autocomplete windows not always appearing on some
systems. Patch by Johnny Najera.

bpo-38944: Excape key now closes IDLE completion windows. Patch by
Johnny Najera.

Expand Down
1 change: 1 addition & 0 deletions Lib/idlelib/autocomplete_w.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def winconfig_event(self, event):
# place acw above current line
new_y -= acw_height
acw.wm_geometry("+%d+%d" % (new_x, new_y))
acw.update_idletasks()

if platform.system().startswith('Windows'):
# See issue 15786. When on Windows platform, Tk will misbehave
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix IDLE autocomplete windows not always appearing on some systems.
Patch by Johnny Najera.