Bug 129174 - click on the text boundary of a text box in a shape that has been grouped moves cursor to top of the document
Summary: click on the text boundary of a text box in a shape that has been grouped mov...
Status: RESOLVED WORKSFORME
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:
Keywords:
Depends on:
Blocks: Textbox Shapes
  Show dependency treegraph
 
Reported: 2019-12-04 10:26 UTC by sdc.blanco
Modified: 2021-11-02 07:29 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 10:26:39 UTC
Procedure to produce bug.

1.  Open Writer document, insert a few (e.g. three) blank pages.
2.  On the last page, insert a shape, then right-click on shape to "Add text box".

Test #1 (Set View > Text Boundaries)  Click on the text boundary in the shape.  The shape is selected. (while not necessarily expected, not a surprise).

3.  Add a new shape (or textbox), and group the new shape with the previous shape that has the added text box.

Test #2.  Click on text boundary of textbox.  In contrast to Test #1, the cursor is now moved to the top of the document.

4.  Ungroup the two shapes.

Test #3. Click on text boundary of textbox.  In contrast to Test #1, the cursor is now moved to the top of the document, even though the original shape is no longer grouped (as in Test #2)

Expected result:  Nothing happens when clicking on text boundary (beyond making selecting the shape)

Additional information:
1. This has happened with grouping a shape with a textbox, a shape, and a line.
2. I notice that when a text box is added alone then Text Boundaries are not shown -- in contrast to when the text box is added to a shape with a right-click "Add text box".

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 Dieter 2019-12-04 12:57:39 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 2 Dieter 2021-11-02 07:29:16 UTC
(In reply to sdc.blanco from comment #0)
> Test #2.  Click on text boundary of textbox.  In contrast to Test #1, the
> cursor is now moved to the top of the document.
Now the group is selected (expected)

> 4.  Ungroup the two shapes.
> 
> Test #3. Click on text boundary of textbox.  In contrast to Test #1, the
> cursor is now moved to the top of the document, even though the original
> shape is no longer grouped (as in Test #2)
Now the textbox is selected (expected)

=> RESOLVED WORKSFORME

Tested with
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 273a25c796fca9afa0dfadac57dc3f336831221c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL