Bug 303643

Summary: Photo file's creation date in wrong format when shown via right click, properties, information tab
Product: [Unmaintained] kio Reporter: uselessemailaccount <uselessemailaccount>
Component: kfileAssignee: Carsten Pfeiffer <pfeiffer>
Status: RESOLVED FIXED    
Severity: normal CC: emmanuelpescosta099, frank78ac, mailto.mikes, nate
Priority: NOR    
Version First Reported In: 4.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Tooltip Example
"Created" Selection
Incorrect date format shown in properties

Description uselessemailaccount 2012-07-17 07:40:26 UTC
When viewing photos, it is desirable to view their created date or date taken date, not their modified or computer file created dates. Dolphin's information properties tab incorrectly shows this date as a simple number, not a date as specified in the locale settings.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Right click on a camera photo file (jpeg for instance, with exif data), select properties then information
3. If not configured previously, click configure... and select "creation" in 'configure shown data' dialog.
4. Created dates are now shown, but not in logical, human readable format.
Actual Results:  
The photo file's created date is shown incorrectly.

Expected Results:  
The file's created (date taken) date should be shown in the format defined via locale settings.

Kubuntu Oneiric updated to Precise, KDE 4.8.4, Dolphin 2.0
Comment 1 uselessemailaccount 2012-07-25 04:01:45 UTC
Created attachment 72745 [details]
Tooltip Example
Comment 2 uselessemailaccount 2012-07-25 04:02:42 UTC
Created attachment 72746 [details]
"Created" Selection
Comment 3 Jekyll Wu 2012-08-08 12:56:08 UTC
The problem is more underlying. Those information are (directly) provided and displayed by class KPropertiesDialog and KFileMetaDataWidget.

Also see bug 303707
Comment 4 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:21:27 UTC
Resetting assignee to default as per bug #305719
Comment 5 Emmanuel Pescosta 2012-10-26 09:59:31 UTC
Works for me. Dolphin 2.1 / KDE 4.9.2
Comment 6 uselessemailaccount 2013-07-24 10:42:09 UTC
Created attachment 81312 [details]
Incorrect date format shown in properties
Comment 7 uselessemailaccount 2013-07-24 10:45:43 UTC
Comment on attachment 81312 [details]
Incorrect date format shown in properties

Still experiencing bug in KDE4.10.5 as previously reported.
Comment 8 Frank Reininghaus 2013-07-24 16:17:13 UTC
As Jekyll said earlier, it's a KFileMetaDataWidget issue. That class is in the kio/kfile directory of kdelibs, so I hope that this is the right component.

Note, however, that we actually have a replacement for that class - the FileMetaDataWidget in Nepomuk2. kdelibs code cannot use this new widget in KDE 4.x though.
Comment 9 uselessemailaccount 2013-08-08 05:55:04 UTC
Thank you Frank. So I guess I'd have to re-submit the bug under KFileMetaDataWidget then? (pardon my ignorance, I'm new to bug submitting)


regards



________________________________
 From: Frank Reininghaus <frank78ac@googlemail.com>
To: uselessemailaccount@rocketmail.com 
Sent: Thursday, July 25, 2013 2:17 AM
Subject: [kio] [Bug 303643] Photo file's creation date in wrong format when shown via right click, properties, information tab
 

https://bugs.kde.org/show_bug.cgi?id=303643

Frank Reininghaus <frank78ac@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frank78ac@googlemail.com
          Component|general                     |kfile
            Version|2.2                         |4.10.5
           Assignee|dolphin-bugs-null@kde.org   |pfeiffer@kde.org
            Product|dolphin                     |kio

--- Comment #8 from Frank Reininghaus <frank78ac@googlemail.com> ---
As Jekyll said earlier, it's a KFileMetaDataWidget issue. That class is in the
kio/kfile directory of kdelibs, so I hope that this is the right component.

Note, however, that we actually have a replacement for that class - the
FileMetaDataWidget in Nepomuk2. kdelibs code cannot use this new widget in KDE
4.x though.
Comment 10 Frank Reininghaus 2013-08-08 11:43:15 UTC
(In reply to comment #9)
> Thank you Frank. So I guess I'd have to re-submit the bug under
> KFileMetaDataWidget then?

No, I have reassigned the report already.
Comment 11 Mike 2015-11-09 14:36:32 UTC
This bug is still there in Plasma 5. Date created and last modification date is mixed up when copying a file. Then the "date created" will be shown as modification date - but that is wrong. Date created should never change when copying a file becaus then it is not a copy any more. The file modification date or last access-date could change. But NEVER the creation date. If that changes it`s not the original file any more and in a picture database thats very bad while sorting pictures for date and time... :-(
Comment 12 Nate Graham 2018-01-24 17:31:58 UTC
This was just fixed a few days ago in https://cgit.kde.org/dolphin.git/commit/?id=ea6a2424fb454eafb80a731e5fdce4e4a50cb606!