[Libreoffice-bugs] [Bug 131303] New: Blank character inserted before caption category text in Sub-Documents shows up in Master Document indices
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 12 08:30:00 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=131303
Bug ID: 131303
Summary: Blank character inserted before caption category text
in Sub-Documents shows up in Master Document indices
Product: LibreOffice
Version: 3.6.4.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: erickmgriffin at gmail.com
Description:
Adding a caption to an inserted image injects an unnecessary space in the index
when it is generated. This is another difference between OpenOffice 4.6 and
LO6.3 that can be overridden but is very annoying. If I insert an image and
create a caption, for example a Map, I see the following in the index. This
seems to be occurring when the caption is created since the extraneous
character can be deleted later.
The spurious space or blank seems to be added during caption text creation. My
belief is that in AOO the text, along with category header (e.g. Map # ...) is
inserted before the space, so in that case the space ends up after the text and
is of no harm. In LO the text is being appended to what ever text is there,
that is after the character, causing the issue which appears in the index.
I myself can remove the character by going into the frame before the generated
text (e.g. Map) and clicking a backspace to remove it. When one does so you
will notice a slight re-adjustment in the frame, probably due to the affect of
the character being removed. If I do, the spurious character no longer appears
in the index. So, I am thinking caption text injection has a small bug that
appends to what is currently in the frame, instead of inserting at location
zero.
Steps to Reproduce:
1. In sub-document, insert an image
2. In sub-document, create a caption
3. Update master doc to pull in sub-document and create an index for specific
item
Actual Results:
After the master document has pulled in the sub-document and regenerated its
indices, note index for specific image or item has a spurious character in
front of the category text.
Expected Results:
There should be no character injected before the category text in the indices.
Reproducible: Always
User Profile Reset: No
Additional Info:
I myself can remove the character by going into the frame before the generated
text (e.g. Map) and clicking a backspace to remove it. When one does so, you
will notice a slight re-adjustment in the frame, probably due to the affect of
the character being removed. If I do, the spurious character no longer appears
in the index.
My belief is that in AOO the text, along with category header (e.g. Map # ...)
is inserted before the space, so in that case the space ends up after the text
and is of no harm. In LO the text is being appended to what ever text is there,
that is after the character, causing the issue which appears in the index.
Please contact me if you need a simple sample master and sub-doc to recreate
the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200312/9e65ecdc/attachment.htm>
More information about the Libreoffice-bugs
mailing list