GNOME Bugzilla – Bug 573519
"Page setup": printer-specific paper size is lost
Last modified: 2009-03-19 13:14:40 UTC
I want to print a photo on 4x6 photo paper on a HP C6280. I go to "Page Setup", select the correct printer under "Format for:", then the paper size "Photo or 4x6 inch index card", and hit "Apply". Then I go to "Print", select the printer and the paper source. The problem starts under "Image settings": The size of the image to print is set to 1.411x1.058 inch and I can not set it to use the full width of the paper (when I enter 4 for width, the value is reset to 1.411. In the preview, the frame for setting the position of the image on the page spans the full width, but only a part of the original image is shown in a corner of that area. The printer prints the whole image, scaled to a size corresponding to the part of the image that was shown in the preview. When I go back to "Page setup", "Any Printer" and "Photo or 4x6 inch index card" are selected, but the page size is shown incorrectly as "1.411 x 2.12 inch". This issue did not occur under the 2.4.x versions of Gimp, where the "Page Setup" was available under "Print->Image Settings".
Created attachment 129718 [details] Example image for printing
Created attachment 129719 [details] Initial settings on "Page Setup"
Created attachment 129720 [details] Image settings
Created attachment 129721 [details] Corrupted settings in "Page Setup" after using "Print"
What operating system are you on? What version of GTK+ are you using?
I'm on Debian sid, using libgtk2.0-0, package version 2.12.12-1.
No idea what's going wrong here, but I suspect a bug in GTK+. Please update to the latest stable version, which is 2.14.7, and report back.
I upgraded to libgtk2.0-0_2.14.7-3 but the problem persists.
I can't reproduce this, it appears to be specific to your printer driver. We could reassign this to GTK+ now, but I guess we should first rule out that there is indeed no bug in the plug-in. It would help if you could examine the files print-settings and print-page-setup in ~/.gimp-2.6, before and after running the Page Setup dialog.
I examined the change of "print-page-setup", but I could not find "print-settings". "Print Settings"-> Select "C6280" printer and the paper size -> click "okay" -> attached as "print-page-setup-01-after-setup" Go to "Print"-> Select "C6280" printer and print the image -> no changes in "print-page-setup" (not attached because there were no changes) Go to "Print Settings" again-> The selected printer is now "Any printer" and the page size is corrupted. Click "okay" -> attached as "print-page-setup-02-after-setup" The "Print" dialog does not change the "print-page-setup" file, only the "Print Settings" dialog. If I make a custom 4x6 inch page on "Any printer", the page size does not get corrupted when closing and re-opening "Page Setup" and the preview under "Print"->"Image Settings" is okay as well. So I guess that the corruption is caused when Gimp switches from the "C6280" to "Any printer" and "Any printer" does not have this paper format. The problem also appears when I select a format on my other printer (HP Business Inkjet 1100). I did not have this problem when I used Gimp 2.4, because the "Page Setup" dialog was reachable under "Print"->"Image Settings".
Created attachment 129870 [details] File print-page-setup after "Page Setup" dialog
Created attachment 129871 [details] File print-page-setup after re-opening "Page Setup" and clicking "Okay"
Hi Michael, this is duplicate of bug #559914. The bug is already fixed and the fix is also present in current stable version of Gtk+ (2.16). Regards Marek *** This bug has been marked as a duplicate of 559914 ***