[okular] [Bug 425148] okular import of old embedded annotations does not import the original create/modify time stamp

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Aug 24 22:38:45 BST 2020


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

--- Comment #20 from jprorama at gmail.com ---
Not sure I’m following. 

It seems the document is resident in okular with correct create/modify times
during migration when loaded from the internal xml.  The document is handed to
poppler for writing (pdfconvert() i think).  It seems poppler should serialize
what is there in the okular runtime. 

This behavior suggest to me that okular has done what you are suggesting: set
modification time last during save. 

Could you clarify? Thanks. 

> On Aug 24, 2020, at 4:30 PM, Albert Astals Cid <bugzilla_noreply at kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=425148
> 
> --- Comment #19 from Albert Astals Cid <aacid at kde.org> ---
> (In reply to jprorama from comment #18)
>> I was able to test your latest patch and it does preserve the creation time
>> but still updates the modification time to the current time of the
>> conversion.
> 
> Which from poppler's point of view is correct, you're modifying the annotation,
> so the modification time changes, if you want the modification time to be
> preserved, you need to make sure we set the modification time the last when
> recreating the poppler annotation from the okular annotation.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list