Skip to content

Commit

Permalink
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
Browse files Browse the repository at this point in the history
This has happened on some versions of Ubuntu.
  • Loading branch information
JohnnyNajera authored and terryjreedy committed Dec 10, 2019
1 parent 232689b commit bbc4162
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
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.

0 comments on commit bbc4162

Please sign in to comment.