Description: Cells that have been created with the functions TEXT & TEXTJOIN are not correctly assessed when column > optimal width is invoked from the context menu. The assessment is affected by the contents of "informal header" cells. Attached sheet with highlighted cells demonstrates the effect. Steps to Reproduce: Note Word Wrap is active for the entire sheet as is Centred Text Utilising the attached sheet select columns to include D 1. Right click the header and select optimal width 2. Observe how the column shrinks to facilitate the single character in D2 3. Undo the action 4. Delete "D" from D2 5. Redo 1 6. Observe how the column expands to over-compensate for the cell content 7. Undo 8. Enter text into D2 that is "almost" as lengthy as the contents of D3:D4 9. Redo 1 Columns y & Z demonstrate the same anomaly whereas AF seems to be on its own planet as it shrinks the column to the contents of AF3:AF4 leaving AF2 in an overflow condition 10. Undo II. Change Global Alignment to Left Justified 12. Select columns B:G 13. Redo 1 14. Observe Note that Column A is a simple assignment of Column D and is processed correctly Observation: Wordwrap has the same effect as Left Justified Actual Results: Inconsistent and incorrect column width adjustment Expected Results: Consistency would be good - accuracy aven better Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: Version: 7.2.2.2 (x64) / LibreOffice Community Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: sv-SE (en_GB); UI: en-GB Calc: threaded
Created attachment 176534 [details] Example
It seems that word wrap is all that's needed to show this problem. 1 In New sheet,enter "X" in a cell 3 Optimal width (or double click the right border in the column header) 4 Cell shrinks down to correct width 5 Activate word wrap for that cell 6 Optimal width 7 Cell expands
(In reply to geoff183 from comment #2) > It seems that word wrap is all that's needed to show this problem. > 1 In New sheet,enter "X" in a cell > 3 Optimal width (or double click the right border in the column header) > 4 Cell shrinks down to correct width > 5 Activate word wrap for that cell > 6 Optimal width > 7 Cell expands Already in 6.3 and 3.5 Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d33dbd8d3bee4dfd614ae0153ebca3db3948e9f8 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 30 January 2023
*** Bug 155172 has been marked as a duplicate of this bug. ***
Was also in OOo 3.3, so marking as inherited. Very much related to bug 57150, likely a duplicate.
Dear Colin, 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
Version: 25.2.2.2 (X86_64) / LibreOffice Community Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: sv-SE (en_SE); UI: en-GB Calc: threaded Still a BUG. From memory, it's impossible to verify that the identical anomaly exists, as there is a massive inconsistency between the treatment of all the columns.