Created attachment 171940 [details] FreezeRowB1.ods (test data) If a frozen-row includes a folded outline-group, when user unfolds that outline-group and that causes the frozen-row to shift outside of the visible pane, then all rows become unfrozen (scrollable). Same symptom happens for columns as well. Once the frozen-row has been reset by this way, saving the sheet and re-opening the file maintains the symptom. Steps to reproduce: 1. Adjust LibreCalc window to show only A1:J41. 2. Select rows 2:40. 3. Menu|Data|GroupAndOutline|Group 4. Press the "-" button on the left edge to fold the outline-group. 5. Select cell B50. 6. Menu|View|FreezeRowsAndColumns This is the attached FreezeRowB1.ods Screenshot on my PC is FreezeRowB1_ods_screenshot.png 7. Press the "+" button on the left edge to unfold the outline-group. Now it looks like this: FreezeRowB2_ods_screenshot.png Actual results: 8. Try vertical scroll. No row is frozen anymore. 9. Press again the "-" button on the left edge to fold the outline-group. 10. Try vertical scroll. Still, no row is frozen anymore. Expected results: At step 7, frozen rows should be kept frozen, with the visible top left cell should be A1, like the attached FreezeRowB3_ods_screenshot.png. After step 9, rows above cell B50 should be frozen, ie. should not be scrollable. Reproducible: always (tested over 10/10) User Profile Reset: No Additional Info: Seems sometimes irreproducible when window is small, eg. only 10 rows.
Created attachment 171941 [details] FreezeRowB1_ods_screenshot.png
Created attachment 171942 [details] FreezeRowB2_ods_screenshot.png
Created attachment 171943 [details] FreezeRowB3_ods_screenshot.png
I reproduce on Windows, but not on Linux. Already in version 3.3.0. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 67d8c245daf7c6ee33e908255f2bbd0ea8d08206 CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: default; VCL: win Locale: fi-FI (fi_FI); UI: en-US Calc: threaded Jumbo
(In reply to Buovjaga from comment #4) You did not reproduce on linux, that may be becaue on Linux when the outline is expanded the range did not exceed the visible area. I do reproduce this on Linux with a recent master build. May be a duplicate of bug 120117, but I am not sure, thus adding to SEE ALSO instead.
Yes, it seems this is required to reproduce "Adjust LibreCalc window to show only A1:J41." Version: 7.4.1.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US 7.4.1-2 Calc: threaded