Bug 158053

Summary: The text not start with in the chevron in a shape attribute
Product: LibreOffice Reporter: Lakshmi <lakshmihk2003>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: rb.henschel
Priority: medium    
Version: Inherited From OOo   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Document with chevron shapes with restricted text area

Description Lakshmi 2023-11-03 11:36:40 UTC
Description:
The chevron option in a block arrows section. When i enter the text .It not start with in the chevron and every time when i enter the enter key it again start from out of chevron.

Steps to Reproduce:
1.Go to insert in a LibreOffice writer.
2.go to shape and click block arrows and then chevron.
3.Drag and type the text.

Actual Results:
The text start outside of the chevron and every time i enter a enter key ,The same thing happened.

Expected Results:
The text came with in chevron 


Reproducible: Sometimes


User Profile Reset: Yes

Additional Info:
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3
Comment 1 Regina Henschel 2023-11-03 18:14:29 UTC
The shape has been designed that way long time ago. Therefore I not sure whether we should change it.

I'll attach a file with an OOXML-chevron and with a chevron, for which I have restricted the text area manually. You can drag theses files into an own Gallery theme.

In case the people, who maintain the bug reports, decide to change the shape in the "Block Arrow" category: This is an easy hack with a change in the file https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx?r=48dffbd8#1655

Another way to solve this problem would be to introduce a gallery theme with all the shapes defined in OOXML. The OOXML-chevron has a restricted text area.
Comment 2 Regina Henschel 2023-11-03 18:15:32 UTC
Created attachment 190638 [details]
Document with chevron shapes with restricted text area