Bug 90344 - Shape anchors incorrectly (file attached)
Summary: Shape anchors incorrectly (file attached)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap Shapes
  Show dependency treegraph
 
Reported: 2015-03-30 08:33 UTC by Bart
Modified: 2024-06-19 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Ellipse anchor bug on page 8 (1.03 MB, application/vnd.oasis.opendocument.text)
2015-03-30 08:33 UTC, Bart
Details
demonstration of red ellipse with image at top of page (1.05 MB, application/vnd.oasis.opendocument.text)
2022-06-19 15:54 UTC, sdc.blanco
Details
demonstration of red ellipse with image at top of page (1.05 MB, application/vnd.oasis.opendocument.text)
2022-06-19 17:31 UTC, sdc.blanco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart 2015-03-30 08:33:44 UTC
Created attachment 114458 [details]
Ellipse anchor bug on page 8

In attached file, p.8, when drawing a red ellipse on top of the image on top of the page, it jumps to the footer area of the previous page and can no longer be selected. Also impossible to draw an ellipse on top of the image except in anchor mode "page" (but I want it to move with the image).

To reproduce:
- open attached file
- scroll to page 8
- draw an ellipse on top of the image on top of the page

Observed behavior: ellipse jumps to footer area of previous page
Expected behavior: ellipse stays on top of image, or jumps to page area (not footer area) of page above

Alternatively:
- draw the ellipse in the text area below the upper image, it will stay in place
- drag the ellipse unto the image above, it will again jump to the footer area of the previous page
Changing anchor mode of the ellipse to "to Paragraph", "to Character" or "as character" does not change anything. "To Page" works, but is not desired (ellipse has to move together with underlying image).

The same setup (ellipse on top of image) does works on the second image on the same page.
Comment 1 A (Andy) 2015-03-30 17:18:11 UTC
Reproducible with LO 4.4.1.2, Win 8.1
Comment 2 Matthew Francis 2015-04-05 14:49:28 UTC
Also reproducible on Linux in LO 3.3.0

-> Version: Inherited from OOo
-> Platform: All
Comment 3 tommy27 2016-04-16 07:22:41 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2017-05-22 13:22:05 UTC Comment hidden (obsolete)
Comment 5 Bart 2017-05-22 14:27:21 UTC
Reproduced with LibreOffice Writer 5.3.2.2
Windows 10 Pro build 1703.
Same bug behavior.
Comment 6 QA Administrators 2018-06-25 02:41:33 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2022-05-08 03:32:19 UTC Comment hidden (obsolete)
Comment 8 sdc.blanco 2022-06-19 15:54:30 UTC
Created attachment 180832 [details]
demonstration of red ellipse with image at top of page

(In reply to Bart from comment #0)
> - open attached file
> - scroll to page 8
> - draw an ellipse on top of the image on top of the page
See attachment for an example. Note:
(a) the red ellipse does not appear (cannot explain why!), but use Navigator, and Drawing Objects, where you should see "Red ellipse anchored to character"). If you double-click on that name in Navigator, then you will see the shape become highlighted over the image (the "Update Software" part) (and if you drag one of the corners of the shape, then you will see that it appears as a red ellipse. And if you drag the shape off of the image, then it appears. I tried changing the wrap, arrangment and size, without success (b) I could not reproduce this problem of the disappearing ellipse starting with a new document, using an image anchored "as character" and then placing shapes on top of that image, using "to character" anchors (c) I also tested that if the image moves to the previous page (e.g., because text was deleted), then the red ellipse follows the image -- as you wanted.

Your comments show that you appreciate that the anchor affects where the shape appears.  This is why "to paragraph" anchor places the ellipse on the previous page. And if the "to character" anchor was not placed on the same page as the image, then the shape will be placed on the page where the "to character" anchor is located -- as you reported.

The attached version has placed the "to character" anchor on the same page as the image (just after the image, you will see it in the upper right corner when the ellipse is selected).

> The same setup (ellipse on top of image) does works on the second image on
> the same page.
This is because the paragraph (to which it is anchored) and the image are on the same page.  If the text was on one page and the image on the next page, then you would observe a similar problem. 


in my opinion, this ticket is "NOTABUG".  What do you think?
Comment 9 sdc.blanco 2022-06-19 17:31:58 UTC
Created attachment 180835 [details]
demonstration of red ellipse with image at top of page

Attached is the correct version of the demonstration (i.e., with the right positioning controls to keep the ellipse positioned correctly to the image if the image is moved to the previous page).

Curiously, if you test this, then the red ellipse does get shown when the image is moved to the previous page.
Comment 10 QA Administrators 2024-06-19 03:16:15 UTC
Dear Bart,

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!

Warm Regards,
QA Team

MassPing-UntouchedBug