Repository navigation
Conversation
Fixes storytold#1613 Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #1613
Cause
paint_quadrantonly laid out text for cells inside the visible column range. When a text cell scrolled off one side, nothing drew its overflow into the visible empty cells next to it, so the whole text disappeared.Fix
For each visible row, the text pass now also handles the nearest non-empty cell up to 20 columns left and right of the visible range. That cell must be in the same frozen or scrolled pane, visible, and not merged. Its overflow is painted clipped to the quadrant. Merges are now looked up across the same widened range, so overflow coming in from off-screen still stops at merged cells.
Verified
overflow_text_stays_visible_when_source_cell_scrolls_out_left,right_aligned_overflow_stays_visible_when_source_cell_is_right_of_view,scrolled_overflow_does_not_draw_over_frozen_columns: fail onmainwithout the fix and pass with it (cargo test -p gridcraft-ui-egui --test text_overflow_scroll).cargo xtask cipasses.Not changed
Backgrounds, borders, sparklines and filter buttons are still painted only for visible cells. The 20-column overflow limit, which already applied to visible cells, is unchanged.
🤖 Generated with Claude Code