Bug 152129

Summary: Cannot move shape to left or upper adjacent position using (some) base points
Product: LibreOffice Reporter: Epo Nym <luk_dhaene>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: luk_dhaene, stephane.guillou
Priority: medium    
Version: 6.3.6.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 108741    

Description Epo Nym 2022-11-19 19:09:44 UTC
Description:
Moving a shape to one of its adjacent positions can normally be done by copying the X- or Y-coordinate to itself after selecting another base point. For example, to move the shape to its right, you can select the top right base point, copy the X-coordinate, then select the top left base point, then paste the new X value. Now, this trick doesn't work anymore when moving to the left or upper direction. It does still work however for the right and lower directions.


Steps to Reproduce:
1. Place any shape, e.g. a rectangle.
2. Select RMB > "Position and Size...".
3. Notice the default base point is top left.
4. Copy the X-coordinate.
5. Select the top right base point (position).
6. Paste the value into the X-coordinate.
7. Click OK.

Actual Results:
The shape does not move.

Expected Results:
The shape should have moved to the left.


Reproducible: Always


User Profile Reset: No

Additional Info:
It does work when selecting the middle or lower left base point instead. So there's an easy workaround.
Comment 1 Stéphane Guillou (stragu) 2022-11-28 17:04:11 UTC
Reproduced with:

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1fd42472e2b1a2169d56e62ef11aa7ee1f7815e7
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Already in:

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2022-11-28 17:05:08 UTC
Also Windows:

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded