bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)

This has happened on some versions of Ubuntu.
This commit is contained in:
JohnnyNajera 2019-12-10 02:30:01 +02:00 committed by Terry Jan Reedy
parent 232689b40d
commit bbc4162baf
3 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -257,6 +257,7 @@ class AutoCompleteWindow:
# 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

View File

@ -0,0 +1,2 @@
Fix IDLE autocomplete windows not always appearing on some systems.
Patch by Johnny Najera.