Bug 166537 - Asian Phonetic Guide (Ruby) Group alters base text (moves spaces)
Summary: Asian Phonetic Guide (Ruby) Group alters base text (moves spaces)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Ruby
  Show dependency treegraph
 
Reported: 2025-05-12 05:56 UTC by Seán Ó Séaghdha
Modified: 2025-09-11 15:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Shows examples of text before and after adding Ruby text (71.75 KB, image/png)
2025-05-12 05:56 UTC, Seán Ó Séaghdha
Details
Before adding ruby (120.94 KB, image/jpeg)
2025-09-11 13:20 UTC, Seán Ó Séaghdha
Details
Using Group moves spaces to the end of the string (145.44 KB, image/jpeg)
2025-09-11 13:20 UTC, Seán Ó Séaghdha
Details
Resulting mangled text (133.59 KB, image/jpeg)
2025-09-11 13:21 UTC, Seán Ó Séaghdha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seán Ó Séaghdha 2025-05-12 05:56:18 UTC
Created attachment 200751 [details]
Shows examples of text before and after adding Ruby text

Using the new Group feature in the Asian Phonetic Guide dialog is destructive of text that uses spaces. When you use the Group button and add phonetic text, all the spaces in the base text are moved to the end of the selected text.
Comment 1 Seán Ó Séaghdha 2025-05-30 04:09:42 UTC
This is also true for (true) ’ apostrophes. They don’t appear in the dialog and they are shifted to the end of the text when you use grouping.

Every verb in Irish that starts with a vowel will have a past tense starting in d’ and these are usually transcribed phonetically as one sound, so this bug makes doing phonetic mark-up extremely tedious.

This doesn’t happen with ' though, which appears in the dialog and isn’t shifted. These symbols are semantically identical and should not be treated differently.
Comment 2 Seán Ó Séaghdha 2025-09-11 13:20:15 UTC
Created attachment 202795 [details]
Before adding ruby
Comment 3 Seán Ó Séaghdha 2025-09-11 13:20:52 UTC
Created attachment 202796 [details]
Using Group moves spaces to the end of the string
Comment 4 Seán Ó Séaghdha 2025-09-11 13:21:19 UTC
Created attachment 202797 [details]
Resulting mangled text
Comment 5 Seán Ó Séaghdha 2025-09-11 13:22:13 UTC
I see this is still a problem in v. 25.8.0.4