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 Show completions pop-up not working on Ubuntu Linux #89356
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=Nonecreated_at=<Date2021-09-14.06:29:20.436>labels= ['expert-IDLE', 'type-bug', '3.9']
title='IDLE Show completions pop-up not working on Ubuntu Linux'updated_at=<Date2022-01-24.01:25:34.268>user='https://github.com/taleinat'
I've also tested this on Windows 10 with the latest main branch (to be 3.11). The completions window works as expected with or without the recently added .update_idletasks() call.
I do recommend limiting this to macOS (platform.system() == "Darwin").
Ideally we'd test this on macOS with several versions of tcl/tk (8.6.8, 8.6.9, 8.6.10, 8.6.11) and limit it to only those versions where the fix is required:
See PR #72515 with proposed fix. It should be tested on macOS with several relevant versions of Tcl/Tk to ensure that the Tk version range used is correct.
Activity
taleinat commentedon Sep 14, 2021
The completion window never appears with Python version 3.9.7 and with the current main branch.
Ubuntu 20.04 (reproduced on two separate machines)
Tested with Tcl/Tk versions 8.6.10 and 8.6.11.
This is directly caused by the fix for issue bpo-40128. Commenting out that line resolves this issue entirely.
(See also the PR for that fix, PR #70859.)
taleinat commentedon Sep 14, 2021
I've also tested this on Windows 10 with the latest main branch (to be 3.11). The completions window works as expected with or without the recently added .update_idletasks() call.
I do recommend limiting this to macOS (platform.system() == "Darwin").
Ideally we'd test this on macOS with several versions of tcl/tk (8.6.8, 8.6.9, 8.6.10, 8.6.11) and limit it to only those versions where the fix is required:
Also we might check if calling .update() is enough, since that does less than .update_idletasks().
taleinat commentedon Sep 14, 2021
See PR #72515 with proposed fix. It should be tested on macOS with several relevant versions of Tcl/Tk to ensure that the Tk version range used is correct.
11 remaining items
pablogsal commentedon Oct 4, 2021
New changeset 7f2d049 by Pablo Galindo (Miss Islington (bot)) in branch '3.10':
bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343)
7f2d049
New changeset d08e4a8 by Pablo Galindo (Miss Islington (bot)) in branch '3.10':
bpo-45193: News for IDLE PR_28343 (GH-28348)
d08e4a8
iritkatriel commentedon May 18, 2022
It's too late for 3.9, right?
terryjreedy commentedon May 18, 2022
Yes. This was apparently fixed for 3.10 and 3.11 and left open for 3.9. But never got enough info to decide anything. Closing.