[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#988951: regression: focus_path on last items no longer works properly

On Sun, 23 May 2021 at 14:43:33 +0100, Simon McVittie wrote:
> When the GtkTreeView is resized as a result of the text being added,
> the top left corner of the visible area is what's preserved; if its
> selected row was near the bottom, the result is that the selected row
> is no longer visible.

You can see similar behaviour in the "Tree View -> List Store" example in
gtk-demo, gtk3-demo or gtk4-demo (from gtk2.0-examples, gtk-3-examples or
gtk-4-examples respectively). If you select an item low down the list,
then resize the window, you'll see that it's the top left corner that
stays fixed within the window, and the selected item doesn't necessarily
stay visible.


Reply to: