Bug 400512 - KDE print dialog does not read printer's default duplex printing property
Summary: KDE print dialog does not read printer's default duplex printing property
Status: RESOLVED UPSTREAM
Alias: None
Product: print-manager
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 18.04
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-10-31 13:20 UTC by Miguel Carmona
Modified: 2018-11-02 22:26 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: Qt 5.12
Sentry Crash Report:


Attachments
screenshots (227.69 KB, application/gzip)
2018-10-31 13:20 UTC, Miguel Carmona
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Carmona 2018-10-31 13:20:53 UTC
Created attachment 116002 [details]
screenshots

SUMMARY

KDE applications not read printing duplex properties.
GNOME apps yes read.
This happens in neon 18.04 and also it happened in neon 16.04
One year ago, I worked with opensuse and it never occurred.

STEPS TO REPRODUCE
1. Change duplex properties of a printer
2. Go to some KDE apps and print. Not working duplex (checked in kwrite, kate and okular)
3. Go to some GNOME apps and print duplex ok (checked in libreoffice and gscan2pdf)

OBSERVED RESULT
localhost:631 show ok duplex properties of printer
If I start a printing preview from printing section of systemsettings, it print duplex ok.

EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2018-11-01 19:08:00 UTC
Does the printer configuration utility not save the settings? In other words, if you set a property, save, quit, and then open it again, is the property still set the correct way, or did it forget?
Comment 2 Miguel Carmona 2018-11-02 10:17:42 UTC
(In reply to Nate Graham from comment #1)
> Does the printer configuration utility not save the settings? In other
> words, if you set a property, save, quit, and then open it again, is the
> property still set the correct way, or did it forget?

When I change some property, it saved correctly and keep if I close an open it again. If I check in localhost:631 all properties is like systemsettings.

Other properties like media size or inputslot work fine and it is ok when I print from some app (KDE or other).
But not duplex property. It work in gnome apps but not in kde apps (see screenshots [attachment 116002 [details]])
Comment 3 Nate Graham 2018-11-02 14:25:45 UTC
Thanks for the info. Looks like this isn't the same bug, then. Not sure where the KDE print dialog code lives, or whether this could be a Qt issue. Albert, do you have any ideas?
Comment 4 Albert Astals Cid 2018-11-02 22:23:11 UTC
There's no such thing as a KDE print dialog. Qt does it all.

The fix for duplex value being set to the correct value is 
https://code.qt.io/cgit/qt/qtbase.git/patch/?id=fa854f214a3c812e5548ff55d179dd07ef99053b
and will be available in Qt 5.12
Comment 5 Nate Graham 2018-11-02 22:26:35 UTC
Ah, perfect, thanks Albert! I had a feeling you'd know. :)