| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
identify(5, 5) could run before the notebook reached its requested size, so the pixel fell outside the first tab and returned ''. Guard it with a new opt-in wait_until_mapped(full_size=True). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Reproduction data (real X11 display):
|
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, something went wrong.
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.13 due to a conflict. cherry_picker 53b04980284b668c27fc6d5adb0de19d38efe95b 3.13 |
Sorry, something went wrong.
|
GH-153408 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-153409 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
…53409) identify(5, 5) could run before the notebook reached its requested size, so the pixel fell outside the first tab and returned ''. Guard it with a new opt-in wait_until_mapped(full_size=True). (cherry picked from commit 53b0498) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…53408) identify(5, 5) could run before the notebook reached its requested size, so the pixel fell outside the first tab and returned ''. Guard it with a new opt-in wait_until_mapped(full_size=True). (cherry picked from commit 53b0498) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
|
GH-153415 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Follow-up to GH-152499. NotebookTest.test_traversal wasn't covered there and still fails intermittently on a real X11 display: identify(5, 5) runs before the notebook reaches its requested size, so the pixel lands outside the first tab and returns '' instead of 'padding'.
wait_until_mapped() gains an opt-in full_size flag that also waits until the realized size reaches the requested size; both identify(5, 5) assertions now use it. The default path is unchanged, so the other callers are unaffected.
The flake doesn't reproduce when test_traversal runs alone (0/40), but running the whole NotebookTest class reliably reproduces it, since the earlier methods leave the shared class root in a state where the notebook maps too small. Measured on a real X11 display: 14/15 failures without the fix, 0/20 with it (and no other assertion starts failing).