[Libreoffice-ux-advise] [Bug 155494] Cursor goes beyond margins when typing spaces at the end of a line

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 30 08:10:09 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=155494

--- Comment #16 from خالد حسني <khaled at libreoffice.org> ---
(In reply to V Stuart Foote from comment #14)
> @Khaled, could this be a Harfbuzz composition issue?  What width for a space
> is used for composing line wrap position a line of text against
> document/paragraph margins?  Tabs are not similarly affected--just strings
> of <Space> characters.

No relation to HarfBuzz here, space is a character like any other character and
its glyph takes the advance width specified in the font. The decision to
collapse spaces at the end of the line is a higher level decision.

As for the issue here, this behavior seem unusual to me. I don’t have MS Office
to check, but I tested TextEdit and Pages and both keep the cursor at the end
of the line no matter how many spaces as entered. I think a survey of how
different text editors and office suites handle this situation might be in
order, but I can’t imagine the cursor going infinitely into the margin is
something common.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list