[Libreoffice-bugs] [Bug 123095] Auto filter result is wrong when cell value contains full-width and half-width characters and case-insensitive filtering is used

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 19 23:21:12 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=123095

--- Comment #9 from stragu <stephane.guillou at member.fsf.org> ---
(In reply to Takeshi Abe from comment #4)
> By the way the reported behavior is due to the default case-insensitive
> filtering.
> A simple workaround is to open the Standard Filter dialog by choosing
> "Standard Filter ..." in the popup, check "Case sensitive" in the "Options"
> drawer, and enter OK.  Then both "乙二醇(进口料件)" and "乙二醇(进口料件)" appears in the
> drop-down list.

I don't think that is right, or maybe the behaviour has changed since then, but
with original attachment 148812 you'll notice that:

1. Copy cell A3 and paste into AutoFilter search field, click OK
2. Result: nothing is shown
3. Go back to showing all (or Ctrl + Z)
4. Open Standard Filter, make sure "Case sensitive" is _not_ ticked
5. Paste the same contents to create the condition "Name = 乙二醇(进口料件)"
6. Result: the corresponding row (row 3) is shown

So, with AutoFilter (by default case-insensitive) and Standard Filter
(regardless of case sensitivity), we get different results in the case of those
special characters.

Reproduced with:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 94d552f94b427f884c004dba5d4619ecf729d605
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64 at 86-TDF, Branch:master, Time:
2021-06-18_13:30:27
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210619/59861d31/attachment.htm>


More information about the Libreoffice-bugs mailing list