diff options
| author | blasty <blasty@local> | 2026-07-09 21:27:24 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 21:27:24 +0200 |
| commit | 584af7e8edf6224c0f3affb2bb98230078a9e836 (patch) | |
| tree | 0f6b107020a5e0008666bc08851af4e04f053a8b /server/patch_server.py | |
| parent | decompiler: xref jump within the current function moves the cursor (diff) | |
| download | ida-tui-584af7e8edf6224c0f3affb2bb98230078a9e836.tar.gz ida-tui-584af7e8edf6224c0f3affb2bb98230078a9e836.tar.xz ida-tui-584af7e8edf6224c0f3affb2bb98230078a9e836.zip | |
decompiler: fix stale scroll frame on same-function jump
DecompView.goto derived its scroll with _scroll_cursor_into_view() -> a plain
scroll_to, which updates scroll_offset but doesn't repaint at the new offset
(Textual only repaints on a rounded scroll change, and there's no layout pass
since the pane isn't reloaded). So a same-function xref jump landed the cursor
correctly but painted the old scroll until the next cursor move nudged a repaint.
Route goto's scroll (derived or explicit) through _apply_scroll, which re-applies
after the next refresh with layout=True -- the same pattern show() uses. The
cross-function path already worked because reloading + clearing the loading cover
forces a fresh paint. Document the gotcha in TEXTUAL_NOTES.
full suite 64/64.
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions
