https://bugs.freedesktop.org/show_bug.cgi?id=57528

Lionel Elie Mamane <lio...@mamane.lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---

--- Comment #6 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to comment #5)
> If you are going to type in Hebrew, change the ME language to Hebrew. That's
> what options are for. As I said earlier, Linux has no mechanism to tell the
> language of typed text to applications.

LibreOffice makes a guess, and that guess is wrong. I start with a document in
ENGLISH, then type Hebrew into it. If LibreOffice treated that as "English",
OK, I would understand, it just keeps the language of the document and I need
to change that, exactly like when I type French into a document that is
declared as English.

However, in this situation, LibreOffice does not stay on "English". It
AUTOMATICALLY AND SILENTLY switches to Hindi. So *clearly* it is making some
guess / automatic sniffing / ..., probably based on the Unicode range of the
characters typed. The Hebrew range should be sniffed as Hebrew, the Arabic
range as Arabic, etc.

I don't understand why you repeat "Linux has no mechanism to tell the language
of typed text to applications". Why would you expect it to, and why do you
excuse LibreOffice's wrong autosniffing on that? And how the hell would
GTK-QT-XLIB/X11/GNU/Linux magically know the language anyway?

I understand LibreOffice cannot easily sniff the difference between French and
English (they mostly share the same alphabet, so one would have to use possibly
brittle methods such as letter statistics or heuristics such as "the language
that gives the least spelling errors on a spell check"), but Hindi and
Hebrew... Different Unicode range.

Either DO NOT AUTO-SNIFF THE LANGUAGE AT ALL, or at least get the
*trivial*/easy cases right.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to