Repository navigation
test: give the pressed-spot margin card room to grow instead of meeting the window's top - #5215
Merged
Merged
Conversation
…window's top `test_a_press_in_the_card_keeps_the_pressed_spot_still` failed at its first reading on Linux and macOS since #4841: the disclosure moved 10px left and 6px down. At 1200x900 with three progress messages, the opened card grew up to the window's top (y=8) and its transcript still overflowed by 6px, which the press hold had absorbed by scrolling it. #4841 gives an overflowing transcript a `scrollbar-gutter: stable` gutter so its words clear the bar; that narrows the end-aligned disclosure's line by the bar's width and rewraps the words, so the spot moved. The test's subject is a card growing up past the disclosure, not a card pinned against the window, so it now opens two progress messages, which fit. The pressed spot is still asserted at every motion step, by pointer and key. The case where a press makes the transcript overflow, and so moves the pressed control by the gutter, waits on the decision in #5214. Closes #5171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_a_press_in_the_card_keeps_the_pressed_spot_stillhas failed both parametrizations on Linux and macOS since #4841: at the first motion step the disclosure stands 10px left and 6px below where it was pressed. Bisecting[key]overd995f3e6d..cc5df725elands on #4841. At 1200×900 with three progress messages, the opened card grows to the window's top (y=8) and its transcript still overflows by 6px. Before #4841 the press hold absorbed that by scrolling the transcript. #4841 gives an overflowing transcript ascrollbar-gutter: stablegutter, which narrows the end-aligned disclosure's line by the bar's width and rewraps the words above it.The test is about a card growing up past the disclosure, not a card pinned against the window. It now opens two progress messages, which fit. Every pressed-spot assertion is unchanged, by pointer and by key. This keeps #4841's gutter and the press hold in every case the test was written for. The overflow case, where the pressed control does move by the gutter, is #5214, left for the author of #4841 to decide.
Verification: both
[press]and[key]failed onmain(683c63e) with the CI diagnostic, and both pass the pressed-spot assertions on this branch.[press]then still fails later at line 221 on "1m ago". That is #4403, a separate open cause. It failed[press]the same way in every scheduled run from Oct 27 to Oct 31.Closes #5171 — automated triage