diff options
| author | blasty <blasty@local> | 2026-07-09 16:22:58 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 16:22:58 +0200 |
| commit | 6ba52ae97fbcf0238b379fef17733425f7cd8706 (patch) | |
| tree | b2ca718afaf556796b90ef726d870fae51b48746 /docs | |
| parent | smoother scroll restore on jump-back; non-degenerate test (diff) | |
| download | ida-tui-6ba52ae97fbcf0238b379fef17733425f7cd8706.tar.gz ida-tui-6ba52ae97fbcf0238b379fef17733425f7cd8706.tar.xz ida-tui-6ba52ae97fbcf0238b379fef17733425f7cd8706.zip | |
fix stale top frame on jump-back; test the actual repaint
The pane could keep showing the top (scroll 0) after jumping back even though
scroll_offset was correct: the deferred call_after_refresh set the scroll AFTER
the paint and didn't force a repaint. Now the deferred callback re-applies the
scroll AND refreshes, so the pane is repainted at the restored offset.
Crucially, the prior test only checked scroll_offset.y (which was correct even
when the bug was visible). Added a render-level assertion: trace render_line and
assert the last repaint happened at the restored scroll. (Also: my earlier
scratch repros used a non-existent function name so 'back' was a no-op -- the
real suite test uses a valid second function.) pilot suite 53/53.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
