Closed
Bug 1167090
Opened 9 years ago
Closed 9 years ago
Timestamps on files (e.g. camera pictures) are incorrect when read over MTP
Categories
(Firefox OS Graveyard :: MTP/UMS, defect)
Tracking
(blocking-b2g:2.5?, firefox41 fixed)
People
(Reporter: marcia, Assigned: dhylands)
References
Details
(Keywords: foxfood, Whiteboard: [spark])
Attachments
(2 files)
170.15 KB,
image/png
|
Details | |
1.21 KB,
patch
|
alchen
:
review+
|
Details | Diff | Splinter Review |
Using the latest private build from https://tools.taskcluster.net/index/artifacts/#gecko.v1.mozilla-central.revision.linux.2f6ea66057fe37794d7fc061407495cdcece5443.aries/gecko.v1.mozilla-central.revision.linux.2f6ea66057fe37794d7fc061407495cdcece5443.aries
SD Card is set as the default internal storage. I took some pictures first using internal and then switched to SD card.
STR:
1. Open Camera and take some picture
2. Open USB storage and move the pictures to my desktop (Mac)
3. See attached screenshot
Reporter | ||
Comment 1•9 years ago
|
||
[Blocking Requested - why for this release]: Blocking because we should show the correct date for each picture taken.
blocking-b2g: --- → spark?
Comment 2•9 years ago
|
||
It is because the current time on the phone is changing.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Comment 4•9 years ago
|
||
System date is good. It's MTP that is getting crazy.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•9 years ago
|
Summary: [Aries] Timestamps on Camera pictures are incorrect → [Aries] Timestamps on Camera pictures are incorrect when read over MTP
Updated•9 years ago
|
Whiteboard: [spark] → [foxfood][spark]
Comment 7•9 years ago
|
||
This affects all files (and folders) as far as I can tell -- not just camera pictures.
e.g. with my Aries device mounted via MTP, I just created a new folder on it. The brand-new folder's "last modified" date is Jul 4 1993. Several minutes later I created another new folder; that one is displayed with "last modified" Jul 6 1993. Several minutes later, a new folder ended up with "last modified" Jul 7 1993.
So they seem to be monotonically increasing, but way faster than real-world time.
I wonder if we're somehow mixing up the date vs. the time, somewhere in our MTP code, or something like that...
Summary: [Aries] Timestamps on Camera pictures are incorrect when read over MTP → [Aries] Timestamps on files (e.g. camera pictures) are incorrect when read over MTP
Assignee | ||
Comment 9•9 years ago
|
||
This bug affects all MTP implementations and is not specific to Aries.
Assignee | ||
Updated•9 years ago
|
Summary: [Aries] Timestamps on files (e.g. camera pictures) are incorrect when read over MTP → Timestamps on files (e.g. camera pictures) are incorrect when read over MTP
Assignee | ||
Updated•9 years ago
|
Component: Gaia::Camera → MTP/UMS
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dhylands
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8626408 -
Flags: review?(alchen)
Comment 11•9 years ago
|
||
Comment on attachment 8626408 [details] [diff] [review]
bug-1167090-mtp-time.patch
Review of attachment 8626408 [details] [diff] [review]:
-----------------------------------------------------------------
No problem.
Attachment #8626408 -
Flags: review?(alchen) → review+
Assignee | ||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
blocking-b2g: spark? → 2.5?
You need to log in
before you can comment on or make changes to this bug.
Description
•