Bug 160009 - date of image is set to jan 1st 2008 no matter what date is entered in categorization of single image
Summary: date of image is set to jan 1st 2008 no matter what date is entered in catego...
Status: RESOLVED WORKSFORME
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 12:25 UTC by Christian Eschenburg
Modified: 2012-02-10 16:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Eschenburg 2008-03-28 12:25:13 UTC
Version:           3.1.0 (using KDE 3.5.8)
Installed from:    Unlisted Binary Package
Compiler:          gcc-Version 4.2.2 
OS:                Linux

Very similar to Bug 153281 (but i did not understand the solution, if there was one.)

When i enter the dialog to annotate a single image and save the changes, the Date of the image is set to "1. Jan 2008", no matter what i actually entered. This does not happen, if i annotate multiple images at a time and leave the "date" field unchanged which means empty. 

However, this did not happen from the beginnig: I could annotate 1000 pictures before it first occured. 

I use kphotoalbum on two computers and make copies of the database and images (whole file tree) to sync the two. The bug was in the beginning only occuring on one machine. After syncing it was on both so i assume, the problem is probably relied to index.xml or layout.xml files. 

Thank you very much for helping and sorry if i misunderstood solution of Bug 153281. 

Christian
Comment 1 Christian Eschenburg 2008-03-28 12:49:03 UTC
I just played around with an old copy of the database, where i could annotate single images whithout loss of date. However, it was not possible to enter a date after Feb. 29 2008. Every date after Feb. 29 2008 ist automatically set to Jan 1st 2008. So this problem might be related with the leap year (Schaltjahr)?

Comment 2 Jan Kundrát 2008-03-28 14:58:59 UTC
Can you reproduce this using the demo database (run `kphotoalbum -demo`)?

Can you reproduce on your image database with `KDE_LANG=en_US LANG=C kphotoalbum`? Or both -demo and these variables?

If it can't be reproduced on the demo DB and if you don't mind sharing your database, please upload the index.xml file here. If you don't like the feeling that anyone would be able to read your tags, labels or any data you entered, but you somehow feel confident in me, you can mail it to jkt@gentoo.org.
Comment 3 Christian Eschenburg 2008-03-29 12:50:48 UTC
I CAN reproduce it with kphotoalbum -demo
I CAN NOT reproduce it with kphotoalbum (KDE_LANG=en_US LANG=C)
I CAN NOT reproduce it with kphotoalbum -demo (KDE_LANG=en_US LANG=C)
Comment 4 Miika Turkia 2012-02-10 16:41:18 UTC
Unable to reproduce on current development version.