[krita] [Bug 447010] Documents created from templates unexpectedly reuse template's metadata such as total editing time, created/modified date, revision number

2023-03-06 Thread zera
https://bugs.kde.org/show_bug.cgi?id=447010

--- Comment #6 from z...@zeragamba.ca  ---
Oh hey, that's exactly what i needed.

Looks like it's a one line addition in KisPart::openTemplate:
document->documentInfo()->resetMetaData();

I'll have a look into how to submit this fix :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 447010] Documents created from templates unexpectedly reuse template's metadata such as total editing time, created/modified date, revision number

2023-03-05 Thread zera
https://bugs.kde.org/show_bug.cgi?id=447010

--- Comment #4 from z...@zeragamba.ca  ---
Still an issue in 5.1.0 :(

Any chance this can be looked at, or at least some pointers as to where to look
to see if I can patch it myself?

My idea on patching this issue was the following:
- On open file
- if was opened as template,
- reset created and modified dates to current timestamp
- reset revision number to 0
- reset editing time to 0
- ensure recording folder is updated to new timestamp

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 447010] Documents created from templates unexpectedly reuse template's metadata such as total editing time, created/modified date, revision number

2022-05-06 Thread zera
https://bugs.kde.org/show_bug.cgi?id=447010

--- Comment #3 from z...@zeragamba.ca  ---
(In reply to z...@zeragamba.ca from comment #2)
> This bug also effects the new recording features when the user creates a new
> image from a template. Snapshots are recorded to a folder based off the
> document creation date.

Workaround for this is to start a new document from template, clear the
document metadata, save it, close, then reopen

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 447010] Documents created from templates unexpectedly reuse template's metadata such as total editing time, created/modified date, revision number

2022-01-16 Thread zera
https://bugs.kde.org/show_bug.cgi?id=447010

z...@zeragamba.ca  changed:

   What|Removed |Added

 CC||z...@zeragamba.ca

--- Comment #2 from z...@zeragamba.ca  ---
This bug also effects the new recording features when the user creates a new
image from a template. Snapshots are recorded to a folder based off the
document creation date.

-- 
You are receiving this mail because:
You are watching all bug changes.