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 705650 - Incorrectly scaled sheet object widgets when printing.
Incorrectly scaled sheet object widgets 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: 2013-08-08 01:46 UTC by Andreas J. Guelzow
Modified: 2013-08-08 16:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas J. Guelzow 2013-08-08 01:46:30 UTC
When printing or previewing sheet object widgets such as a checkbox, the widget is shown in the wrong size (significantly larger than requested.)

Note that this did not happen in 1.10.17!
Comment 1 Andreas J. Guelzow 2013-08-08 04:20:58 UTC
Ssconvert is now using cairo directly to print stylized versions of the sheet widget objects. Gnumeric on the other hand uses gtk offscreen rendering of the widgets. While the latter should provide widgets that match the screen display, I am not sure whether it is worth the trouble!
Comment 2 Jean Bréfort 2013-08-08 06:07:01 UTC
in 1.10.17 widgets were not properly displayed (not scaled) and sometimes, when the sheet object was not large enough, they were just truncated.
Comment 3 Jean Bréfort 2013-08-08 06:40:10 UTC
I would just remove sheet_widget_draw_cairo(). That would probably also fix #705653.
Comment 4 Andreas J. Guelzow 2013-08-08 07:59:52 UTC
re comment #2:

I don't see that with 1.10.17. But of course I might not look at teh correct widgets.

re comment #3:

I assume you mean that we should just use the cairo version that we are now using for ssconvert. That would of course any problems we may have had with 1.10.17 and we would also need to figure out how to make it work with GtkStyle rather than a hard coded font and size.
Comment 5 Jean Bréfort 2013-08-08 08:14:45 UTC
We should not use GtkStyle anymore, but GtkStyleContext.
In 1.10.17, widgets were not scaled to fit inside the requested area. This is quite visible with a very small button, the text is hardly visible in 1.10.17
Comment 6 Andreas J. Guelzow 2013-08-08 16:27:56 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.