https://bugs.documentfoundation.org/show_bug.cgi?id=162305
--- Comment #7 from Eyal Rozenberg <[email protected]> --- (In reply to Heiko Tietze from comment #6) > (In reply to Eyal Rozenberg from comment #5) > > 1. Should the direction, or the alignment, of a text file be determined > > based only on its content, or also on the app's locale? What is it > > reasonable for people to expect? > However it is detected you expect RTL for CTL content, and LTR vice versa. 1. Ok, if it's universally obvious than great :-) 2. RTL, not CTL (which is not relevant in this context). > It must not follow the page properties, the system locale, the configuration. Ah, but what about a text file which only contains neutral characters? e.g. a file with numbers, dots and commas? > > 2. Do we agree that directions should be set at the paragraph level, rather > > than at the file level? > I see no reason to tinker with the page style (guess that is what you mean > with file aka document). It follows the default and a typical situation when > people in Egypt copy/paste English content in their document, to make an > example from the other side, should work out of the box. While this is my bottom-line opinion, it is actually not entirely that obvious. Let me play devil's advocate for a second. Suppose I paste a file with 100 lines in Hebrew, but one line of which, somewhere in the Middle, has mostly German and some Hebrew. Does that paragraph have "German content"? Maybe it's the whole Document with Hebrew content that just happens to have a few words, or lines, mostly in German? Now, what if you have a line with 50% of the words in Hebrew and 50% of the words in German. Is it Hebrew content? German content? Both? None? What would the direction be? And now what if you have a single line which is all Hebrew, except that the first word is German. What should the direction be now? ---- Now for another kind of question. I open my LibreOffice Writer, and start typing some text in German. Then I press Enter, switch keyboard layouts, and type some text in Hebrew. And then I do the exact same thing but in a text editor; then I save my file; then open it in LO Writer; then navigate to the end of the file. By your argument, the layouts in the two cases should be different - because in one case we got a direction detection, while in the other we had not - even though we had typed the exact same thing. is that Reasonable? Again, not obvious. -- You are receiving this mail because: You are the assignee for the bug.
