Bug 129183 - grouping a shape with an added textbox detaches the textbox from the shape
Summary: grouping a shape with an added textbox detaches the textbox from the shape
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.3.0 target:7.4.0 target:7.3....
Keywords:
Depends on:
Blocks: Textbox Shapes Shape-Textbox
  Show dependency treegraph
 
Reported: 2019-12-04 15:09 UTC by sdc.blanco
Modified: 2022-04-08 08:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2019-12-04 15:09:55 UTC
Procedure to produce bug.

1.  Insert Shape. 
2.  Right-click on selected shape, Add text box (and some text).
3.  Insert a new shape.
4.  Select and group the two shapes.

Actual result:  The textbox is separated (detached) from the shape, when the two shapes are grouped.

(Probably you will see the text disappear if you follow this procedure, but just move the grouped shape and you will see the textbox, but now it does not move with the shape.  (It did move with the shape, if it was not grouped).

Also, if you ungroup the shape, then you will see that you can again right-click and "Add Text Box" (which is why I say the text box was "detached").

You can add a new textbox and repeat the same procedure.

Expected result: The text box remains with the shape when the shapes are grouped.


Additional information:

1.  The first time the shapes the grouped, the text box (for the first shape) disappears from view.  But if you subsequently right-click and add a new text box , then it remains in view when grouped with another shape (but still gets detached).

2.  These "detached" textboxes become Frames (but they do not appear in Navigator).  (determined by selecting the textbox and using right-click Properties)


Tested with:
Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 

and

Version: 6.4.0.0.beta1 (x64)
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win;
Comment 1 sdc.blanco 2019-12-04 15:24:30 UTC
The feature of adding textboxes to shapes only first appears with LO 4.4

https://vmiklos.hu/blog/textbox.html
Comment 2 Dieter 2019-12-04 17:28:53 UTC
I confirm it with

Version: 6.4.0.0.beta1 (x64)
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded
Comment 3 sdc.blanco 2020-12-17 22:21:19 UTC
Reproduced (including "Additional Information")

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 368c56144aab5794c39d5bc2082d9b3d6d7cebdb
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Locale: en-CA (en_DK); UI: en-GB
Calc: threaded
Comment 4 Commit Notification 2021-11-24 10:52:28 UTC
Attila Bakos (NISZ) committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/eabcfb3f18a6944d9ad89cecd3eb3ca7a2259cf3

tdf#129183 sw: textboxes in group shapes - part 3

It will be available in 7.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2021-11-28 15:51:55 UTC
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4fb7967fb2e67717f79eb87519c1444a82350a83

Revert "tdf#129183 sw: textboxes in group shapes - part 3"

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2021-11-28 17:03:40 UTC
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/2408a1ac6131d137704860f5f8b83bb98d62a4d1

Revert "tdf#129183 sw: textboxes in group shapes - part 3"

It will be available in 7.3.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Gabor Kelemen (allotropia) 2022-02-28 07:48:11 UTC
This part of the Grouped Shapes in Writer issue is fixed in 7.3 since:

author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Wed Sep 01 16:38:07 2021 +0200
committer	László Németh <nemeth@numbertext.org>	Thu Sep 16 12:56:10 2021 +0200

tdf#143574 tdf#144271 sw: textboxes in group shapes - part 2
Comment 8 Dieter 2022-03-12 09:20:07 UTC
VERIFIED with

Version: 7.3.1.3 (x64) / LibreOffice Community
Build ID: a69ca51ded25f3eefd52d7bf9a5fad8c90b87951
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

Thanks for fixing it!