1

CUPS Snap - Call for Testing

 8 months ago
source link: https://discourse.ubuntu.com/t/cups-snap-call-for-testing/21266/59?u=that_leaflet
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Ubuntu Community Hub

artwork by @hiking93

Welcome to the Ubuntu Community Discourse, where all contributors (volunteers and Canonicalers) can coordinate their contributions to Ubuntu and closely related products. We’d love for you to introduce yourself! :handshake:

Who is this forum for? It’s for anyone working on any part of Ubuntu (and in some cases, making things for Ubuntu and on Ubuntu). This includes things like Documentation, QA, and Translations. This also includes discussing new ways to contribute! Feel free to talk about Ubuntu itself and other closely related topics. And we always welcome your site feedback.

However, this site is NOT for technical support.
(Use IRC, Ubuntu Forums, or askubuntu.com for support questions.)

Due to me organizing a conference in India 1 I am currently a lot in contact with @rs2009 and he tells that for Ubuntu’s flavors (and naturally also for many other distros) a problem can also be that G-C-C uses libadwaita by default, which displays badly on non-GNOME desktops. He suggests here to do something libadwaita-free and I suggested to him to try to re-use Mohit Verma’s code which he is applying to G-C-C. So perhaps we can get this also somehow into our printer setup tool project. And then “gnome-control-printers” is perhaps also not a good name …

For KDE/Qt-based distros, as long as they do not change their printer setup tool (is there one in KDE’s Settings app?) a small separate program, like we had with system-config-printer, would probably the best stop-gab solution. To get this done re-using Mohit Verma’s work on GNOME Control Center would be to get it into a simple GTK application (libgtk would easily happen to be also on KDE/Qt-based distros as many apps use it).

@fossfreedom @rs2009 WDYT? Could we work together with Mohit, to get a simple GTK-based app which does not require significant parts of GNOME and especially not libadwaita?

6789_2.png till-kamppeter:

For KDE/Qt-based distros, as long as they do not change their printer setup tool (is there one in KDE’s Settings app?)

There is, and I just gave it a test with the CUPS snap. Seems to work, although the driver seemed to default to the wrong tray, but that’s just a configuration error on my end.

EDIT: That might be an error. No matter how much I change the settings in the KDE system settings, they will not take. That’s a problem.

My concern at this point is that there’s no transitional package. The old CUPS .deb package (and its dependencies/recommends) was completely ripped-out of my system dev system without warning instead of transitionally installing the CUPS snap. To get things working again, I had to manually install the CUPS snap. This won’t affect new installations, but upgrades will be affected. I hope this is resolved soon otherwise we’re going to get a lot of bug reports from people who don’t exactly know what’s going on with regards to this thread.

That’s great news, and I indeed saw that above.

My concern isn’t that it won’t happen, my concern is that we get people testing things prematurely and open bug reports and then get anxious when things don’t get fixed in a timely manner and then get concerned that they won’t ever be fixed. Recently, I got a direct email practically scolding me for not attending to a bug (that wasn’t even within my purview to begin with) that was filed in May for something in mantic.

What happens is, when we get something that affects all flavors, people test before beta release and notice issues and file bugs, being unaware of threads like this. Most of the public assumes that official Ubuntu flavors are separate distributions with separate or additional repositories, which we know isn’t true. Theses people wouldn’t even think to look here for information regarding why, when they’re upgrading via do-release-upgrade -d (even though that’s unsupported) that they’re suddenly missing their printing system. This is when we get unnecessary bug reports (death by 1,000 papercuts) and angry direct emails.

My point is that, removing cups from the desktop-common seed prior to the availability of a transitional package was, quite frankly, premature and, to use a colloquialism, “putting the cart before the horse.”

(N.B. The issue about the public assuming that official Ubuntu flavors being separate distributions from Ubuntu is something I’ve been trying to combat for years since becoming a flavor lead. It’s something even my own team had to switch paradigm on.)

@fthx OK, I was very busy, thanks for reminding me.

We have decided to revert to DEB-package based printing and move the switchover out to Ubuntu 24.10.

We are now already long after Feature Freeze and shortly before User Interface Freeze and the desktop integration has taken longer than expected. Especially also the needs of printer setup tools for the flavors need some additional time. Also GNOME Control Center is undergoing a major UI modernization and we need to merge with it. And for providing the Common Print Dialog backends in Snap, the session D-Bus support in snapd needs to get finally released.

To not do high-impact changes in an LTS we will skip 24.04 LTS and do the switchover in 24.10 at the earliest. For the time being I keep the DEB package as much in sync as possible with Debian’s packages.

I will continue coordinating the desktop integration on the upstream level with my Google-Summer-of-Code contributors and keep in touch with upstream on upcoming conferences (seems that next year I need to also attend Akademy?).

On the Ubuntu side I will concentrate on Ubuntu Core Desktop. This distribution is an immutable all-Snap distribution and requires printing and scanning support via Snap. In addition, it has no flavors (yet) and its first release is not earlier than the 24.04 classic Ubuntu release. So here we have enough time to finish the “Printers” module in GNOME Control Center (and that is all printer setup tool we need), to add CPDB frontend support to the GNOME content provider Snaps, to get the Chromium print dialog CPDB-enabled (perhaps also some others), to assure that Snaps of apps use the desktop portal for printing whenever possible, have the scanning support for Snap (Scanner Applications) ready, having Snap release automation in place …

Then when Ubuntu Core Desktop does its printing and scanning well, we will look into the classic Ubuntu, …

This way we avoid what we have seen with the Firefox Snap in Ubuntu 22.04 LTS and @local-optimum’s (in)famous 4 posts on the Ubuntu blog, which should not get followed by 4 posts by me.

But please, have the CUPS Snap in mind and in the time being I am on it and regularly publishing new stuff for testing, in my PPA 2 and naturally also in Ubuntu Core Desktop. I will keep you posted in the OpenPrinting News 8.

Sorry for the inconvenience with this attempt to launch the switchover and for any disappointment that we will move out the switchover to later.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK