[Libreoffice-bugs] [Bug 121378] New: Writer/UI: Adding Captions to Images is very Unpractical (Width of Image Changes with Width of Frame, Does not use Default Frame Style etc)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 12 20:42:30 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121378
Bug ID: 121378
Summary: Writer/UI: Adding Captions to Images is very
Unpractical (Width of Image Changes with Width of
Frame, Does not use Default Frame Style etc)
Product: LibreOffice
Version: 6.1.2.1 release
Hardware: x86-64 (AMD64)
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: adalbert.hanssen at gmx.de
Description:
This report was made with LibreOffice Writer Version: 6.1.2.1, Build ID:
65905a128db06ba48db947242809d14d3f9a93fe, CPU threads: 4; OS: Linux 4.4; UI
render: default; VCL: gtk2; Locale: de-DE (de_DE.UTF-8); Calc: group threaded
run on Xubuntu 16.04.3 LTS with current kernel 4.4.0-116-generic x86_64.
Probably it is present in all other versions of LO too.
If I add a caption to an image, the width of the caption is taken automatically
as the width of the image. That’s quite unpractical for narrow images because
the caption spans several lines and becomes unreadable. If one enlarges the
width of the frame (e.g. to 100% width of the paragraph), the size of the image
is also blown up to frame size of the frame introduced by the function
Insert>Caption. One has to click outside the frame and its contained image,
then on the image itself and reset to the original size or to the size which
the image was given before. That’ very clumsy.
After the frame size has been widened, the size of the image is also blown up.
After the picture has been resized to its original size still the frame size is
bigger than necessary. Although the position is set to “Below” a forced
linefeed before the term is missing.
By manually resizing the frame height I finally get the size I actually wanted.
I could place a paragraph mark before Figure but no manual line break! So I
also have to modify the Spacing below for the style “Figure“ to prevent a too
much space below the picture.
I tried to modify the default alignment for “frame” in order to let the caption
be placed in a frame
100% of the current paragraph width,
alt least 4 mm height but it shall extend automatically if the content needs
more space,
left aligned
but the caption and the image shall be centered with respect to the frame
(which can be achieved by changing the default setting for the paragraph styles
for Caption and Figure). Unfortunately the horizontal placement and the
anchoring options are inaccessible in the dialog to modify my document’s
stylesheet. They only become accessible for an existing frame anchored to a
paragraph. But even then the frame is offset to the right by 2 mm (try it out:
this is probably a real bug). Unfortunately I could not update the style for a
frame to become the default style for any new frame. I did not find a
workaround to streamline at least the placement of the caption-frame.
I propose to provide a standard frame for image captions and one for table
captions which will be automatically taken for all new frames produced by the
function Insert Caption.
Further observation: No footnote can be attached to a caption because subdialog
items of Insert Footnote and Endnote are greyed out if the cursor is on a
caption. Fortunately I can edit a caption. But it should be possible to attach
a footnote to it (like image taken from …).
Steps to Reproduce:
1. Paste a narrow picture to a LO Writer document
2. Make a caption for it
3. widen the width of the caption's frame
Actual Results:
In step 2 the width of the caption is taken from the width of the image
In step 3 the size of the picture changes. There also should be a forced
linefeed after it.
Expected Results:
Size of the image does not change when the frame for the caption is resized.
It should be possible to define properties for a default frame for a caption:
in the most general case one for all tables, one for all images.
One should be able to define horizontal alignment for these prototypes in the
<F11> Mange Styles dialog.
Reproducible: Always
User Profile Reset: Yes
OpenGL enabled: Yes
Additional Info:
Build ID: 65905a128db06ba48db947242809d14d3f9a93fe
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2;
Locale: de-DE (de_DE.UTF-8); Calc: group threaded
--
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/20181112/4a3dc220/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list