There is file from our user created in Excel with a lot of Conditional formatting. I can open it in LibreOffice 5.1.4 on Windows. I can open it in Excel 2007 / 2010 / 2016. I can't open it in LibreOffice 5.1.4 on my Linux x64 (freeze / 100% cpu) I can't open it in LibreOffice 5.2RC2 on my Linux x64 (freeze / 100% cpu) On Windows, where I can open it in LibreOffice I have freeze on: save as xls, save as ods, on F11 key. File with be attached. I removed most data from file, but I can't track down to some minimal level for reproducing. Sorry.
Created attachment 126197 [details] Example with a lot of conditional formatting
I could open it. 64-bit, KDE Plasma 5 Build ID: 5.1.4.2 Arch Linux build-1 CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; Locale: fi-FI (fi_FI.UTF-8) Arch Linux 64-bit, KDE Plasma 5 Version: 5.3.0.0.alpha0+ Build ID: ab1b351840160655a9f0caedbb35e9fdf203c5a0 CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on July 16th 2016
(In reply to Buovjaga from comment #2) > I could open it. How about F11 or File - Save? I can open file too, on Gentoo Build. But RPMs from DF - not.
Oh yeah, sorry didn't test F11 etc. Now I can make it freeze with F11 on Windows. Win 7 Pro 64-bit Version: 5.3.0.0.alpha0+ Build ID: 28ac6fdc11559b58ac62089300aa99530b0b822d CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-07-18_02:54:20 Locale: fi-FI (fi_FI); Calc: CL
There is something fundamentally wrong with qqq6.xls. It is 17MB in size. I gave up trying to open it in bibisect43all oldest. The progress bar moved slower and slower as it kept loading. F11 pegged my CPU at 100% for 5 minutes before I killed LO5.4alpha on Ubuntu x64
** 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
Can open file with master, but the conditional formatting in every sheet is a disaster. The hole thing is messed up, even deleting 6 sheets wont help. Version: 6.1.0.0.alpha0+ Build ID: 1fbe46cf08f525e78016feef83f4c38b79b337ba CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-03-24_23:04:38 Locale: nl-BE (en_US.UTF-8); Calc: group
Could we make it a duplicate of Bug 61484?
(In reply to Timur from comment #8) > Could we make it a duplicate of Bug 61484? Dunno, Maxim's file opens pretty fast for me in master, but F11 still makes it freeze. Arch Linux 64-bit Version: 6.1.0.0.alpha1+ Build ID: 21b11273ae91f0cf7fd5f3f9fd2168e4349852c4 CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on May 11th 2018
(In reply to Timur from comment #8) > Could we make it a duplicate of Bug 61484? Just to confirm, this is different from bug 61484, because the xls in bug 61484 takes a long time for me to open on Linux.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d70f53a8269be31f0412926afa5ba826faed6633 tdf#100894 freeze when editing calc file with bazillions of cond formatting It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
See ea55492a6e55290d92a59324b3cb31ed958981ab which dedicates conditional formats in .ods import. Something similar needs to be done for .xls import, too, I guess.
s/dedicates/deduplicates. thanks, autocorrect.
My 2 cents: This file is also broken under both Excel 2013 and 2016. It seems like it was possibly created programmatically or by someone intentionally trying to break Excel. This file uses overlapping conditional formats, a feature we don't properly support. See Bug 91654. Wouldn't it make more sense to focus on improving interoperability with real world files, rather than optimizing a feature we don't even support properly?
(In reply to Luke from comment #14) > My 2 cents: This file is also broken under both Excel 2013 and 2016. It > seems like it was possibly created programmatically or by someone > intentionally trying to break Excel. This file uses overlapping conditional > formats, a feature we don't properly support. See Bug 91654. > > Wouldn't it make more sense to focus on improving interoperability with real > world files, rather than optimizing a feature we don't even support properly? Please read comments. Initial comment for example. File from real user, personal data dropped from tables. Excel 2003. Converted and saved from Office 365 from my Android. I will attach it.
Created attachment 142868 [details] Same example. Exported from Office 365 for Android. OpenXML.
Dear Maxim Britov, 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
Dear Maxim Britov, 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://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
Still repro with: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: cb2827f5f65324f309fa0e3c30d0b19ad237410e CPU threads: 16; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Files could not open / not responding.
Dear Maxim Britov, 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
https://gerrit.libreoffice.org/c/core/+/155951
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6fd755fb36472938757b2581cbe99f5e5fe1ae40 tdf#100894 lots of Conditional formatting freeze calc Styles sidebar It will be available in 24.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.
No freeze (but there is some delay) in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b5aaf194866c5e416167cb54d37f9f04dabc5375 CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: threaded Thank you, Noel
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ff66803ec9ec26c918ef652a1478ff9d7da0c97b Revert "tdf#100894 lots of Conditional formatting freeze calc Styles sidebar" It will be available in 24.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.
It takes some time but it does not freeze Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4cc532c0393914a743c11e806bd25dfa3d28fb5c CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: cs-CZ (cs_CZ); UI: en-US Calc: threaded Also tested on MacOS with the same result
@Maxim, Ilmari, Katka, WFM (with F11 too)?
(In reply to ady from comment #26) > @Maxim, Ilmari, Katka, > > WFM (with F11 too)? Opening Styles panel takes a few secs, so matches what Roman said in comment 23 before the revert. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 3d0058306385d0322c18d397fce1cd6e94daa1a3 CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded
For me, it still freezes to start. On Windows it works. On Linux it freezes. 1. Open Calc. Open side panel, open Styles. 2. Restart Calc. Check Sidepanel/Syles auto open 3. /path-lo-LO/program/scale qqq6.xls 3.1. I'm waiting from 2-3min (i5-7500) to 6-7min (i5-5300U). 3.2. At this moment I can edit data, but Menu still not working and 1 core CPU 100% load. 3.3. 2-4min and I can use Menu. For example, I can: File - Exit. Tested 24.2.6 / 28.4.2 My desktop i5-7500, my notebook i5-5300U. Tested 24.2 on clean install Ubuntu 24.04 i5-4650
Created attachment 196948 [details] strace creenshot
(In reply to Maxim Britov from comment #28) > For me, it still freezes to start. > On Windows it works. > On Linux it freezes. > > 1. Open Calc. Open side panel, open Styles. > 2. Restart Calc. Check Sidepanel/Syles auto open > 3. /path-lo-LO/program/scale qqq6.xls > 3.1. I'm waiting from 2-3min (i5-7500) to 6-7min (i5-5300U). > 3.2. At this moment I can edit data, but Menu still not working and 1 core > CPU 100% load. > 3.3. 2-4min and I can use Menu. For example, I can: File - Exit. > > Tested 24.2.6 / 28.4.2 > My desktop i5-7500, my notebook i5-5300U. > Tested 24.2 on clean install Ubuntu 24.04 i5-4650 But can you test with 25.2, please?
(In reply to Buovjaga from comment #30) > (In reply to Maxim Britov from comment #28) > But can you test with 25.2, please? Ubuntu 24.04 + LO 25.2a0 Still freezes. Look at strace -fTt log
Created attachment 196951 [details] strace -ftT scalc qqq6.xls
Tested again and it looks like the slowness is now only seen with gtk3 UI. Maxim: if you want to work around this, you can launch from the command line with this for the moment: SAL_USE_VCLPLUGIN=gen libreoffice
Created attachment 196959 [details] Perf flamegraph of file opening with GTK3 I let qqq6.xls open for a few minutes and then canceled perf. It shows a gtk-specific thing taking a long time, gtk_tree_store_insert_with_values Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 40beeb144a00c9725cde4239c251f67c658d31a8 CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 6 October 2024
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8af3358203e71564b69ae4a687989a57a2a8605e tdf#100894 reduce time spent iterating styles 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.
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7f42f031ed1b9f374f3fcba9c814dc5862492026 tdf#100894 speed up style tree creation 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.