online icon indicating copy to clipboard operation
online copied to clipboard

Calc: limit scrollbar to data area

Open eszkadev opened this issue 2 years ago • 1 comments

When we moved our view to the end of spreadsheet - scrollbar works with large range. This PR will reduce the range again to small value (only area containing data) when we enter again data area.

Requires core changes: https://gerrit.libreoffice.org/c/core/+/139471 https://gerrit.libreoffice.org/c/core/+/139472 https://gerrit.libreoffice.org/c/core/+/139473

eszkadev avatar Sep 06 '22 08:09 eszkadev

To test: 1 open spreadsheet 2 go to last row: ctrl + arrow down 3 move scrollbar to lets say 1/3 of its range and type some data

result: we have 2 scrolbar modes, above data we limit scrollbar to the last used row/column. when we reach the end of data - we unlock it and allow to scroll far away.

eszkadev avatar Nov 04 '22 11:11 eszkadev

Tested, it feels great. Thanks!

pedropintosilva avatar Nov 04 '22 15:11 pedropintosilva