Bug 56483 - Randomly-appearing off-by-one-pixel issues with image overlapping.
Summary: Randomly-appearing off-by-one-pixel issues with image overlapping.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: 3.3.0 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-28 07:33 UTC by Brennan Vincent
Modified: 2015-01-07 18:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
File displaying the problem. (1.31 MB, application/vnd.oasis.opendocument.graphics)
2012-10-28 07:33 UTC, Brennan Vincent
Details

Description Brennan Vincent 2012-10-28 07:33:43 UTC
Created attachment 69180 [details]
File displaying the problem.

Consider the attached file. [Excuse the garish, bad look of this file; it was generated with the still imperfect pub2odg ;) ]

The central image is overlapped on the left by several smaller images (reproductions of the United Nations logo), which are intended to fit together with no gaps between them. However, we can intermittently see small one-pixel gaps between the images, letting small slices of the central image show through. Zoom in and out and pan around and you'll see some of these slices appear and disappear in seemingly random places.

I guess that this is due to some sort of roundoff error in determining how many pixels an image should represent, but I'm not a draw expert ;)

Perhaps this is interesting: in the original file, the small images have heights and widths of 0.5 inches exactly, which, for those not living in some silly country refusing to give up its traditional system of units, is 1.27 centimeters -- and this is an exact definition, not an approximation. However, if one opens the file in Draw and then saves it out again, one will find that the heights and widths are now 1.269 centimeters, not 1.27 as expected. Could this missing thousandth of a centimeter be the culprit? Perhaps, but then when I change the sizes to 1.27 centimeters manually and open the file, the problem persists, so perhaps this has nothing to do with it.

Brennan
Comment 1 Beluga 2014-11-07 14:37:23 UTC
Confirmed.

Win 7 64-bit Version: 4.4.0.0.alpha1+
Build ID: 8b21b5cbe78945b27525b4ce78ae3d981f90590f
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-06_03:55:51
Comment 2 Beluga 2015-01-07 18:30:24 UTC
Set version number after reproducing with:

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

Lowered severity: https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.