[Bug 220800] New: changing the ps output file name for create calendar tool does not work

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] New: changing the ps output file name for create calendar tool does not work

Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800

           Summary: changing the ps output file name for create calendar
                    tool does not work
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.3.2)
Installed from:    Ubuntu Packages

While trying to create new calendar in digikam I am printing to a postscript
file.
I ran into some trouble with the postscript file and used the back button to
try and print again.
This time I specified a different output file name. However, the new filename
was not used.
Digikam still printed to the original filename.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] changing the ps output file name for create calendar tool does not work

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=220800


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Calendar
            Product|digikam                     |kipiplugins




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] changing the ps output file name for create calendar tool does not work

Andi Clemens
In reply to this post by Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800





--- Comment #1 from Andi Clemens <andi clemens googlemail com>  2011-10-25 20:56:25 ---
I can confirm this, something is cached, even when the kipiplugin has been
restarted.

I added 12 images from album "a" to the calendar, generated the PDF and closed
the kipiplugin (from within digiKam).
I then chose 2 other images from album "b" and started the kipiplugin. These
two images are shown in the calendar wizard, but when I generate the PDF, not
only the two images are shown, but the rest of the old images from album "a",
although the plugin has been closed before.

So we definitely have some weird caching issues here.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] changing the ps output file name for create calendar tool does not work

Andi Clemens
In reply to this post by Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800





--- Comment #2 from Andi Clemens <andi clemens googlemail com>  2011-10-25 21:23:39 ---
I figured out that the calendarSettings object is a singleton and it doesn't
seem to get killed when the kipiplugin is closed (that's why I hate singleton
classes :-))

I will try to fix this, I guess I will make it a normal class, no need to have
a singleton here.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] changing the ps output file name for create calendar tool does not work

Andi Clemens
In reply to this post by Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800


Andi Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Andi Clemens <andi clemens googlemail com>  2011-10-25 22:07:46 ---
Git commit 96c607cef93b411f3e9040b6e1dbfd702ea1c2c0 by Andi Clemens.
Committed on 26/10/2011 at 00:05.
Pushed by aclemens into branch 'master'.

Quick fix: Assign a pointer to the parent in the CalSettings::instance()
method. This way the singleton class will be destroyed when the calendar wizard
is closed.

BUG: 220800

M  +4    -3    calendar/print/calsettings.cpp
M  +2    -2    calendar/print/calsettings.h
M  +1    -1    calendar/wizard/calwizard.cpp

http://commits.kde.org/kipi-plugins/96c607cef93b411f3e9040b6e1dbfd702ea1c2c0

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 220800] changing the ps output file name for create calendar tool does not work

Gilles Caulier-4
In reply to this post by Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.3.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 220800] changing the ps output file name for create calendar tool does not work

bugzilla_noreply
In reply to this post by Bert Haverkamp
https://bugs.kde.org/show_bug.cgi?id=220800

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Calendar                    |Calendar
            Product|kipiplugins                 |digikam

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel