8000 bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) · python/cpython@bbc4162 · GitHub
[go: up one dir, main page]

Skip to content

Commit bbc4162

Browse files
JohnnyNajeraterryjreedy
authored andcommitted
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
This has happened on some versions of Ubuntu.
1 parent 232689b commit bbc4162

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Lib/idlelib/NEWS.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line number 8000 Diff line change
@@ -3,6 +3,9 @@ Released on 2020-10-05?
33
======================================
44

55

6+
bpo-38943: Fix autocomplete windows not always appearing on some
7+
systems. Patch by Johnny Najera.
8+
69
bpo-38944: Excape key now closes IDLE completion windows. Patch by
710
Johnny Najera.
811

Lib/idlelib/autocomplete_w.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ def winconfig_event(self, event):
257257
# place acw above current line
258258
new_y -= acw_height
259259
acw.wm_geometry("+%d+%d" % (new_x, new_y))
260+
acw.update_idletasks()
260261

261262
if platform.system().startswith('Windows'):
262263
# See issue 15786. When on Windows platform, Tk will misbehave
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix IDLE autocomplete windows not always appearing on some systems.
2+
Patch by Johnny Najera.

0 commit comments

Comments
 (0)
0