Problem description: When typing into a cell Chinese chars following non-Chinese strings, calc freezes immediately. Steps to reproduce: 1. Start calc; 2. Type "abc" in A1, hit ENTER; 3. Type "中国" (which means "China" in Chinese) in A2, hit ENTER; 4. Type "abc中国" in A3, hit ENTER. Current behavior: Calc freezes immediately in step 4. Same issue when disable spell check. Same issue when change UI language. Expected behavior: Calc should not freeze. Ubuntu 13.10 x86, LibrOffice 4.2.0.0 beta 2, system locale: en_US. No such behavior in 4.1.3.2 release, so may be a regression. Operating System: Ubuntu Version: 4.2.0.0.beta2 Last worked in: 4.1.3.2 release
Changing status to high critical, as it I have to "force quite" the window thus it causes data loss.
Hi,suokunlong. I'm Japanese. I can input Chinese chars. I did not reproduce. "abc中国" in A3, hit Enter -> No problem Ubuntu 12.04 LibreOffice 4.2.0.0 beta2 systemlocale:Ja Best regards
(In reply to comment #2) > Hi,suokunlong. > > I'm Japanese. I can input Chinese chars. > > I did not reproduce. > > "abc中国" in A3, hit Enter -> No problem > > Ubuntu 12.04 LibreOffice 4.2.0.0 beta2 systemlocale:Ja > > Best regards Thanks for testing, I further tested in another pc and confirm that this is not a bug, maybe just because of the OS in my home pc. Marking as WORKSFORME.
(In reply to comment #3) > (In reply to comment #2) > > Hi,suokunlong. > > > > I'm Japanese. I can input Chinese chars. > > > > I did not reproduce. > > > > "abc中国" in A3, hit Enter -> No problem > > > > Ubuntu 12.04 LibreOffice 4.2.0.0 beta2 systemlocale:Ja > > > > Best regards > > Thanks for testing, I further tested in another pc and confirm that this is > not a bug, maybe just because of the OS in my home pc. > > Marking as WORKSFORME. Reproduce at Ubuntu 13.10, LibreOffice 4.2.0.0 beta2. You should not copy the "abc中国" into A3, Instead, use the input framework (eg ibus), after input "abc中国" in A3, hit ENTER, then freezes immediately.
Still freezing in linux. But work ok in windows XP. Steps to reproduce: 1. Start calc; 2. Copy "abc" and paste into A1; 3. Copy "abc中国" and paste into A2, then frozen. libreoffice Version: 4.2.0.2 Build ID: 601a398b803303d1a40a3299729531824fe0db56 Linux 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Description: Ubuntu 13.10 locale LANG=zh_CN.UTF-8 locale LANGUAGE=zh_CN:zh
Adding keyword "regression". Still reproducible in 4.2.0.3.
I think I know what's going on here...
I'm looking into this right now.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3e2ffb053f9749c6f6990c5ce8f47dc63ea7c148 fdo#72470: Correctly calculate the first edit cell row position. 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.
4.2 backport request: https://gerrit.libreoffice.org/7831
Upping the severity. Without this, Calc is useless in CJK locales.
Also, for the freeze to occur, on Linux the LANG must be set to either one of CJK. For me, setting LANG=ja_JP.utf8 was necessary to trigger the freeze.
(In reply to comment #12) > Also, for the freeze to occur, on Linux the LANG must be set to either one > of CJK. For me, setting LANG=ja_JP.utf8 was necessary to trigger the freeze. Thanks and really happy to see this bug to be fixed. Bug 70857 is another freeze which is related to LANG, dont know if they are related. Hope that bug to be fixed soon.
(In reply to comment #13) > (In reply to comment #12) > > Also, for the freeze to occur, on Linux the LANG must be set to either one > > of CJK. For me, setting LANG=ja_JP.utf8 was necessary to trigger the freeze. > > Thanks and really happy to see this bug to be fixed. > Bug 70857 is another freeze which is related to LANG, dont know if they are > related. Hope that bug to be fixed soon. Likely unrelated, since this bug causes an infinite loop (i.e. freeze), not a long delay.
And the fact that Bug 70857 happens in Writer suggests that it's a different problem. This bug here is strictly Calc only.
*** Bug 72702 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > Also, for the freeze to occur, on Linux the LANG must be set to either one > of CJK. For me, setting LANG=ja_JP.utf8 was necessary to trigger the freeze. No, I don't think so. Today with 4.2.0.4 I can no longer reproduce "my steps" as in Comment 1 (type in the chars), but I can 100% repro jmxhyz's steps as in Comment 5 (copy the mixed chars), and freeze also happen with the attached file in Bug 74037, see my comment there at #4. All the above freezes happen no matter which UI LANG is in use (I tested English US and Simplified Chinese.)
@Kohei: Is Bug 74372 related to this?
(In reply to comment #18) > @Kohei: Is Bug 74372 related to this? Not clear yet. Let's leave that one as a separate bug for now.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=25cb5355ce259c29d481eb9c76a4fab53d03e4cb&h=libreoffice-4-2 fdo#72470: Correctly calculate the first edit cell row position. It will be available in LibreOffice 4.2.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.
Ok. This is now backported. I'll call it fixed.
*** Bug 72151 has been marked as a duplicate of this bug. ***
*** Bug 74482 has been marked as a duplicate of this bug. ***
*** Bug 74037 has been marked as a duplicate of this bug. ***
*** Bug 74388 has been marked as a duplicate of this bug. ***
*** Bug 74044 has been marked as a duplicate of this bug. ***
*** Bug 74483 has been marked as a duplicate of this bug. ***
*** Bug 74614 has been marked as a duplicate of this bug. ***
*** Bug 74715 has been marked as a duplicate of this bug. ***
Sorry if I sound dumb, but how do I install the patch? I am running Windows 7 (both 32 and 64 bit, on different PCs).
(In reply to comment #31) > Sorry if I sound dumb, but how do I install the patch? I am running Windows > 7 (both 32 and 64 bit, on different PCs). Try the most recent daily 4.2 builds from here. http://dev-builds.libreoffice.org/daily/ But note that it sometimes takes a few days before the fix makes it into a daily build. The fix for this bug is definitely in for sure, but you need to keep it in mind for future references for other bugs.
Not sure about bug 74757. Looks quite related behavior, but as far bug reporter mentions: only 1 script type. Therefore I'm putting this bug in 'see also'. Can anyone else please have a look and mark it correctly (either marking as duplicate or removing it from the 'see also' field). Thanks in advance, Joren
(In reply to comment #33) > Not sure about bug 74757. Looks quite related behavior, but as far bug > reporter mentions: only 1 script type. The input 2012年4月 consists of 2 script types: asian and latin. You need to disect the input character by character. So, that bug is likely a duplicate, but please verify by re-checking.
*** Bug 74757 has been marked as a duplicate of this bug. ***
*** Bug 74785 has been marked as a duplicate of this bug. ***
*** Bug 74810 has been marked as a duplicate of this bug. ***
*** Bug 74827 has been marked as a duplicate of this bug. ***
*** Bug 74821 has been marked as a duplicate of this bug. ***
*** Bug 74897 has been marked as a duplicate of this bug. ***
Kohei, checking the link you provided to the daily builds four days ago, I note that while there do exist sub-directories for Mac and Windows builds, nothing is provided for us Linux users. Any chance of patches being posted for Linux - in my case, deb - builds in the near future ?... Henri
*** Bug 75069 has been marked as a duplicate of this bug. ***
*** Bug 75183 has been marked as a duplicate of this bug. ***
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6f343f133800fe09d64be0a3d8ba295eeb877045 tdf#72470: sc_subsequent_filters: Add unittest It will be available in 7.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.