After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650261 - Cells not aligned properly when printing
Cells not aligned properly when printing
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Printing
git master
Other Linux
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2011-05-15 20:45 UTC by Vidar Braut Haarr
Modified: 2011-05-17 06:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Shows the problem (21.34 KB, image/png)
2011-05-15 20:45 UTC, Vidar Braut Haarr
Details
sample file (15.96 KB, application/x-gnumeric)
2011-05-16 13:59 UTC, Andreas J. Guelzow
Details

Description Vidar Braut Haarr 2011-05-15 20:45:17 UTC
Created attachment 187871 [details]
Shows the problem

I've made a normal menu design in Gnumeric for a client and the cells are lined up properly when editing the document, but when I print preview or print, the cells become misaligned and look pretty bad.

Attached is an image that shows the problem, although it happens in many other places in the document - though far from all places.

I've tried changing alignment of the text inside to bottom, top, center, justified, etc - the cell alignment fails regardless.
Comment 1 Vidar Braut Haarr 2011-05-15 20:46:42 UTC
(Note; red circles added with GIMP on top of screenshot to better illustrate the problem)
Comment 2 Andreas J. Guelzow 2011-05-16 04:03:05 UTC
Would you be able to provide the corresponding gnumeric file?
Comment 3 Andreas J. Guelzow 2011-05-16 04:10:19 UTC
The only way to achieve the effect in your image is when I set the background of the price cells to white but not the background of the item description. In that case I do see the effect when printing and previewing but also in the sheet view itself.
Comment 4 Andreas J. Guelzow 2011-05-16 13:58:30 UTC
There seems to be two issues:

1) Cells with white background appear to slightly overlap into the row above compared with cells with clear background. This is visible both in the original sheet view and to a lesser extent in the print preview.

2) In print preview backgrounds for merged cells don't line up with backgrounds of the unmerged cells in the same row. This is not visible in the original sheet view but is visible in the print preview. See the attached sample file.

I assume that this bug report is about situation (2).
Comment 5 Andreas J. Guelzow 2011-05-16 13:59:13 UTC
Created attachment 187914 [details]
sample file
Comment 6 Andreas J. Guelzow 2011-05-17 06:53:51 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.