Download it now!
Bug 107687 - UX: Two ways to add text within a shape. Adding a textbox makes it impossible to delete text written directly in the shape.
Summary: UX: Two ways to add text within a shape. Adding a textbox makes it impossibl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Textbox Writer-UX
  Show dependency treegraph
Reported: 2017-05-07 16:08 UTC by Telesto
Modified: 2019-10-30 17:32 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Example file (10.48 KB, application/3dr)
2017-05-07 16:09 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-05-07 16:08:47 UTC
There are two ways of adding text to a shape. Type into the shape or add a textbox to the shape. It's not only a bit confusing: two way's to add text, but it also some disadvantages for the WYSING editing.

Steps to Reproduce:
1. Open the attached file
2. Remove the text "Delete Me"

Actual Results:  
Textbox is on top of the text 'Delete Me'. The text can't be deleted without removing the textbox

Expected Results:
Most ideally one way to add text into a shape

Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Build ID: 274ecb49b70b3f01d47546e3b44317946c106042
CPU threads: 4; OS: Windows 6.2; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-05_22:45:07
Locale: nl-BE (nl_NL); Calc: single

and in
Build ID: 46360c72c4823cefeaa85af537fba22bd568da7e
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: standaard; Layout-Engine: nieuw; 
Locale: nl-NL (nl_NL); Calc: CL

User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-05-07 16:09:02 UTC
Created attachment 133135 [details]
Example file
Comment 2 Buovjaga 2017-05-13 11:40:52 UTC
There is a text Hello world, but not Delete Me.
Comment 3 Telesto 2017-05-13 12:36:58 UTC
(In reply to Buovjaga from comment #2)
> There is a text Hello world, but not Delete Me.

You're right. "Delete Me" isn't saved (seems the fix the issue ;-). Anyhow steps to reproduce:
1. Open Writer
2. Insert a 6 point star (Insert -> Shape -> Star)
3. Double click into the start until so the text cursor appears
4. Type "Delete Me"
5. Right click the shape
6. Select "Add Text Box"
7. Type something like "Hello World"
8. Now try to remove 'Delete Me"

Second bug
9. Save the file created: "Delete me" is gone.
Comment 4 V Stuart Foote 2017-05-13 15:07:47 UTC
Confirmed Windows 10 Pro 64-bit en-US with
Version: (x64)
Build ID: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; 
Locale: en-US (en_US); Calc: group

Confirmed--there are two entry methods, and the context menu UNO commands do not correctly handle the Draw Shape's own text box so maybe a bit of an implementation issue.

Using the the context menu entry "Add Text Box" the text already entered into the Draw Shape is actually replaced with a new Paragraph.

Conversely the "Remove Text Box" does not target the text added to a Draw Shape when clicking into the shape, and only works against an "Add Text Box" entry.

Context menu

adding -- uno:AddTextBox

removing -- uno:RemoveTextBox
Comment 5 QA Administrators 2018-10-20 02:53:08 UTC Comment hidden (obsolete)
Comment 6 2019-10-30 17:32:09 UTC
Both bugs named in comment #3 still exist.

Version: (x64)
Build ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: en-US (en_DK); UI-Language: en-US
Calc: CL

Additional information:
1.  As workaround for first bug:  It is possible to "remove textbox" (then remove the "Delete Me" text that was written directly into the star). 
2. Tried to change bug summary to more accurately reflect the problem.