Bug 154527 - Drawing object text entered into gallery graphic extends beyond frame, no wrap
Summary: Drawing object text entered into gallery graphic extends beyond frame, no wrap
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-31 20:26 UTC by sisbvalla
Modified: 2023-04-01 15:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
flat ODF Drawing with text "annotation" and a Draw Text box (45.37 KB, application/vnd.oasis.opendocument.graphics)
2023-04-01 15:04 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sisbvalla 2023-03-31 20:26:07 UTC
Description:
When I try to write in notepad it goes beyond the given minimum size.
steps to reproduce:
1. First you need to go to libreofficedraw
2.Then press the gallery on the right side,then choose shapes.
3.Select the 3rd bluenote and enter text in it
Note that it extends belows the given segment











































Actual Results:
When i entering text the lower part continues to stretch

Expected Results:
When i entering text the text should be displayed in the inner part without the bottom part disappearing


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 1 Sangeetha 2023-03-31 20:43:12 UTC
I tried this Bug .It looks same for me.when i try to write in the notepad it goes beyond the notepad size
Comment 2 V Stuart Foote 2023-04-01 14:20:03 UTC
Text annotation applied to a shape object does not wrap within the object's frame. That is expected.

If you want more control, do not attempt to use the metafile object's text field, instead insert a draw Text box <F2> sized to the area needed. That will wrap and you can adjust the text attributes as needed.

Then select and group the shape objects, e.g. metafile and text frame.
Comment 3 V Stuart Foote 2023-04-01 15:04:05 UTC
Created attachment 186395 [details]
flat ODF Drawing with text "annotation" and a Draw Text box

Text attribute 'Adjust to contour' is broken as with bug 152906, but even if that were correct you would not get what you want. The to contour for this gallery graphic is its border.

Desired effect is better achieved with a draw Text box rather than using the draw shape's text annotation.