Bug 81720

Andrew Pitonyak andrew at pitonyak.org
Fri Aug 19 14:04:38 UTC 2022


The general expected behavior in libre office, at least for me, is that if I place the cursor and start typing, that it will continue using the same attributes and properties of the character directly to the left of the cursor. So, if I have bold text, and I placed the cursor to the left of the bold text and I type, it will not be bold, it will be whatever is to the left of the cursor. If the cursor is immediately to the right of the bold text however then it will be bold.

In this case, I assume, but have not verified or checked in anyway,  references are a field. So the intent of this is to make certain that when the cursor is sitting directly to the left or right of, whatever is typed does not end up inside of that field. One side effect of this I expect, is that if you have a field with only one character you will have no way of modifying the text inside the field unless there is some special case when the text of the field is selected. I did not even check, can I select the text in a field? So what if the selection is partially in a field?

I would never have considered this a bug, I would have just considered it an extension of expected behavior. The annoying part is that if the field is the last thing in a file you have no way to add text after the field unless you do it programmatically, but that is also true last I checked of text tables.

I hope other contributors to comments in the bugs are correct that it is an easy fix, but I am skeptical.

⁣Get BlueMail for Android ​

On Aug 19, 2022, 9:41 AM, at 9:41 AM, Phillips Rogfield <thebudget72 at gmail.com> wrote:
>Dear developers,
>
>I would like to fix bug 81720 
><https://bugs.documentfoundation.org/show_bug.cgi?id=81720#c22>.
>
>Basically when you insert a ReferenceMark, if you put the cursor at the
>
>edge of it (start or end), and type something, it will expand on the 
>reference mark instead of writing it as a “normal text”.
>
>You can find how to reproduce it in comment 22 
><https://bugs.documentfoundation.org/show_bug.cgi?id=81720#c22>.
>
>I have set up my environment, but I’m not sure where is the code that 
>“checks” if something is a ReferenceMark, if anything.
>
>Can you point me in the right direction, please?
>
>Best,
>
>Phil
>
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220819/58a5f44a/attachment.htm>


More information about the LibreOffice mailing list