You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDLE: Completion window misplaced when shown above current line #82030
When the current line is near the bottom of the shell window, the completions list will be shown above it. However, instead of appearing directly above the current line, it appears quite a bit higher, about one line too high. See attached screenshot.
What I reported is that it is too low on my Windows system, with my size and font, mostly covering the line. Anyway, misplaced before, now perfectly placed.
Now that I see the patch, I seem to remember another place what an update call is needed before gathering window information.
Unless you say differently, I will add idlelib/NEWS.txt item tomorrow and merge.
New changeset 71662dc by Terry Jan Reedy (Tal Einat) in branch 'master': bpo-37849: IDLE: fix completion window positioning above line (GH-15267) 71662dc
Activity
taleinat commentedon Aug 14, 2019
When the current line is near the bottom of the shell window, the completions list will be shown above it. However, instead of appearing directly above the current line, it appears quite a bit higher, about one line too high. See attached screenshot.
Seen on Windows 10 with current master (2a570af).
First brought up by Terry Reedy in a comment on PR #59374 [1].
[1] #15169 (comment)
taleinat commentedon Aug 14, 2019
See PR #59472 with a fix.
terryjreedy commentedon Aug 14, 2019
What I reported is that it is too low on my Windows system, with my size and font, mostly covering the line. Anyway, misplaced before, now perfectly placed.
Now that I see the patch, I seem to remember another place what an update call is needed before gathering window information.
Unless you say differently, I will add idlelib/NEWS.txt item tomorrow and merge.
taleinat commentedon Aug 14, 2019
I've added an idlelib/NEWS.txt entry to the PR. Feel free to merge.
terryjreedy commentedon Aug 14, 2019
New changeset 71662dc by Terry Jan Reedy (Tal Einat) in branch 'master':
bpo-37849: IDLE: fix completion window positioning above line (GH-15267)
71662dc
miss-islington commentedon Aug 14, 2019
New changeset 557802d by Miss Islington (bot) in branch '3.8':
bpo-37849: IDLE: fix completion window positioning above line (GH-15267)
557802d
miss-islington commentedon Aug 14, 2019
New changeset 88cce7b by Miss Islington (bot) in branch '3.7':
bpo-37849: IDLE: fix completion window positioning above line (GH-15267)
88cce7b