SUMMARY Okular prints to a local queue which alphanumerically precedes a remote destination when cups-browsed is not installed. STEPS TO REPRODUCE 1. Install local queues atestq and ztestq. 2. Have at least one advertised remote queue/printer whose name begin with b to y; realq, say. 3. Stop cups-browsed, if it is running. 4. Print to realq. OBSERVED RESULT The print job goes to atestq. EXPECTED RESULT The job should go to realq. SOFTWARE/OS VERSIONS Debian unstable (without KDE) with CUPS 2.2.10. ADDITIONAL INFORMATION This has been reported (in more detail) as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911844 It is possible that https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911702 is connected with this issue. -- Brian.
Adding KDE's security team to Cc. Could you have a look at the issue? If the issue can be verified it would be good to have a patch in time for Debian's buster release. I am sorry that Debian still carries a very old version of Okular (I asked on why, but did not receive a reply yet). Brian, thank you for your report. Could you please retest at least with Okular 18.04 from Debian experimental or preferably run KDE Neon¹ in a VM and retest with the most recent Okular release? Thank you. [1] https://neon.kde.org/
The instructions are quite hard to understand. Please give clear instructions what you mean with local / remote queues The version used is old. Please try with a newer version
I took the hint and used the neon-user-20190606-1138.iso, which has okular 19.04.1. A local print queue, aaa, was set up and the print dialog also offered a number of remote queues to print to. With cups-browsed stopped jobs were sent to the remote queues. Unlike the Debian 17.12.2 none of the jobs went to aaa. In other words I do not experience the previously described behaviour. As far as I am concerned this report can be closed. -- Brian.
Just for the record: Michael found that it is an issue within Qt that is fixed by a certain commit written by you, Albert. So it affects other applications like Kate as well. Dmitry already builds a version of Qt with the backported commit applied. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911844#100 https://salsa.debian.org/qt-kde-team/qt/qtbase/commit/462ab1eccabcfc40
Hooray! \o/