https://bugzilla.xfce.org/show_bug.cgi?id=11855

--- Comment #7 from Harald Judt <[email protected]> ---
Created attachment 6227
  --> https://bugzilla.xfce.org/attachment.cgi?id=6227&action=edit
keep-the-scroll-position-when-restoring-the-file-selection.patch

Test case:

1) mkdir test
2) cd test
3) while true; do for i in a aa aaa b bb bbb c d e eee ff gg kk lll l x y g h i
zz z u uu uuu xxxxx cb; do touch "$i"; sleep 1; done; done
4) open thunar window for this dir, switch ordering to modification date
5) make sure the window is not big enough to show all files
6) select a file and watch

Behaviour without the patch: View always tries to keep the selected file in the
visible area.

Behaviour with the patch: View will not try to keep the selected file in the
visible area.

I hope this patch has no bad side-effects for operations. In that case, one
could still call scroll_to_file manually.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to