Title: IDLE: completions toplevel blank on Tk Aqua 8.7 · Issue #104499 · python/cpython · GitHub
Open Graph Title: IDLE: completions toplevel blank on Tk Aqua 8.7 · Issue #104499 · python/cpython
X Title: IDLE: completions toplevel blank on Tk Aqua 8.7 · Issue #104499 · python/cpython
Description: cpython/Lib/idlelib/autocomplete_w.py Lines 185 to 190 in 27d8ecd # Put widgets in place self.autocompletewindow = acw = Toplevel(self.widget) # Put it in a position so that it is not seen. acw.wm_geometry("+10000+10000") # Make it float...
Open Graph Description: cpython/Lib/idlelib/autocomplete_w.py Lines 185 to 190 in 27d8ecd # Put widgets in place self.autocompletewindow = acw = Toplevel(self.widget) # Put it in a position so that it is not seen. acw.wm_...
X Description: cpython/Lib/idlelib/autocomplete_w.py Lines 185 to 190 in 27d8ecd # Put widgets in place self.autocompletewindow = acw = Toplevel(self.widget) # Put it in a position so that it is not seen. acw.wm_...
Opengraph URL: https://github.com/python/cpython/issues/104499
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IDLE: completions toplevel blank on Tk Aqua 8.7","articleBody":"https://github.com/python/cpython/blob/27d8ecd7f3325a40a967d2d6b6b36b21d5328753/Lib/idlelib/autocomplete_w.py#L185-L190\r\n\r\nUsing `wm geometry` to move an overrideredirect toplevel far enough offscreen triggers a strange bug in recent Tk Aqua 8.7 (assuming it isn’t actually a macOS bug) which leaves the toplevel completely blank. I have reported it upstream: https://core.tcl-lang.org/tk/tktview/132dd3d350\r\n\r\nHowever, I would like to see if IDLE can make a simple change to avoid the issue, in case Tk Aqua does not address it soon. Moving a toplevel far offscreen to hide it while configuring its contents seems improper, as opposed to something like withdrawing it. Hiding the toplevel to avoid visual artifacts is probably no longer necessary, except maybe on something sufficiently slow like X11 forwarding. IDLE also does not make a similar effort to temporarily hide the toplevel for calltips.\r\n\r\nSo I would suggest making this `wm_geometry()` call only when `acw._windowingsystem == 'x11'` or at least `acw._windowingsystem != 'aqua'`.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104591\n* gh-104596\n* gh-104598\n* gh-104599\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/chrstphrchvz","@type":"Person","name":"chrstphrchvz"},"datePublished":"2023-05-15T07:51:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/104499/cpython/issues/104499"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5d65335a-0638-d5eb-1686-19681a5e2273 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FDA:3CA024:A9DD52:ED2E68:696A2700 |
| html-safe-nonce | 7c897abf94afa44ce15739c6c747cfc5f12773bd57a4d2c1187a72092ba9095a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkRBOjNDQTAyNDpBOURENTI6RUQyRTY4OjY5NkEyNzAwIiwidmlzaXRvcl9pZCI6IjMzODM5NjMzMDA3Mzc0NTk5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bc071f2c2fbd9a718c70dc8199cf8450be7651875ebf345135dbd393c609af6f |
| hovercard-subject-tag | issue:1709520949 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/104499/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c48c378d64b0eecbc565b421e341f6e37fb596ad07eab2a0d62840a386063099/python/cpython/issues/104499 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c48c378d64b0eecbc565b421e341f6e37fb596ad07eab2a0d62840a386063099/python/cpython/issues/104499 |
| og:image:alt | cpython/Lib/idlelib/autocomplete_w.py Lines 185 to 190 in 27d8ecd # Put widgets in place self.autocompletewindow = acw = Toplevel(self.widget) # Put it in a position so that it is not seen. acw.wm_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrstphrchvz |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width