[Bug 167484] When no text is selected, font controls should reflect the chosen keyboard layout
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 16 13:25:58 UTC 2025
https://bugs.documentfoundation.org/show_bug.cgi?id=167484
--- Comment #7 from V Stuart Foote <vsfoote at libreoffice.org> ---
(In reply to Eyal Rozenberg from comment #6)
> > And probably don't want a language change on active keyboard to assert
> > against entire paragraphs, as that would make it impossible to work polyglot
> > for a single paragraph.
>
> assert... ?
>
> Can you describe the scenarios which you find problematic with my suggestion?
>
> More specifically - suppose I have a sequence of characters which are
> strongly RTL-CTL. Now, in the middle of that sequence, I change the keyboard
> layout to French. My ask here is to have the formatting toolbar show me the
> French typeface, font size, etc. Do you think this is problematic?
*in the middle of that sequence*
Issue would be with how it would be laid down in the text run. With DF or Text
style applied to the text entered mid span, you'd end up with a text run of
mixed style assignments in the ODF, potentially misidentified language, with
RSID tags to boot.
To keep the chaos down (and keep the ODF/OOXML meaningful), it would be
reasonable to limit the keyboard/IME has changed response to apply at ICU lib
word bounds for current edit cursor, or to word/sentence ends when a bounding
selection of words has been made.
Hard to justify the mess that would result doing it mid-word.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list