Summary: | RTL paragraphs spontaneously become LTR | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Nadav Har'El <nyh> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | xiscofauli |
Priority: | medium | ||
Version: | 5.2.6.2 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 43808 | ||
Attachments: | Tiny example document with an RTL paragraph and can be used to demonstrate the bug |
Description
Nadav Har'El
2017-04-20 08:33:45 UTC
I forgot to mention, I'm using LibreOffice 5.2.6.2 (from Fedora 25's package), so when I said this is a "recent" regression I mean it happened around 5.2.6.2 - not recent in the sense of the current master version. I an easy way to reproduce this bug 100% of the time: 1. open a new empty writer document 2. mark the current paragraph as RTL (Format->Paragraph, Alignment, Text direction->right to left). 3. Write something. Even just "hello" in English. You'll see it on the right side, as expected. 4. Use the "shift write-arrow" key several times to select the entire word "hello". 5. Now press the "control" key (as if preparing to control-C - but just press "control" and nothing else). 6. As soon as you pressed the "control" key (it even need to depress it, it happens as soon as you press) the directionality of the paragraph "flips" to LTR, and the word "hello" jumps to the left. Hello Nadav, Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) Created attachment 132752 [details]
Tiny example document with an RTL paragraph and can be used to demonstrate the bug
I just attached a document which can help you demonstrate the bug. This document has one short paragraph, which is in English, but marked an "RTL" paragraph and accordingly is aligned to the right. If you open this document, select the whole row by hitting Shift-LeftArrow multiple times, and then hit the "control" key, you'll see the paragraph suddenly jump to the left! With the "Format -> Paragraph" menu, you can see it mysteriously acquired the "left-to-right" text direction, which is what caused it to jump to the left. Of course, people don't expect that selecting text or hitting the "control" key changes a paragraph's direction.... You get this issue by simply pressing ctrl+shift, which is the same as bug 103158. *** This bug has been marked as a duplicate of bug 103158 *** |