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

--- Comment #4 from LRN <[email protected]> ---
I've experienced this bug as well (looks exactly the same way Urmas' screenshot
shows).

Also might have found a workaround. I'll describe what i did, and let you sort
it out.

1) I type in some cyrillic text (using Times New Roman 14, character style is
Default, paragraph style is Plaintext).
2) I need to put an accent over a letter. I go into Insert->Special Character,
choose "Combining Diacritical Marks", select U+0301, and press OK.
3) I experience the bug: the original letter i wanted to accent remains
unaccented, however next to it (to the right, overlapping with the original
letter) an accented variant is drawn. Duplicate, however, causes extra space to
appear, as if it was a normal letter. Because of that, not only duplicate
overlaps with the original, being shifted to the left, but there's a highly
visible space to the right of it (wide enough to look like a real space).
Moving cursor by keyboard around the letter does not allow me to separate the
letters - i can set cursor to be either before the original letter, or after
the accented duplicate (that is, LO thinks them to be single entity).
However, with mouse i can select either the original letter only (setting the
cursor before the original, pressing LMB and drawing to the right until the
original is selected) or the duplicate only (setting the cursor after the
original and the duplicate, pressing LMB and drawing to the left). Note that
"select the duplicate" might sound misleading, as the selection is drawn in a
space that _would_ have encompassed the duplicate, if duplicate wasn't shifted
to the left to overlap with the original letter. That space captures the
duplicate only partially.
4) If i select the original and cut it, U+0301 character is left there, and
applies to the letter before the original one. If the original was the leftmost
letter, U+0301 is actually drawn the same way it is in the character table.
If i select the duplicate and cut it, duplicate is removed, and i get to where
i was initially, the (1).
If i paste the duplicate that i just cut out, duplicate reappears (that is, the
character that i selected and cut was the U+0301 itself).

Now, the workaround:
1) Select the U+0301
2) Change paragraph style to Default (for selection -> for the whole paragraph
selected character is in)
3) Rightclick on the selected character, Clear Direct Formatting
4) Cut the selected U+0301 character.
5) Undo, until you get to where you started
6) Delete the letter you were trying to put accent on (i.e. press Backspace)
7) Type the letter again
8) Paste the U+0301 character back.
9) Observe that accent works as intended this time (no duplicates).

(5) is not really necessary - the character that you cut out can be pasted
anywhere, and will work correctly. But you, presumably, don't want to give the
paragraph Default style, so we cancel.
(6) and (7) is because the character in the buffer will work everywhere -
except on the original letter you were trying to accent. You need to remove it
and type it in again.

If you select the original letter, as well as U+0301, the U+0301 character will
apply cleanly to the original letter the moment you clear direct formatting,
and you would not be able to select and cut it (well, actually, you can - if
you paste it as the leftmost character in a paragraph, you'll be able to select
it with SHIFT+Left).

The character in the buffer will remain valid as long as soffice is running. If
you kill it and restart it again, you'll have to do the workaround again.

-- 
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