cups printer default resolution ignored

Bug #735405 reported by AZ
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Medium
gtk+2.0 (Fedora)
Won't Fix
Medium
gtk+2.0 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When printing using firefox, evince or other gnome programs, the printers default resolution is ignored.
This is different from #434242, which reports evince not saving user defaults.

Tags: patch

Related branches

Revision history for this message
In , Joachim (joachim-redhat-bugs) wrote :

Created attachment 443101
PPD file for HP LaserJet 4000 generated by system-config-printer-1.2.3-3.fc13

Description of problem:
Open the "Print" dialog window of gedit and choose the system default printer HP LaserJet 4000 whose default image quality has been set to 600 dpi. Moving to tab "Image Quality" reveals however that the resolution is still set to 300 dpi.

Version-Release number of selected component (if applicable):
gtk2-2.20.1-1.fc13.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Launch gedit.
2. Choose default printer with an image quality of 600 dpi.

Actual results:
Tab "Image Quality" still shows 300 dpi.

Expected results:
Tab "Image Quality" shows 600 dpi.

Additional info:
Attached printer is an HP LaserJet 4000 with PC file name "laserjet.ppd" ("HP LaserJet Series PCL 4/5") as recommended by system-config-printer-1.2.3-3.fc13.

Revision history for this message
AZ (m-dev) wrote :

Package: libgtk2.0-0
Priority: optional
Section: libs
Installed-Size: 5632
Maintainer: Ubuntu Desktop Team <email address hidden>
Original-Maintainer: Sebastien Bacher <email address hidden>
Architecture: amd64
Source: gtk+2.0
Version: 2.22.0-0ubuntu1
Provides: gtk2.0-binver-2.10.0
Depends: libgtk2.0-common, libatk1.0-0 (>= 1.29.3), libc6 (>= 2.4), libcairo2 (>= 1.6.4-6.1), libcups2 (>= 1.4.0), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgcrypt11 (>= 1.4.2), libgdk-pixbuf2.0-0 (>= 2.21.6), libglib2.0-0 (>= 2.25.16), libgnutls26 (>= 2.7.14-0), libgssapi-krb5-2 (>= 1.6.dfsg.2), libpango1.0-0 (>= 1.22.0), libpng12-0 (>= 1.2.13-4), libx11-6, libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:4.0.1), libxi6, libxinerama1, libxrandr2 (>= 2:1.2.99.3), libxrender1, zlib1g (>= 1:1.1.4), shared-mime-info
Recommends: hicolor-icon-theme, libgtk2.0-bin
Suggests: librsvg2-common, gvfs
Conflicts: appmenu-gtk (<< 0.1.3)
Filename: pool/main/g/gtk+2.0/libgtk2.0-0_2.22.0-0ubuntu1_amd64.deb
Size: 2234780
MD5sum: 28e295edc78c793e4b7d170d17e23563
SHA1: 57179c6ab9213f2c4ce77a1f00a71c26da046b12
SHA256: e614005f3c7254b982c3d4be32d1502c77449fb4342d64d7d2cb321668ad1e27
Description-de: Die GTK+-Bibliothek für grafische Benutzungsoberflächen
 GTK+ ist eine Multi-Plattform-Werkzeugsammlung zum Erstellen grafischer
 Benutzerschnittstellen. Da sie einen kompletten Satz von Grafikobjekten
 enthält, ist GTK+ geeignet für Projekte, die von kleinen Einmal-Werkzeugen
 bis hin zu vollständigen Anwendungssuiten reichen können.
 .
 Dieses Paket enthält die Laufzeit-Bibliotheken.
Homepage: http://www.gtk.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 18m
Task: ubuntu-desktop, ubuntu-uec-live, kubuntu-desktop, kubuntu-mobile, kubuntu-netbook, edubuntu-desktop, edubuntu-desktop-kde, edubuntu-uec-live, xubuntu-desktop, mythbuntu-backend-master, mythbuntu-backend-master, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, ubuntu-netbook

tags: added: patch
Revision history for this message
AZ (m-dev) wrote :

This happens on Ubuntu maverick 10.10 x86_64.

Revision history for this message
AZ (m-dev) wrote :

Steps to reproduce:

Create a cups printer (ipp here) that supports different output resolutions. Make the finest resolution the default. Then open a pdf using evince and try to print it.
Expected result: Finest resolution gets selected in printing dialog.
Observed result: Lowest resolution gets selected.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your work there, could you also send the bug and patch to bugzilla.gnome.org? Ideally that would go upstream as well

Revision history for this message
AZ (m-dev) wrote :

Looks like I've missed the appropiate upstream bug before which already contains a much simpler fix. I've verified that that fix works too and created a debdiff that just uses that one.

Changed in gtk:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
AZ (m-dev) wrote :

This bug is also present in Ubuntu Maverick [1] and the fix works there too.

--
[1] https://bugs.launchpad.net/gtk/+bug/735405

Revision history for this message
AZ (m-dev) wrote :

sry, just ignore my last comment.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work there and the pointed to upstream reference, let's see if we can get them to review the patch before it's uploaded though

Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gtk+2.0 (Ubuntu):
status: Confirmed → Fix Committed
Changed in gtk:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk+2.0 - 2.24.3-0ubuntu3

---------------
gtk+2.0 (2.24.3-0ubuntu3) natty; urgency=low

  * debian/patches/096_git_combo_hasentry.patch:
    - git commit to fix combo box automated testing issues (lp: #690657)
  * debian/patches/096_git_gtkprintsettings.patch:
    - upstream git commit backported from the gtk3 serie, don't ignore the
      gtkprintsettings resolution settings (lp: #434242, #735405)
 -- Sebastien Bacher <email address hidden> Fri, 18 Mar 2011 17:32:42 +0100

Changed in gtk+2.0 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Changed in gtk+2.0 (Fedora):
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.