Description: This at least applies to captions on images when the caption is below the image, which is the typical scenario for caption. It is not relevant for table captions, since with tables, the caption is just created as a separate paragraph in the normal document text flow. Steps to Reproduce: 1. Insert an image into a Writer document 2. With the image selected insert a caption 3. Change the Caption paragraph style to use Small Caps font effect Actual Results: The caption's category label (Figure, etc.) disappears. Expected Results: The full caption should be visible. Reproducible: Always User Profile Reset: No Additional Info: This also happens if you select everything inside the caption frame and apply Small Caps as direct formatting, or if you select the caption plus a mysterious invisible something on the line above (the line that the image is on) and apply Small Caps. The label is not hiding behind the image. If you make the image transparent you will see that the label is in fact gone. Yet, if you delete the image, the label reappears! Workaround: set the image anchor to Paragraph. Alternate Workaround: click on the caption text, move the cursor all the way to the beginning of the text frame, before the image, then press the right arrow key once so the cursor is now on the right side of the image, then press enter to create a paragraph break between the image and the caption. Obviously this won't effect a lot of people and the workaround is OK *if* you know to do it. But it is strange and I think it is just another example showing that captions are handle poorly in LO. And what is that mysterious invisible thing between the image and the caption? It doesn't show up when you display formatting marks, and it doesn't even exist in the text flow, based on moving the cursor with the arrow keys, and yet there is clearly something there.
May or may not be related to https://bugs.documentfoundation.org/show_bug.cgi?id=97397, but they should be dealt with at the same time, imho.
Third workaround, select the image+caption, or at least the mysterious invisible thing+caption and then Clear Direct Formatting.
Confirm with Version: 6.3.0.0.alpha0+ Build ID: 65438bcda46bab4f2fe6fb555f44aace45e11e5e CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; works correctly in Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89)
I confirmed it with: Version: 6.2.0.3 Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62 CPU threads: 4; OS: Mac OS X 10.12.5; UI render: default; VCL: osx; Locale: en-US (ja_JP.UTF-8); UI-Language: en-US Calc: threaded
tried bibisect with bibisect-linux-64-5.3,but cannot do it - lots of crashes
Created attachment 160358 [details] Test file with image and modified style
Bibisected with Win 5.3 repo to https://git.libreoffice.org/core/+/feedd45ba2dd308af2d3a1b2f64681b9467535b6%5E!/ in msword the hard-break between image and caption has a width To test, open attachment 160358 [details] and right-click the image to insert a caption. The style is already modified so the lack of "Illustration" will be seen immediately. Like raal, I struggled with the crashes upon "insert caption" in the 5.3 repo, but luckily it yielded a clear result in the end! Adding Cc: to Caolán McNamara
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/023621fea5dff2713abe42312b04edc9531426d4 Resolves: tdf#123801 captioning issues It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
lets just abandon the attempt to use a default caption scheme that would roundtrip perfectly to msword, its more trouble in sideeffects than its worth
fixed in master, backport to 6-4 in gerrit
It's ok now. Verified on Version: 7.0.0.0.alpha1 Build ID: 6a03b2a54143a9bc0c6d4c7f1... CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/90cc23eabdbc9248192a584c3dc41444cdab3bfd Resolves: tdf#123801 captioning issues It will be available in 6.4.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 131658 has been marked as a duplicate of this bug. ***