Title: gh-69134: Wait until mapped in SimpleDialog keyboard tests by serhiy-storchaka · Pull Request #152690 · python/cpython · GitHub
Open Graph Title: gh-69134: Wait until mapped in SimpleDialog keyboard tests by serhiy-storchaka · Pull Request #152690 · python/cpython
X Title: gh-69134: Wait until mapped in SimpleDialog keyboard tests by serhiy-storchaka · Pull Request #152690 · python/cpython
Description: The SimpleDialog tests generate key events after focus_force(). On Windows these are only delivered once the toplevel is mapped, so they could be dropped and the test fail intermittently — seen on the AMD64 Windows10 buildbot, where test_return_no_default failed on the first run and passed on the re-run. Unlike the query dialogs (whose __init__ calls wait_visibility()), SimpleDialog only waits for its window in go(), which these tests bypass. Wait until the window is mapped in the create() helper, as GH-152599 did for the other keyboard tests. Issue: gh-69134
Open Graph Description: The SimpleDialog tests generate key events after focus_force(). On Windows these are only delivered once the toplevel is mapped, so they could be dropped and the test fail intermittently — seen on ...
X Description: The SimpleDialog tests generate key events after focus_force(). On Windows these are only delivered once the toplevel is mapped, so they could be dropped and the test fail intermittently — seen on ...
Opengraph URL: https://github.com/python/cpython/pull/152690
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:35e6e38c-e8fc-9ac1-57f0-a5e28f260a5f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E380:243FE3:69D87:8D5C1:6A52BCA4 |
| html-safe-nonce | 5263d012886dd78f1efd15be7cea0d7fe83229acf85747ae1bd37b09a638b855 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzgwOjI0M0ZFMzo2OUQ4Nzo4RDVDMTo2QTUyQkNBNCIsInZpc2l0b3JfaWQiOiIyNDQyODM4NDcwNDQxNDgzNDI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4db77a6aafb1c8184c3dca9d43860302182accaf1c62c13dac77abe8d452b448 |
| hovercard-subject-tag | pull_request:3963839014 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/152690/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | The SimpleDialog tests generate key events after focus_force(). On Windows these are only delivered once the toplevel is mapped, so they could be dropped and the test fail intermittently — seen on ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width