Bug 87915 - Text in shapes imported from Draw is lost
Summary: Text in shapes imported from Draw is lost
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 16:05 UTC by Mike Sapsard
Modified: 2015-02-09 15:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Draw file containing shapes with text. (29.03 KB, application/vnd.oasis.opendocument.graphics)
2015-02-05 19:41 UTC, Mike Sapsard
Details
Text file containing shapes with internal text. (55.01 KB, application/vnd.oasis.opendocument.text)
2015-02-05 19:45 UTC, Mike Sapsard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Sapsard 2014-12-31 16:05:09 UTC
I discovered in an earlier version of 4.3 that I could create a complex shape (Christmas tree) in Draw, fill it with text and import it to Write. This worked well and I was able to edit the text in Write.

When I upgraded to 4.3.4 the text disappeared from the shape in Write.

I have now installed 4.3.5.2 and tried to repeat the process:

Create a complex shape in Draw (Now I cannot add points)
Fill it with text
Import to Write

This no longer works.

I cannot add an attacment because all of the old files I have tried have been damaged. I cannot create new files, or I have forgotten exactly what I did before.
Comment 1 Julien Nabet 2014-12-31 16:32:50 UTC
Mike: if interested, you may find older versions here:
http://downloadarchive.documentfoundation.org/libreoffice/old/
Comment 2 Buovjaga 2015-01-13 16:04:22 UTC
Mike: here are instructions for installing an older version alongside your current one: https://wiki.documentfoundation.org/Installing_in_parallel/Linux

Please create a working example file in an older version so we can test. Set status back to UNCONFIRMED after attaching the file.
Comment 3 Mike Sapsard 2015-02-05 19:41:33 UTC
Created attachment 113153 [details]
Draw file containing shapes with text.
Comment 4 Mike Sapsard 2015-02-05 19:45:14 UTC
Created attachment 113154 [details]
Text file containing shapes with internal text.

Both files produced in LibreOffice 4.2.2.1. Shapes were produced in Draw and moved to Writer.

When opened in 4.3.5.2 the text no longer appeared in the shapes.
Comment 5 Mike Sapsard 2015-02-05 19:49:54 UTC
Files created in 4.2.2.1. Shapes were copied from Draw to Writer.

When opened in 4.3.5.2 the text no longer appeared in the shapes.
Comment 6 Buovjaga 2015-02-05 20:06:39 UTC
(In reply to Mike Sapsard from comment #4)
> Created attachment 113154 [details]
> Text file containing shapes with internal text.
> 
> Both files produced in LibreOffice 4.2.2.1. Shapes were produced in Draw and
> moved to Writer.
> 
> When opened in 4.3.5.2 the text no longer appeared in the shapes.

Confirmed in 4.3.5.2, but the text appears in 4.4.

Can you test with 4.3.6 and 4.4? Change to RESOLVED WORKSFORME, if the problem went away.

Tested with:

Win 7 Pro 64-bit, LibO Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7

Ubuntu 14.10 64-bit
Version: 4.4.0.3
Build ID: 40m0(Build:3)

Version: 4.3.5.2
Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5
Comment 7 Mike Sapsard 2015-02-06 20:38:01 UTC
Tested in 4.3.6.1 and 4.4.0.3. Files open, save and open again correctly.

I changed textbox colour and line type and they worked.

Tested in Linux Mint 17.1 on an Intel i7 PC.

Looks good.
Comment 8 Mike Sapsard 2015-02-06 21:21:20 UTC
Although the shapes with text are now handled correctly in Writer, there seem to be associated bugs. Draw 4.2.2.1 now appears unable to add text to a polygon shape.
Comment 9 Mike Sapsard 2015-02-07 14:30:54 UTC
(In reply to Mike Sapsard from comment #8)
> Although the shapes with text are now handled correctly in Writer, there
> seem to be associated bugs. Draw 4.2.2.1 now appears unable to add text to a
> polygon shape.

4.3.6 and 4.4.0 also cannot add text to a polygon. I'll check other bugs and add it if necessary.
Comment 10 Buovjaga 2015-02-07 18:11:13 UTC
(In reply to Mike Sapsard from comment #9)
> 4.3.6 and 4.4.0 also cannot add text to a polygon. I'll check other bugs and
> add it if necessary.

No problem here. Anyways, that issue calls for a new report.

Win 7 Pro 64-bit, LibO Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: fi_FI

Ubuntu 14.10 64-bit
Version: 4.4.0.3
Build ID: 40m0(Build:3)
Locale: en_US
Comment 11 Mike Sapsard 2015-02-08 21:51:23 UTC
For some reason my last comment did not show in full. Writer appears to work well. It is Draw that does not permit text to be added to polygons. That is definitely a regression, if confirmed. I'll check again and create a new bug.
Comment 12 Buovjaga 2015-02-09 06:09:02 UTC
(In reply to Mike Sapsard from comment #11)
> For some reason my last comment did not show in full. Writer appears to work
> well. It is Draw that does not permit text to be added to polygons. That is
> definitely a regression, if confirmed. I'll check again and create a new bug.

It was Draw I tried in.
Comment 13 Mike Sapsard 2015-02-09 11:19:53 UTC
I have discovered that in Draw, I have to select the object and then click the Text icon to enter text.

I was expecting to just double click on the object to enter text as in Writer. This was using Linx Mint 17.1.
Comment 14 Buovjaga 2015-02-09 15:29:35 UTC
(In reply to Mike Sapsard from comment #13)
> I have discovered that in Draw, I have to select the object and then click
> the Text icon to enter text.
> 
> I was expecting to just double click on the object to enter text as in
> Writer. This was using Linx Mint 17.1.

Hmm.. double-clicking in Draw worked for me on Ubuntu & Windows.