Bug 409895 - Animated transparency mask loses content
Summary: Animated transparency mask loses content
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 4.2.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-17 11:45 UTC by Sergio Venegas
Modified: 2019-08-15 07:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Loss of data in animated frames of the transparency mask (681.76 KB, image/jpeg)
2019-07-17 11:45 UTC, Sergio Venegas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Venegas 2019-07-17 11:45:14 UTC
Created attachment 121580 [details]
Loss of data in animated frames of the transparency mask

SUMMARY
Transparency mask lose content

STEPS TO REPRODUCE
1. Create a transparency mask from a duplicated animated layer, or import animated frames, in order to mask it.
2. The layer keeps its animated frames and masks the layer appropriately, we save the file.
3. When you open the file, the transparency mask will lose its content leaving only empty frames

OBSERVED RESULT
The transparency mask works as expected, reproducing next to the animation, the failure comes when retrieving the information when reopening the file

EXPECTED RESULT
When opening the file you should be able to keep the data of the transparency mask and all the frames.
(in some previous version prior to 4.0 the result could be obtained)

SOFTWARE/OS VERSIONS
Windows: 7
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
KDE Frameworks 5: LGPLv2.1+
Qt Version: 

ADDITIONAL INFORMATION

Files with similar data created in previous versions do not lose the information in layers of transparency as in the last versions, although when retrying recreating in newly downloaded versions, data loss still suffers
Comment 1 joupent 2019-08-09 13:04:57 UTC
Git commit 221737aef49b09457944641a6213686d0ee764d0 by Jouni Pentikäinen.
Committed on 09/08/2019 at 13:03.
Pushed by jounip into branch 'master'.

Fix saving animated transparency masks created through conversion

M  +4    -1    libs/image/kis_mask.cc

https://invent.kde.org/kde/krita/commit/221737aef49b09457944641a6213686d0ee764d0
Comment 2 Halla Rempt 2019-08-15 07:53:47 UTC
Git commit 14c02a498cac391522533854ac47d2a1296fc1a4 by Boudewijn Rempt, on behalf of Jouni Pentikäinen.
Committed on 15/08/2019 at 07:44.
Pushed by rempt into branch 'krita/4.2'.

Fix saving animated transparency masks created through conversion

M  +4    -1    libs/image/kis_mask.cc

https://invent.kde.org/kde/krita/commit/14c02a498cac391522533854ac47d2a1296fc1a4