Bug 52298 - TABLE: Calc table outlines get cut away when copied to Writer
Summary: TABLE: Calc table outlines get cut away when copied to Writer
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.5.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 09:46 UTC by fisselspinne
Modified: 2013-01-27 13:59 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Comparisons of Calc tables in Writer as described in "Steps to reproduce" (108.60 KB, image/jpeg)
2012-07-20 09:46 UTC, fisselspinne
Details
Snapshot of Libo4 (10.18 KB, image/png)
2012-12-18 14:18 UTC, ydutrieux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fisselspinne 2012-07-20 09:46:44 UTC
Created attachment 64420 [details]
Comparisons of Calc tables in Writer as described in "Steps to reproduce"

Problem description: When pasted in Writer, Calc-tables with thick outer borders are not fitted properly into the "frame". The left one is half cut (thin), the lower one wholly cut away.

To have your desired thick borders, you either have to select additional empty cells around the table to gain (too much) space, or to double-click into the table each time and fiddle it into the frame, which consumes less space but more time.

This is not merely a "display" issue; when printing, you'll get the same - missing or unequal (too thin) borders.

The problem was there at least since 3.4 and is persisting in the actual 3.5.5.3.


Steps to reproduce:
1. In a Calc sheet, select some cells and give them a thick outer border, for example about 0,5 px or more.
2. Copy the table and paste it into Writer. (="Table 1")
3. Negative control: Copy the calc table again plus a row of empty cells to each side and paste it into Writer, so that the outlined cells this time are in a distance from the "frame". (="Table 2")
4. While Table 2 has equal outer borders with a correct size, in Table 1 the left and the lower borders are cut away.

              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11


Greetings,
Caroline
Comment 1 fisselspinne 2012-07-22 17:06:32 UTC
Alas, if only I had known how lucky I was. The last Calc tables I copied to Writer weren't even inside the OLE frame, so I needed to double-click it and search for the table to put it in place. Hope some bugfix will come soon 'cause it's really nasty, I need Calc tables all the time. Btw diagrams are getting messed up too.

Best wishes,
Caroline
Comment 2 billhook 2012-07-23 20:38:07 UTC
I tried this... and I could see a *slight* difference in the left hand side. The bottom one looked OK.

I'm not sure what you mean by the "frame". Do you mean a "Frame" in Writer (i.e. Insert->Frame) or something else?

Any chance you can post a screenshot?
Comment 3 fisselspinne 2012-07-27 17:39:30 UTC
Thank you for your reply.

A screenshot is added in my first post. It shows what is explained in "Steps to reproduce":
- "table 1" which is partially cut away
- "table 2" which contains a "spacer" of cells around it (just to compare the difference)

By the "frame", I mean the outer wall of the OLE object, i. e. the outer border of the object inserted into Writer.
I understand it's confusing, but we are talking about two different borders here: the outer borders of the table are cut by the OLE frame because they don't match.

But as I told in my last post, you also can sometimes find that the whole table is  misplaced. In my case, the OLE seemed empty, as if there was no content in the cells. But double-clicking into it showed that the OLE just showed the wrong section of the spreadsheet, so I could move the table back into.

I can't find a connection between it behaves "normal" (i. e. just the border cut) and when it goes completely off the mark.

I found one bug that may be related: Bug 47737
https://bugs.freedesktop.org/show_bug.cgi?id=47737

Best wishes
Caroline
Comment 4 Adam 2012-11-17 16:03:45 UTC
I just want to confirm this bug, I was about to report it but luckily found this but report. When copying tables with edges from Calc to Writer, every time one of the edges will be cut thinner than the rest (it looks pretty random to me, can be top, bottom, left or right edge of the table, or even a combination, top and left edge). I find this extremely annoying, as when printing that kind of table, it's really visible to the reader. The only remedy for this is to make the OLE frame bigger than the table, but then, it's pretty troublesome. This problem exists in Writer since I started using it (the version was OpenOffice 2.x, can't remember the exact number) and it still exists in the newest LibreOffice 3.6.3.2 :(
Comment 5 ydutrieux 2012-12-18 14:18:42 UTC
Created attachment 71729 [details]
Snapshot of Libo4

NOT confirmed in libo 4.0 Version 4.0.0.0.beta1 (Build ID: 87906242e87d3ddb2ba9827818f2d1416d80cc7)
Ubuntu 12.04 64bits

I have joined a snapshot of 4.0b1


Confirmed in libo 3.6.1.2 - Same platform
Comment 6 Jorendc 2013-01-27 13:59:17 UTC
(In reply to comment #5)
> Created attachment 71729 [details]
> Snapshot of Libo4
> 
> NOT confirmed in libo 4.0 Version 4.0.0.0.beta1 (Build ID:
> 87906242e87d3ddb2ba9827818f2d1416d80cc7)
> Ubuntu 12.04 64bits
> 
> I have joined a snapshot of 4.0b1
> 
> 
> Confirmed in libo 3.6.1.2 - Same platform

Therefore I'll mark this as RESOLVED FIXED.

@Bug reporter: can you please verify it is fixed using 4.0 (final release February; RC2 now available https://www.libreoffice.org/download/pre-releases/)
If it's still there in 4.0, please feel free to REOPEN it.

Kind regards,
Joren