Bug 120257 - PRINTING, PDF: Adding merged cells to Print Ranges truncates their content in print or PDF
Summary: PRINTING, PDF: Adding merged cells to Print Ranges truncates their content in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-10-02 07:23 UTC by Jim Avera
Modified: 2021-03-16 04:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo spreadsheet (8.12 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-10-02 07:24 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2018-10-02 07:23:39 UTC
Description:
If a merged-cell block is selected and then added to Print Ranges, then the printed result truncates the content of the cell.  It appears that the content is truncated to the portion which overlaps only the first cell of the merged set.


Steps to Reproduce:
Open attached demo, or do the following:

1. Create a new spreadsheet.  Select A1 and B1, Format->Merge Cells->Merge & Center Cells.
2. Type "foo" into the merged cell.
3. Click the merged cell to select it (them).
4. Format->Print Ranges->Define (or Add)
5. File->Print, Print Preview, or Export as PDF

Actual Results:
The result shows truncated text -- just 1½ letters ("f" followed by half of an "o").

Expected Results:
Selecting merged cells and adding to Print Ranges should add both cells, and the content of the merged cells should print correctly.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Jim Avera 2018-10-02 07:24:46 UTC
Created attachment 145315 [details]
Demo spreadsheet
Comment 2 Regis Perdreau 2018-10-02 13:22:56 UTC
Behavior confirmed in

Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: x11; 
Locale : nl-NL (fr_FR.UTF-8); Calc: group

(bug or feature, do we accept truncated merged cells when defining printing area ?)
Comment 3 Oliver Brinzing 2018-10-02 17:07:36 UTC
this behaviour is inherited from OpenOffice.
opening attached *.ods file with excel 2016 has same result.

IMHO this is not a bug.
Comment 4 BogdanB 2018-10-02 18:32:13 UTC
This is not a duplicate of this bug?
https://bugs.documentfoundation.org/show_bug.cgi?id=120268
Comment 5 QA Administrators 2021-03-16 04:29:15 UTC
Dear Jim Avera,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug