Description: freezes on format->text->capitalize every word in attached .xlsx file Steps to Reproduce: 1. Open attached file 2. Select cels from C2 to C14 3. Go to menu: Format->Text->Capitalize Every Word Actual Results: Freezes LibreOffice Expected Results: Capitalize Every Word Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 144027 [details] Freezes on Capitalize Every Word in C2-C14
Reproduced in Version: 6.2.0.0.alpha0+ Build ID: c86a47a9d3debbc7e8ee6247f573e7f98c611f19 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded and back to Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) but not in LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 also reproduced on WIN
Also reproduced in LibreOffice 3.5.0 Build ID: d6cde02
On pc Debian x86-64 with master sources updated some days ago, I could reproduce this. It can be reproduced with just these steps: - open a brand new ods file - on a cell, type "test" + newline The pb is the newline alone I noticed this line repeated ad libitum: warn:legacy.tools:5104:5104:editeng/source/editeng/impedit4.cxx:2764: invalid word length of 0
Created attachment 144036 [details] bt with debug symbols Here's the bt corresponding to the log
Let's give a try with https://gerrit.libreoffice.org/#/c/58750/
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1fdb7c1434048f4dfc7168158c626cdc188dccde tdf#119155, tdf#119162: check there's at least 1 word in Capitalize Every Word 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.
Backport to 6.1 on review: https://gerrit.libreoffice.org/#/c/58936/
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3b07dfad5df6d7117d6bd29aa30245a6dc515379&h=libreoffice-6-1 tdf#119155, tdf#119162: check there's at least 1 word in Capitalize Every Word It will be available in 6.1.1. 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.
Zdeněk Crhonek committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=55d1ee5a8fb3e72d534a64e5045dfc0ec6a6eab8 uitest Calc-Text Case; tdf#119155 ; tdf#119162 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.
The test exist, set status to Verified.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7930ad202edb8e7af2946fc428268b000edae23e tdf#119155: sc: move UItest to CppUnittest It will be available in 7.3.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.