Bug 140503 - anchor position after opening and click on image not right, but on second click without modifying
Summary: anchor position after opening and click on image not right, but on second cli...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap Writer-Images
  Show dependency treegraph
 
Reported: 2021-02-18 12:35 UTC by Gerald
Modified: 2024-10-01 17:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
WRITER_AnchorPosition_Testfile (364.11 KB, application/x-zip-compressed)
2021-02-18 12:35 UTC, Gerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald 2021-02-18 12:35:43 UTC
Created attachment 169853 [details]
WRITER_AnchorPosition_Testfile

The anchor position after opening a document and click on a picture seems to be wrong, but on the second click, the anchor is on the right place.

Steps to reproduce:

Step1:
Open the document (attachment) and click on the picture. -> The anchor is outside of the page. (anchor_firstTimeClick_after_opening.png)

Step2:
Click on an empty place on the page

Step3:
Click on the picture again -> now the anchor seems to be right
(anchor_secondTimeClick_after_opening.png)


If you have 2 pictures in the document (like this attachment), so you have to do this procedure with the clicks for all pictures to see the right anchor ( i think it would be the right anchor ).
Comment 1 Aleksandar Kondic 2021-03-16 01:17:03 UTC
Hi Gerlad,

thanks for reporting! I was able to reproduce in 

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a0c689e1ad98bf3c47d189b8cc99c9f4bcc41a12
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-02-06_03:44:29
Calc: threaded
Comment 2 QA Administrators 2023-03-17 03:26:46 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2024-10-01 17:34:07 UTC
Repro in 7.2, works in master.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 298c2d5c8a6791aa6e5846b698d521079aaa445d
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 1 October 2024