Bug 142300 - Moving a Button in Writer failed because the old button is always on its old place
Summary: Moving a Button in Writer failed because the old button is always on its old ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2021-05-15 17:11 UTC by Ralf Kalinowski
Modified: 2024-10-05 18:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The Writer document (12.09 KB, application/vnd.oasis.opendocument.text)
2021-05-15 17:16 UTC, Ralf Kalinowski
Details

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 3 Buovjaga 2024-10-05 18:35:44 UTC
attachment 172029 [details] has 22 copies of a button in the same place. I tested reproducing this and found the reason: if the button is anchored to paragraph or to character and you copy the example paragraph you wrote that it is anchored to, pasting the paragraph will create copies of the button. You can easily observe this in the Navigator in the Sidebar.

I found this selection handling changed in version 7.0 with 91b2325808a75174f284c48c8b8afc118fad74e4
tdf#121300 sw: consistent fly at-pargraph selection

So I don't think we can call this a bug.