Created attachment 104987 [details]
how the bullet entries appeared
By default, when you set the before and after text indentation to a paragraph, the inserted image will take up the non-indented part, but when only the before text indent is set, like in a bullet/number list or an indented section, the image is inserted above this section and takes up the full width of the page.
1) open new writer document
2) add a bullet entry
3) on the bullet line, add an image
If the image is smaller than the width of the page, it will push the bullet entry to its right as if wrapping was set to after. If the image is larger than the page width, it will shrink the image and place it above the bullet line. Both are shown in the attached screenshot.
But outside of this, i dont understand why the default behaviour of inserting an image would be centered in the paragraph/page when the paragraph alignment is set to left.
Both issues are reproducible with LO 22.214.171.124 (Win 8.1).
For me it is also not clear why the image is centered, for me this seems not to be consistent.
(In reply to Jay Philips from comment #0)
> If the image is smaller than the width of the page, it will push the bullet
> entry to its right as if wrapping was set to after. If the image is larger
> than the page width, it will shrink the image and place it above the bullet
> line. Both are shown in the attached screenshot.
What works fine for me is adding a space first after the bullet.
The same what one has to do to dumb-paste any text in a paragraph marked as heading or with bullets, to prevent changing the paragraph settings.
So I think there is some consistent - though advanced behaviour - here .. ?
At the time that i submitted this bug, i assumed that LO was being smart with their insertion code when adding an image (as i assumed optimal meant that it was changing its behaviour depending on the circumstance), but actually it is always adding images as To Paragraph, Optimal, Centered and this is the outcome.
This ties in directly on what should be the default behaviour of inserted images and whether a user should be able to change this default behaviour (bug 87720).
We're replacing our use of the 'ux-advise' component with a keyword:
Component -> LibreOffice
Add Keyword: needsUXEval
Possible solution is to insert the image As Character by default. That places it behind the bullet, and is also the most likely placement outside lists. Opinions?
(Switching to Writer since Impress has no alignment of images in lists.)
(In reply to Heiko Tietze from comment #5)
> Possible solution is to insert the image As Character by default. That
> places it behind the bullet, and is also the most likely placement outside
> lists. Opinions?
I'll leave bug 87720 to decide what the default behaviour of inserting an image should be, but i think its useful to have the behaviour change based on context (e.g. inserting an image while selecting a shape will have the image used as the bitmap fill of the shape).
So when a user has the cursor in a list, what is the best behaviour to suit their needs, so they dont have to change anchor?
Regina, Stuart, Cor, Sophie: thoughts?
I think, that a suitable default is not possible, because the ways images are used are too different. I prefer to have a style for each use case, not a single default. The predefined styles should cover these use cases:
(A) Insert a large image, that will fill an entire paragraph
(B) Insert a small image like icon, key-pictures in similar size as characters
(c) Insert a image, that will have text right or left from it.
Real problems are:
(1) Selecting the style in the drop-down list while inserting an image does not work. It is always "Graphics".
(2) The user cannot create a style, which contains the desired anchor and position. You need to edit the file format to get your desired style.
For me: First fix the bugs (1) and (2) and then think about defaults.
For me (LO 6.0 Windows) it makes no difference whether I have a normal paragraph or a bullet list.
(In reply to Regina Henschel from comment #7)
> I think, that a suitable default is not possible, because the ways images
> are used are too different. I prefer to have a style for each use case, not
> a single default. The predefined styles should cover these use cases:
> (A) Insert a large image, that will fill an entire paragraph
> (B) Insert a small image like icon, key-pictures in similar size as
> (c) Insert a image, that will have text right or left from it.
Good concept for some image styles, so please file an enhancement report and attach a sample with these styles in it, but regular users dont/wont use styles.
> Real problems are:
> (1) Selecting the style in the drop-down list while inserting an image does
> not work. It is always "Graphics".
> (2) The user cannot create a style, which contains the desired anchor and
> position. You need to edit the file format to get your desired style.
Problem (1) is bug 79160.
We discussed this ticket in the design meeting and welcome the styles idea.
Should we make bug 87742 a duplicate of this ticket as the solution would also be a style?
The bug doesn't show as described under V 126.96.36.199.beta1.
This may be due to a changed default anchoring.
Dear Yousuf Philips (jay) (retired),
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
The bug still shows for me as described.
Version: 188.8.131.52 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
I find both the bug title and the initial comment too vague. So, I'll take the liberty of rephrasing in my next comment (and you are all welcome to correct me).
Bug reproduction instructions:
1. Create a new Writer document.
2. Ensure your paragraph, and Default Paragraph Style, are in LTR direction and Left-aligned.
2. Type "Hello world".
4. Place the cursor anywhere in the first paragraph.
5. Insert a small image, which won't cover a lot of the text area's width (say, this one: https://bugs.documentfoundation.org/docs/en/html/_static/bugzilla.png); when inserting the image, don't change the "Style" choice in the insertion dialog.
The image should be aligned to the left boundary of the text area.
The image is inserted at the center of the text area (and the paragraph text is placed past it, to the right).
This happens, in particular, with bulleted/numbered lists, and with non-list indented paragraph (although the placement of the paragraph text depends on whether the indentation is from both sides or just from the start - it may be placed either to the left or to the right of the inserted image.)
(In reply to Heiko Tietze from comment #10)
> We discussed this ticket in the design meeting and welcome the styles idea.
Maybe, but for now, the default is problematic and surprising to the user.
> Should we make bug 87742 a duplicate of this ticket as the solution would
> also be a style?
No. Plus, defining these styles still doesn't change the problematic default.
Actually, styles for frames e.g. inserted Images, would provide anchor and positioning "defaults" for the style see bug 32484 and dupes.
So styles (each with its usage needs for default anchoring) is actually the solution.
(In reply to Eyal Rozenberg from comment #15)
> Bug reproduction instructions
> Actual Results:
> The image is inserted at the center of the text area (and the paragraph text
> is placed past it, to the right).
Following the new instructions, The image is inserted at the center of the text area but the text remained in its place (to the left of the image).
However, with bulleted/numbered lists, the text (plus the number/bullet itself) of the list item does go to the right of the image as in the first image of screenshot added by Yousfu (https://bugs.documentfoundation.org/attachment.cgi?id=104987). Note how the list bullet is to the right of the image of "finished downloading" in the screenshot.
Also, when an image has a large width, it gets inserted before the whole list item instead of being part of it. This is shown in the second image of screenshot added by Yousfu. Note how the list bullet is below the image of the video in the screenshot, even though it was pasted in that bullet list and should be inserted after that bullet.
I am not sure if "pasted image is inserted at the center (in case of no bulleted/numbered list)" is the same bug as of "pasted image in bulleted/numbered list is inserted before the list item". If not, we may want to submit a separate bug report for one or both of them. What do you think?
> Expected Results:
> The image should be aligned to the left boundary of the text area.
Correct me if I am wrong, but the expected result would be to have the image to the right of the (LTR) text. which is the right boundary of the text. Right?