GNOME Bugzilla – Bug 170200
Set Image Print Resolution dialog botches units
Last modified: 2008-01-15 12:49:53 UTC
Please describe the problem: I have an image size 2048 x 1367 to be printed at 210 mm wide. When I enter an image size in the Set Image Print Resolution dialog, with the resolution unit set at pixels/mm and size unit set to millimetres, the dialog interprets the sizes as inches. Steps to reproduce: 1. Open Image > Print Size... 2. In resolution section, choose "pixels/mm" and click OK. 3. Open Image > Print Size... again. Size units are now in millimetres. 4. Enter 210 in Width, click in Height to maintain aspect. Note that resolution is calculated correctly. 5. Click OK. 6. Open Image > Print Size... once more. Actual results: Size now reads 5335.11 mm by 3561.08 mm; the dialog thought that "210" entered previously was in inches. Expected results: Image width reported as 210 mm. Does this happen every time? Yes. Other information: To work around this, make sure resolution is listed in "pixels/in". Then, when entering the size, choose "millimetres" as the units and type in the size.
Fixed in both branches: 2005-03-13 Sven Neumann <sven@gimp.org> * app/dialogs/print-size-dialog.c (print_size_dialog_response): handle the resolution unit correctly, fixes bug #170200.
*** Bug 302114 has been marked as a duplicate of this bug. ***