Bug 434341 - Print Creator has a default of "Print to PDF" but "Page Settings" won't work.
Summary: Print Creator has a default of "Print to PDF" but "Page Settings" won't work.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-PrintCreator (show other bugs)
Version: 7.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on: 397864
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-12 21:18 UTC by Jerry S
Modified: 2023-11-21 05:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry S 2021-03-12 21:18:54 UTC
SUMMARY
When I go to Print Creator it defaults to Print to PDF.  The problem is the Page Settings button does nothing.  On linux it works.  This means to change the paper size, etc, I have to select a different printer.  Microsoft Print to Pdf works fine as does Master PDF Editor 5.  Both of the latter printers allow changing the settings.

STEPS TO REPRODUCE
1. Select photos to print
2. Select Print Creator
3. Default Printer is Print to PDF

OBSERVED RESULT


EXPECTED RESULT
Page Settings button should work on all printers.

SOFTWARE/OS VERSIONS
Windows: 10 Home, Version 20H2; OS build 19042.804
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Using Digikam 7.1.0 for Windows
Comment 1 caulier.gilles 2023-04-30 16:27:28 UTC
Maik,

I confirm this dysfunction also under MacOS. Perhaps there is a signal/slots broken on non Linux system?

Gilles
Comment 2 caulier.gilles 2023-04-30 19:33:03 UTC
Maik,

When Page Setting button is clicked on the tool, this slot is called :

https://invent.kde.org/graphics/digikam/-/blob/master/core/dplugins/generic/tools/printcreator/wizard/advprintphotopage.cpp#L1113

I suspect a problem with QPageSetupDialog:

https://doc.qt.io/qt-5/qpagesetupdialog.html

Gilles
Comment 3 Maik Qualmann 2023-09-07 14:13:13 UTC
*** Bug 474257 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2023-10-15 10:25:14 UTC
@Jerry S,


This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2023-11-20 16:13:20 UTC
Maik,

Problem remain with 8.2.0 VCPKG installer. DebugView said :

[1416] QPrintDialog: Cannot be used on non-native printers

GIlles
Comment 6 caulier.gilles 2023-11-21 05:16:17 UTC
Git commit aab30b846508c990af4d71d5533c72d552a13b7f by Gilles Caulier.
Committed on 21/11/2023 at 05:50.
Pushed by cgilles into branch 'master'.

Under Windows print directly to PDF is not a native format, in opposite to Linux and MacOS.
A specific PDF generator must be installed under Windows as a virtual printer driver.
PDF is now not available as output format under Windows.

M  +1    -1    core/dplugins/generic/tools/printcreator/CMakeLists.txt
M  +10   -4    core/dplugins/generic/tools/printcreator/manager/advprintsettings.cpp
M  +9    -3    core/dplugins/generic/tools/printcreator/manager/advprintsettings.h
M  +2    -2    core/dplugins/generic/tools/printcreator/printcreatorplugin.cpp
M  +1    -1    core/dplugins/generic/tools/printcreator/printcreatorplugin.h

https://invent.kde.org/graphics/digikam/-/commit/aab30b846508c990af4d71d5533c72d552a13b7f