Bug Hunting Session
Bug 77778 - Writer thinly displays hidden column on Paste Special RTF paste from Calc table
Summary: Writer thinly displays hidden column on Paste Special RTF paste from Calc table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.4.1 rc
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Paste
  Show dependency treegraph
 
Reported: 2014-04-22 19:59 UTC by Roman Kuznetsov
Modified: 2019-02-03 22:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot. Table with hidden column in Writer (3.56 KB, image/png)
2014-04-22 19:59 UTC, Roman Kuznetsov
Details
ODT Example after insert table from Calc (there was hidden column) (8.46 KB, application/octet-stream)
2018-05-27 07:40 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2014-04-22 19:59:09 UTC
Created attachment 97771 [details]
Screenshot. Table with hidden column in Writer

After fixing the bug 69289 copying from calc a table containing a hidden column in writer as RTF format displays hidden column width of a few pixels (see screenshot).
Comment 2 Anatoliy 2014-04-24 07:31:15 UTC
confirm bug
Comment 3 Roman Kuznetsov 2015-03-17 19:18:54 UTC Comment hidden (obsolete)
Comment 4 tommy27 2016-04-16 07:24:37 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2016-04-16 08:24:28 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-05-22 13:25:44 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2017-05-22 19:52:29 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2018-05-23 02:36:31 UTC Comment hidden (obsolete)
Comment 9 Roman Kuznetsov 2018-05-23 04:34:36 UTC
Still repro in 6.0.3.2
Comment 10 Timur 2018-05-23 13:53:51 UTC
Please attach test document and write exact steps. 
Do you mean "save as RTF"? Does it happen ifa saved as ODT, DOC, DOCX? That should be in title.
Comment 11 Roman Kuznetsov 2018-05-27 07:40:11 UTC
Created attachment 142305 [details]
ODT Example after insert table from Calc (there was hidden column)
Comment 12 Roman Kuznetsov 2018-05-27 07:45:18 UTC
steps to repro:

1. Create a new spreadsheet
2. enter values in to columnt a,b,c:

A B C
1 2 3
1 2 3
1 2 3

3. Hide column B
4. Select range A1:C3 (column B is hidden!)
5. Copy it
6. Open Writer document
7. Special paste - Rich text formatting (RTF)
8. Look at table in Writer -> it shows thin column B, that should be hidden
Comment 13 Mike Kaganski 2019-01-29 09:38:26 UTC
As described in bug 69289 comment 12, Writer has a hardcoded minimal width for cells (can't be smaller than 0.07cm). So when hidden (=with width 0) cells are pasted to Writer, they become minimal width (not 0).

So the only possible solution here could be remove the columns entirely on paste.