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

--- Comment #6 from Khaled Hosny <[email protected]> ---
In my system TextEdit shows only the file name in the titlebar, so I can’t
compare this. But the LibreOffice issue can be easily explained; LibreOffice
sets the title as <file name> - LibreOffice <app name>, if the file name starts
with a strong left to right character then Mac OS X displays the string with
RTL base direction, and then we get the ugly mix of RTL and LTR text.

You can easily reproduce this by typing the string:

    نص.odt - LibreOffice Writer

In Writer and setting the text direction to RTL, you will end up with the same
mix.

One solution to this is to drop the " - LibreOffice <app name>" from the title
bar entirely. Another solution is to force the title to always have a LTR
direction by appending a U+200E (Left To Right Mark), but what about users
using RTL UI? Detect it and insert U+200F (Right To Left Mark) instead?

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

Reply via email to