Select columns A:E and apply any Format > Autoformat styles... Killed the process after an hour. While the use case is to select only a small number of cells and to apply the style to this selection it's not unexpected that users try it for whole columns. A warning before the execution of potentially long lasting operation could be a solution. Or to disable the function in case of selection beyond a reasonable number.
Confirmed using LO 6.0.0.3 / Windows 7. Applying autoformat syles happens instantly in 5.4.0.3. => regression
Correction: it depends on if the style has row-alternate shading, eg. Box List Blue (6.0) or Currency Turqoise (< 6.0). When using the appropriate style, the bug occurs from 6.0.0.3 all the way back to 3.3.0.
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Yup. It runs through left column, right column, top, bottom, body for 1 million rows. #9 ScTable::AutoFormatArea(short, int, short, int, ScPatternAttr const&, unsigned short) (this=0x55555665e000, nStartCol=3, nStartRow=222882, nEndCol=3, nEndRow=222882, rAttr=..., nFormatNo=5) at sc/source/core/data/table4.cxx:2057 #10 ScTable::AutoFormat(short, int, short, int, unsigned short) (this=0x55555665e000, nStartCol=3, nStartRow=0, nEndCol=6, nEndRow=1048575, nFormatNo=5) at sc/source/core/data/table4.cxx:2092 #11 ScDocument::AutoFormat(short, int, short, int, unsigned short, ScMarkData const&) (this=0x55555703e510, nStartCol=3, nStartRow=0, nEndCol=6, nEndRow=1048575, nFormatNo=5, rMark=...) at sc/source/core/data/documen3.cxx:1172
*** Bug 124341 has been marked as a duplicate of this bug. ***
Dear Heiko Tietze, 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: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 8; OS: macOS 11.7.1; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded in 24.2.2.2 (X86_64) / LibreOffice Community columns A-E take long, but format succeeds. Bug marked duplicate 124341 may not be a duplicate. "Selecting only part of the document works as intended." #124341 still fails. Difference in repro steps is "select all", instead of Columns A-E. This implies that the code is now more efficient, but not scalable to the default number of cells.
Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/46f7dcc5f499892ef093147b3f739c258bbf6b81 related tdf#115474: improve warning msg for slow autoformat It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Possibly something like commit 15fd6de056a1389702a1d3be9ffd3fdd5a0795de could help here (unless that commit already applies? I haven't debugged).
(In reply to Commit Notification from comment #8) > Thorsten Behrens committed a patch related to this issue. > It has been pushed to "master": > > related tdf#115474: improve warning msg for slow autoformat FTR: commit 52b95cfbb0aba120229f9f92570f2aa6f1fe3e33 added the initial message to autoformat, that the commit above has improved.
(In reply to libruser from comment #7) > Bug marked duplicate 124341 may not be a duplicate. "Selecting only part of > the document works as intended." > > #124341 still fails. Difference in repro steps is "select all", instead of > Columns A-E. This implies that the code is now more efficient, but not > scalable to the default number of cells. I kind of agree. While both have the same root cause, there are specifics that allow to have some special-casing in whole sheet case (or more specifically, whole rows case), which wouldn't affect e.g. whole-columns (not whole-sheet) case. Let me unduplicate.