Bug 102154 - Collapsing of row 1 change to hidden when saved
Summary: Collapsing of row 1 change to hidden when saved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 102188
Blocks: Group&Outline
  Show dependency treegraph
 
Reported: 2016-09-13 12:28 UTC by cj
Modified: 2023-05-21 05:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample spreadsheet with rows 1-5 grouped and collapsed (7.51 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-09-27 21:49 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cj 2016-09-13 12:28:33 UTC
When collapsing row 1 or row 1+n (multiple rows including row 1) the collapse of row 1 return hidden when saved and reopened.
When reopening the document row 1 is no longer collapsed, but hidden. 

I.e.
- If you collapse row 1 (getting the "+" sign in the left margin), save and reopen, row 1 is hidden.
- If you collapse row 1+n (getting the "+" sign in the left margin), save and reopen, row 1 is hidden and row n is/are collapsed.

This doesn't happen when collapsing column 1+n
Comment 1 Aron Budea 2016-09-14 03:51:21 UTC
Thank you for reporting this issue.
Confirmed in v5.1.5.2, v4.0.0.3 / Ubuntu 16.04.

If anyone's wondering what collapsing mean (like I did), select rows, then select menu 'Data -> Group and Outline -> Group', then click [-] sign in front of first grouped row.

In v5.2 there's an additional issue, I'm opening a new report on it, and setting it as dependency.
Comment 2 Markus Mohrhard 2016-09-27 16:38:12 UTC
Most likely duplicated of Bug 101843
Comment 3 Aron Budea 2016-09-27 21:49:10 UTC
Created attachment 127687 [details]
Sample spreadsheet with rows 1-5 grouped and collapsed

This is an older bug.
I added a sample file created with 5.1.2, while the cause of bug 101843 is 5.2 only. Uncollapse the collapsed rows, and see that row 1 remains hidden.


I find it unusual that in content.xml the 5 rows are split like this (not claiming it's related, but unusual):

<table:table-row-group table:display="false">
  <table:table-row table:style-name="ro1" table:number-rows-repeated="4" table:visibility="collapse">
    <table:table-cell/>
  </table:table-row>
  <table:table-row table:style-name="ro1" table:visibility="collapse">
    <table:table-cell/>
  </table:table-row>
</table:table-row-group>
Comment 4 Xisco Faulí 2017-09-29 08:48:34 UTC Comment hidden (obsolete)
Comment 5 cj 2017-10-14 14:10:26 UTC
It has been tested and confirm that the bug still exist on the latest version of LO 5.4.2.2, on Windows 10.
No changes observable.
Comment 6 QA Administrators 2018-10-15 02:50:16 UTC Comment hidden (obsolete)
Comment 7 Xavier Van Wijmeersch 2018-10-15 12:03:52 UTC
the bug still exist

Version: 6.2.0.0.alpha0+
Build ID: ba6723431afa843232fadf44e12ddab44e85c9f0
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); Calc: threaded
Comment 8 QA Administrators 2019-10-16 02:30:06 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2021-10-16 03:51:41 UTC Comment hidden (obsolete)
Comment 10 ady 2023-05-21 05:22:39 UTC
Still repro as of:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 45826e60d5f1508d54b0f0a4d98b0e2ebe94a097
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded