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 668901 - Print layout image error
Print layout image error
Status: RESOLVED FIXED
Product: glom
Classification: Other
Component: printing
1.21.x
Other Linux
: Normal normal
: ---
Assigned To: Murray Cumming
Murray Cumming
Depends on: 657592
Blocks:
 
 
Reported: 2012-01-28 12:30 UTC by alien
Modified: 2012-02-08 11:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alien 2012-01-28 12:30:52 UTC
There is an error on print layout when you and an image, the image is scaled to bigger size. showing only a portion of the original image. 

If you move the image border size, the original image size is presented in a correct way.

When you go to print preview layout the image is scaled again showing just portions of the original image. The original image has 189x89, but pdf is show a much bigger sized image and only a portion of it.

This is running on Fedora 16. Build from last version.
Comment 1 Murray Cumming 2012-01-29 20:23:27 UTC
Confirmed. I see this problem at least in the print preview. I will investigate.
Comment 2 Murray Cumming 2012-02-08 09:14:15 UTC
It is also easy to reproduce this when just opening an existing print layout. It is caused by goocanvas bug #657592 :
  https://bugzilla.gnome.org/show_bug.cgi?id=657592#c16
but I will try to work around it.
Comment 3 Murray Cumming 2012-02-08 10:26:21 UTC
This is fixed by this commit:
http://git.gnome.org/browse/glom/commit/?id=296a99cf457e5c985a86a47024349beb37e5cefd

However, this feels fragile so I would rather fix the underlying goocanvas bug: https://bugzilla.gnome.org/show_bug.cgi?id=657592#c16
Comment 4 alien 2012-02-08 11:10:20 UTC
Tested  and resolved. They are correct now. Thank you.