Repository navigation
IDLE Show completions pop-up not working on Ubuntu Linux #89356
Description
Activity
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.)
- added3.10 (EOL)end of lifeend of life3.11only security fixesonly security fixes3.9 (EOL)end of lifeend of life
on Sep 14, 2021 - added3.9 (EOL)end of lifeend of lifetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Sep 14, 2021 - addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on 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:
TK_VERSION = tuple(map(int, tk.call("info", "patchlevel").split("."))) if (8, 6, 8) <= TK_VERSION < (8, 6, 10): acw.update_idletasks()
Also we might check if calling .update() is enough, since that does less than .update_idletasks().
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
It's too late for 3.9, right?
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.
- added3.11only security fixesonly security fixes3.10 (EOL)end of lifeend of lifeand removed3.9 (EOL)end of lifeend of life
on Jun 27, 2022
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:
bugs.python.org fields: