Bug 233970

Summary: Printwizard do not retaining settings
Product: [Applications] digikam Reporter: David Vincent-Jones <davidvj>
Component: Plugin-Generic-PrintCreatorAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: anaselli, caulier.gilles, orrrobert
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description David Vincent-Jones 2010-04-10 19:09:21 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

The printwizard fails to remember the print settings and appears to reset after each job is completed.

When printing a number of pieces on an individual basis this is a nuisance item.

The system should remember: Printer_Name, Paper_size, Orientation, Margins etc.
Comment 1 Angelo Naselli 2010-04-11 15:28:01 UTC
David, sorry what is exactly that is forgotten?
I mean which steps to reproduce it?

I can always find my last printing setups back but:
1) HP printer and their "custom" pages (e.g. 10x15cm...)
2) Custom page layout, in which you can choose how many photos
   or each photo dimension.

In the first, i cannot do anything (at least now) i from driver 
i have "custom" as page size for any pages not standard (A4...)
and nothing else to select it back.
In the latter all it's saved but custom page layout is not 
selected  for a choice i made.
Here I could do something perhaps, but i have to change
a lot of code. If that is your point well i will talk to Gilles
to plan to add this feature.
Comment 2 Angelo Naselli 2010-04-11 15:35:07 UTC
left as unconfirmed, needinfo status hides it as fixed :(
Comment 3 David Vincent-Jones 2010-04-15 02:03:11 UTC
Angelo;

I think that I see the problem:

I have 2 printers:
a.) A standard office printer for all of my general work .. this is
marked under HP/CUPS as my 'Default' printer.
b.) My hi-colour wide printer that is only used for my photography.

Under many programs (typically Gimp and others) when I start printing I
must initially use FILE > PAGE_SETUP. This establishes my basic printing
parameters for the duration of the session.  .... ie. The print
'default' for the session is established. After that I can use FILE >
PRINT.

With your arrangement however, each time that a print is completed the
program reverts to the HP/CUPS 'Default' settings.

This is not a make or break situation with Digikam but somehow locking
the current session parameters would make the system a little more
friendly.

Thanks;

David

On Sun, 2010-04-11 at 15:28 +0200, Angelo Naselli wrote:
> https://bugs.kde.org/show_bug.cgi?id=233970
> 
> 
> Angelo Naselli <anaselli@linux.it> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |anaselli@linux.it
>          Resolution|                            |WAITINGFORINFO
> 
> 
> 
> 
> --- Comment #1 from Angelo Naselli <anaselli linux it>  2010-04-11 15:28:01 ---
> David, sorry what is exactly that is forgotten?
> I mean which steps to reproduce it?
> 
> I can always find my last printing setups back but:
> 1) HP printer and their "custom" pages (e.g. 10x15cm...)
> 2) Custom page layout, in which you can choose how many photos
>    or each photo dimension.
> 
> In the first, i cannot do anything (at least now) i from driver 
> i have "custom" as page size for any pages not standard (A4...)
> and nothing else to select it back.
> In the latter all it's saved but custom page layout is not 
> selected  for a choice i made.
> Here I could do something perhaps, but i have to change
> a lot of code. If that is your point well i will talk to Gilles
> to plan to add this feature.
>
Comment 4 Angelo Naselli 2010-04-15 10:18:11 UTC
Yes, that a known issue i've added in my todo file (is also into svn)
"QPrinterInfo::availablePrinters() seems to be usefull for PageSizes only for default in case of printers"

I should open a QT upstream bug for this...

What i can suggest as workaround if you have root access is to change default 
printer to get it working at the moment, sorry.
Comment 5 Angelo Naselli 2010-04-21 23:22:58 UTC
As reminder:
http://bugreports.qt.nokia.com/browse/QTBUG-10100
Comment 6 caulier.gilles 2011-12-21 18:10:22 UTC
David,

This file still valid using kipi-plugins 2.4

Gilles Caulier
Comment 7 caulier.gilles 2011-12-22 10:07:24 UTC
*** Bug 286735 has been marked as a duplicate of this bug. ***
Comment 8 caulier.gilles 2017-07-04 19:42:12 UTC
Problem still reproducible with current implementation of print creator tool from digiKam core 5.7.0. This need to be fixed.

Gilles Caulier
Comment 9 caulier.gilles 2017-07-05 10:15:46 UTC
Git commit 000fd1a154389d8e954a23a122fe3fb4b389f432 by Gilles Caulier.
Committed on 05/07/2017 at 10:12.
Pushed by cgilles into branch 'master'.

Remove Same to All option. This will be the default mode now, as customization of caption for each image do not work.
Same the settings when caption page is validated.
FIXED-IN: 5.7.0

M  +1    -19   utilities/assistants/printcreator/ui/advprintcaptionpage.ui
M  +21   -9    utilities/assistants/printcreator/wizard/advprintcaptionpage.cpp
M  +1    -0    utilities/assistants/printcreator/wizard/advprintcaptionpage.h
M  +9    -61   utilities/assistants/printcreator/wizard/advprintwizard.cpp
M  +0    -1    utilities/assistants/printcreator/wizard/advprintwizard.h

https://commits.kde.org/digikam/000fd1a154389d8e954a23a122fe3fb4b389f432