Created attachment 171733 [details] output file sorted correctly after sort on a column without concatenated headings When sorting files with multiple heading lines (attached fille 1), the first output row is incorrectly SUPPRESSED from the output sorted file if the sort is done on a column with concatenated heading lines (column W in the attached file 1) - see attached output file 2 where line 5 in the input file has been suppressed. The sort works correctly if the sort is done on a column with the full number of heading lines (column Y in the attached file 1) - see attached output file 3. In this case there were 3 input heading lines, but the problem is the same with files with 2 heading lines when sorting on columns with concatenated headings.
*** Bug 142146 has been marked as a duplicate of this bug. ***
Created attachment 171802 [details] output file sorted incorrectly after sort on a column with concatenated headings
Created attachment 171803 [details] 1 - LibreOffice spreadsheet with 3-line headings - before sort
surely this is not all that minor a problem, when LO loses a key record when sorting this type of file. Shouldn't someone be investigating?
Surely this isn't all that minor a problem, if LO effectively loses a key record when sorting files of this type. Shouldn't someone be investigating?
Hi Raymond Smith, Can you detail the steps you used to sort the table?
I used the following procedure with the input file (attached file 1) : Verify the print-range settings: - Print range: $A1:$K107 - Rows to repeat: $1:$2 - Columns to repeat: none Select all (click on top left-hand cell) Select Data->Sort Select Options, and then select: - case sensitive - range contains column headings - Direction: Top to bottom (sort rows) Select Sort Criteria, and then specify: - Sort Key 1: PREVIOUS 7-DAY AVERAGE ▲ (column I) => Descending - Sort Key 2: COUNTRY (column F) => Ascending The output file, incorrectly sorted, is attached (file 2) When following the above procedure with Sort Key column J , the result is correct (file 3)
Created attachment 172969 [details] input file described in the comments of June 17 Input file to new test
Created attachment 172970 [details] output file from new test - sorted incorrectly on column I output file from new test - sorted incorrectly on column I
Created attachment 172971 [details] Output file from new test sorted correctly on column J Output file from new test sorted correctly on column J
I could reproduce it with the attachments and also in a new Calc document. The missing values from the columns seem to be "behind" the merged headings. Version: 7.0.6.2 Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: de7356c2e0cb099fac396808b5a86a0393b48e5f CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
For info: the sort doesn't work under Excel either (on either columns I or J) - it returns an error message in both cases declaring that my headings are unacceptable (!). At least LO sorts correctly on column J...
Hello, is there any outlook for getting this bug fixed?
Dear Raymond Smith, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
This bug has now been adequately fixed, as the appropriate error message "Ranges containing merged cells can only be sorted without formats." now appears when one tries to sort columns that have concatenated column headings. Note: this is in reply to Comment # 14 on bug 142145 from QA Administrators, many thanks.