| Summary: | Print scaling from Firefox and Thunderbird not possible when using KDE print dialog | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Nora <interessieremich> |
| Component: | general | Assignee: | Jan Grulich <jgrulich> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | akozlovskiy119, jgrulich, nate, null, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to fix printing multiple copies | ||
|
Description
Nora
2020-04-11 08:05:41 UTC
This is a major issue for me too.
Setting the number of copies doesn't work either, only one copy is always printed.
Moreover, KDE dialog lacks header and footer settings that are presented in GTK dialog ('Options' tab).
KDE dialog doesn't work correctly and isn't equivalent to GTK one.
Created attachment 130629 [details]
Patch to fix printing multiple copies
Hi,
can you try the attached patch and verify you can now print more than one copy? It will work only for printing on a printer, not when you print to a pdf file and I don't have a printer to test this.
Thank you.
Thank you for the patch. I compiled version 5.19.4 of portal-kde from the sources and I can confirm it works for me, it correctly prints as many copies as specified. Git commit 2fb7d5bd098216ac19b97918f6f0c0cacc04fcf2 by Jan Grulich. Committed on 04/08/2020 at 19:17. Pushed by grulich into branch 'master'. Print: enable printing of multiple copies M +4 -4 src/print.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/2fb7d5bd098216ac19b97918f6f0c0cacc04fcf2 Git commit 06d1c6874829849210f62f069b93b6c74bcb363c by Jan Grulich. Committed on 04/08/2020 at 19:20. Pushed by grulich into branch 'Plasma/5.19'. Print: enable printing of multiple copies M +4 -4 src/print.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/06d1c6874829849210f62f069b93b6c74bcb363c I fear that this may be an upstream Qt issue, as the Qt dialog does not have a generic print scaling feature; typically it's left up to the apps. Overall the Qt print dialog is in a pretty sorry state. For print scaling the issue has now lower priority: Thunderbird 91.5.0 just got the same new "own" print dialog as Firefox. That new own print dialog brings all main printing functions. Qt/KDE print dialog will be only necessary if you need to adjust printer specific settings and therefore klick "Print with system dialog". Yeah nothing we can do here without changes to the Qt print dialog. Hopefully it can be added there. |