[Bug 893676] Re: Cups disrupts unity window theme
** Changed in: gnome-settings-daemon (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
This bug was fixed in the package cups - 1.5.0-8ubuntu6 --- cups (1.5.0-8ubuntu6) oneiric-proposed; urgency=low * debian/patches/ipp-patch-r8950+.patch: Revert the IPP backend to the state of CUPS 1.4.x, as the 1.5.x versiuon has major regressions (LP: #877958, LP: #879625, LP: #881843, LP: #883585, Closes: #638521, CUPS STR #3966, CUPS STR #3967). This patch will get removed as soon as upstream has fixed all these regressions. As upstream did not announce any new features for the IPP backend in the release notes for 1.5.x, we assume that with this step no features will get lost. * debian/patches/dont-send-malformed-dbus-messages.patch: Do not send D-Bus notifications with too few parameters when there are parameters which cannot be added to the D-Bus request, especially invalid UTF-8 strings. This made gnome-session-daemon crash (LP: #893676, CUPS STR #3984). * debian/local/filters/cpdftocps: The cpdftocps filter (used for PostScript printers and for drivers with PPDs which are not PDF-aware) did not recognize the duplex setting correctly, making duplex not working on many common printers (LP: #897723). * debian/local/filters/cpdftocps: Cleaned up the header comments. -- Till Kamppeter till.kamppe...@gmail.com Tue, 29 Nov 2011 21:49:41 +0100 ** Changed in: cups (Ubuntu Oneiric) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
** Changed in: gnome-settings-daemon (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
I have applied the proposed patch. So far everything seems to work as it should - no more ugly window decorations after printing. Thanks for the quick response to this. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
watgrad, thank you very much for testing. Marking the SRU as verified. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
I just submitted a patch to gnome-settings-daemon upstream at https://bugzilla.gnome.org/show_bug.cgi?id=665689 which fixes the issue from the other side. ** Bug watch added: GNOME Bug Tracker #665689 https://bugzilla.gnome.org/show_bug.cgi?id=665689 ** Changed in: gnome-settings-daemon (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Hello watgrad, or anyone else affected, Accepted cups into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
** Branch linked: lp:ubuntu/oneiric-proposed/cups -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Updated the uploaded SRU to also fix the regressions on the IPP CUPS backend: bug 881843, bug 877958, bug 879625, and bug 883585 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
This bug was fixed in the package cups - 1.5.0-13 --- cups (1.5.0-13) unstable; urgency=low [ Till Kamppeter ] * debian/patches/ipp-patch-r8950+.patch: Revert the IPP backend to the state of CUPS 1.4.x, as the 1.5.x versiuon has major regressions (LP: #877958, LP: #879625, LP: #881843, LP: #883585, Closes: #638521, CUPS STR #3966, CUPS STR #3967). This patch will get removed as soon as upstream has fixed all these regressions. As upstream did not announce any new features for the IPP backend in the release notes for 1.5.x, we assume that with this step no features will get lost. * debian/patches/dont-send-malformed-dbus-messages.patch: Do not send D-Bus notifications with too few parameters when there are parameters which cannot be added to the D-Bus request, especially invalid UTF-8 strings. This made gnome-session-daemon crash (LP: #893676, CUPS STR #3984). * debian/local/filters/cpdftocps: The cpdftocps filter (used for PostScript printers and for drivers with PPDs which are not PDF-aware) did not recognize the duplex setting correctly, making duplex not working on many common printers (LP: #897723). * debian/local/filters/cpdftocps: Cleaned up the header comments. [ Martin-Éric Racine ] * [cups.postrm]: purge /etc/cups/ssl/server.[crt|key] and /etc/cups/ssl. [ Martin Pitt ] * debian/compat: Bump from 5 to 9, this apparently was forgotten in the Multi-Arch transition. -- Martin Pitt martin.p...@ubuntu.com Fri, 02 Dec 2011 11:05:51 +0100 ** Changed in: cups (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
** Branch linked: lp:ubuntu/cups -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Found the problem: when generating a d-bus message, CUPS's dbus notifier ignores parameters which contain invalid utf8 strings, but sends the message anyway. This results in a PrinterStateChanged message with less than the needed 6 parameters. This in turn crashes gnome-settings- daemon. Attached is a patch for CUPS which doesn't send the malformed d-bus message in the first place. This means that you won't get notifications for that print job, but it will work nevertheless. @Till, I think this is worth SRUing. @watgrad, I still don't know where the invalid utf8 string comes from in your case. Your PPD files are valid. Maybe it's the name of the document you were trying to print? Please look for strange characters in the list of completed print jobs: http://localhost:631/jobs?which_jobs=completed I'm adding gnome-settings-daemon to the list of affected packages, as it shouldn't crash when receiving a malformed message. ** Patch added: dont-send-malformed-dbus-messages.patch https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612620/+files/dont-send-malformed-dbus-messages.patch ** Changed in: cups (Ubuntu) Status: Confirmed = In Progress ** Also affects: gnome-settings-daemon (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-settings-daemon (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Submitted the patch upstream at http://cups.org/str.php?L3984 ** Tags added: patch-forwarded-upstream -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Lars, thank you for the patch. I will include it in the CUPS package for Precise and also in an Oneiric SRU for CUPS, together with the fix for bug 897723. ** Changed in: cups (Ubuntu) Assignee: Lars Uebernickel (larsu) = Till Kamppeter (till-kamppeter) ** Also affects: cups (Ubuntu Oneiric) Importance: Undecided Status: New ** Also affects: gnome-settings-daemon (Ubuntu Oneiric) Importance: Undecided Status: New ** Changed in: gnome-settings-daemon (Ubuntu Oneiric) Status: New = Invalid ** Changed in: cups (Ubuntu Oneiric) Status: New = Triaged ** Changed in: cups (Ubuntu) Importance: Undecided = High ** Changed in: cups (Ubuntu Oneiric) Importance: Undecided = High ** Changed in: cups (Ubuntu Oneiric) Assignee: (unassigned) = Till Kamppeter (till-kamppeter) ** Changed in: cups (Ubuntu Oneiric) Milestone: None = oneiric-updates -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
bug #894341 is similar, that also shows up an issue in gnome-settings- daemon which should segfault on invalid messages received over dbus ** Changed in: gnome-settings-daemon (Ubuntu) Importance: Undecided = High ** Changed in: gnome-settings-daemon (Ubuntu) Assignee: (unassigned) = Lars Uebernickel (larsu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
I'me the reporter of bug #894341, which I think it is the same. In the attachment there are the log from gdb as suggested by Sebastien, the /var/log/cups/error_log as suggested in comment 2, and my the ppd from lexmark (I use this because in the one shipped with ubuntu some settings are missing) ** Attachment added: gdb-gnome-settings-daemon.txt https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612713/+files/gdb-gnome-settings-daemon.txt -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
** Attachment added: error_log https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612714/+files/error_log -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Sorry, I don't know how to put multiple attachments in a single comment... ** Attachment added: Lexmark_C530_it.PPD https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612716/+files/Lexmark_C530_it.PPD -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Giorgio, you do have the same issue. Your PPD file contains an invalid utf8 sequence at position 18679 (last char in line 429). You can check for invalid utf8 by running iconv -f UTF-8 FILENAME If you know which charset the file is in, you can fix it by running iconv -f CHARSET FILENAME NEW_FILENAME -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Lars, I have fixed the ppd as you suggested, (the original charset of the file was ISO8859-1).. now I have no errors checking for invalid utf8, but after replacing the printer driver with the new ppd generated by the iconv command, the bug is still present. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Patch reviewed and committed to the Debian BZR repository of CUPS. It will appear in the next CUPS package of Precise. ** Changed in: cups (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
** Changed in: cups (Ubuntu Oneiric) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Thanks for your help with this - I will watch for an update to CUPS in the future to resolve the problem... -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Uploaded a new CUPS package for Oneiric fixing this bug and bug 897723 to oneiric-proposed. As soon as this upload will get approved another comment with testing instructions will be posted here. Please test the fixed package then and tell here whether it solves your problem. A debdiff of the changes is attached. ** Patch added: cups_1.5.0-8ubuntu5_1.5.0-8ubuntu6.debdiff https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+attachment/2612859/+files/cups_1.5.0-8ubuntu5_1.5.0-8ubuntu6.debdiff -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 893676] Re: Cups disrupts unity window theme
Hi Lars, I tried this, however there is no history stored on the computer - it shows no past or current print jobs - so I can't tell you if this was the problem - sorry. LARS Wrote: @watgrad, I still don't know where the invalid utf8 string comes from in your case. Your PPD files are valid. Maybe it's the name of the document you were trying to print? Please look for strange characters in the list of completed print jobs: http://localhost:631/jobs?which_jobs=completed I'm adding gnome-settings-daemon to the list of affected packages, as it shouldn't crash when receiving a malformed message. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/893676 Title: Cups disrupts unity window theme To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/893676/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs