From bbc4162bafe018f07bab0b624b37974cc33daad9 Mon Sep 17 00:00:00 2001 From: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com> Date: Tue, 10 Dec 2019 02:30:01 +0200 Subject: bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) This has happened on some versions of Ubuntu. --- Lib/idlelib/autocomplete_w.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/idlelib/autocomplete_w.py') diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py index f20b633099..0643c092c6 100644 --- a/Lib/idlelib/autocomplete_w.py +++ b/Lib/idlelib/autocomplete_w.py @@ -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 -- cgit v1.2.1