Bug 98162

Summary: Page-anchored image skips to edge when moved by mouse
Product: LibreOffice Reporter: Stanislav Horacek <stanislav.horacek>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: 1304646911, ilmari.lauhakangas, telesto
Priority: medium    
Version: 3.4.5 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 87740    
Attachments: document with page anchored image which moves incorrectly by mouse

Description Stanislav Horacek 2016-02-24 21:20:46 UTC
Created attachment 122965 [details]
document with page anchored image which moves incorrectly by mouse

Under certain conditions, page-anchored images cannot be moved by mouse properly while moving by arrow keys works as expected.

Steps to reproduce:
1. Open the attached ODT file. There is only one image (a black rectangle) anchored to the page and positioned to the left of page text area.
2. Hover the image by mouse, click it, hold the left mouse key and move the image to the left slightly.
3. Release the left mouse key.

Observed: The image skips to the left edge of the page.
Expected: The image moves only slightly (as when moved by the left arrow key).

I cannot figure out how to insert the image exactly to reproduce this, however I faced this issue quite often when working with page-anchored images.

Presumably inherited from OO.org (observed in AOO 4.1.1), tested in 3.5.4 (Windows), 5.0.5 and 5.1.0 (Ubuntu 15.10).
Comment 1 Buovjaga 2016-03-14 14:20:37 UTC
Repro with document.

Also: after you move with arrow, move it back right and then try with mouse: it works.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: b89feb8018bf3610faf01e73995d576f6566e20b
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-03-07_03:36:17
Locale: fi-FI (fi_FI)
Comment 2 QA Administrators 2018-07-21 02:39:54 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-04-20 03:37:40 UTC Comment hidden (obsolete)
Comment 4 Stanislav Horacek 2022-05-01 18:31:36 UTC
Still reproducible in:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 67d8c245daf7c6ee33e908255f2bbd0ea8d08206
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded
Comment 5 QA Administrators 2024-05-01 03:15:05 UTC Comment hidden (obsolete)
Comment 6 Stanislav Horacek 2024-05-04 18:02:06 UTC
Still reproducible in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1dc92b9e9951ef118d2d823d54f9a022c2e41a27
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded