Bug 142300

Summary: Moving a Button in Writer failed because the old button is always on its old place
Product: LibreOffice Reporter: Ralf Kalinowski <ralf.kalinowski>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, ralf.kalinowski, xiscofauli
Priority: medium    
Version: 7.0.5.2 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107742    
Attachments: The Writer document

Description Ralf Kalinowski 2021-05-15 17:11:37 UTC
Description:
I created a button in Writer with a very simple Output-Macro

Steps to Reproduce:
1.open a new Writer-Document
2.creat a Button
3.creat simple msgbox-macro
4.link the botton with macro
5.test the macro
6.fill Writer with a simple text.
7.move the button to another place within the document
8.you can move it, but the old botton is already on its old position too
9. try to delete the old button failed

Actual Results:
same problem

Expected Results:
moving the button on its new place and delete the old one


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: TextDocument
[Information guessed from browser]
OS: Windows 10
OS is 64bit: yes
Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 4; OS: Windows 10.0 Build 7600; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 Ralf Kalinowski 2021-05-15 17:16:30 UTC
Created attachment 172029 [details]
The Writer document
Comment 2 Heiko Tietze 2021-05-16 09:19:18 UTC
Changing any property of the button (position, size, state...) adds a copy; the original control cannot be deleted.

Version: 7.0.6.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: kf5
Locale: de-DE (en_US.UTF-8); UI: en-US
7.0.6-1
Calc: threaded

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 40545189e73f404245ac56a5c8ac0f2afe7987fd
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded