Re: [PATCH b4 0/2] b4 tui: preserve the list viewport across rebuilds

Konstantin Ryabitsev <[email protected]> Fri, 31 Jul 2026 04:52:33 +0000
Newsgroups org.kernel.linux.tools
Message-ID <178547355380.3880964.7373833676384012174.b4-ty@b4>
On Wed, 29 Jul 2026 11:58:18 +0200, Christian Brauner wrote:
> b4 tui: preserve the list viewport across rebuilds
> 
> Updating a series with 'u' in the review tracking TUI made the list
> visibly jump towards the top of the screen while the cursor stayed on
> the updated entry.  The tracker-style lists rebuild their ListView
> wholesale on every refresh, so the scroll offset died with the
> replaced widget; restoring the cursor index alone only scrolls the
> minimum needed to make that row visible again, which pins the view to
> the top of the list or glues the cursor row to the bottom edge.
> 
> [...]

Applied, thanks!

[1/2] b4 tui: preserve list scroll position across ListView rebuilds
      commit: 072c6f32cadee39fc66761421bd42fcb689a70fe
[2/2] tests: cover scroll preservation across list rebuilds
      commit: 682920f6d1d34b1620f402d22fda7876d42a90d8

Best regards,
-- 
Konstantin Ryabitsev <[email protected]>