Bug 412470

Summary: Safe Assert when exporting compositions
Product: [Applications] krita Reporter: Ahab Greybeard <ahab.greybeard>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Safe Assert message on exporting compositions

Description Ahab Greybeard 2019-09-30 09:01:49 UTC
Created attachment 122944 [details]
Safe Assert message on exporting compositions

SUMMARY
Using 4.3.0-prealpha (git 0d8465d) appimage, I get a Safe Assert for every composition in the compositions docker.

Each composition .png file is correctly exported and composition information is correctly stored in the saved .kra file.

STEPS TO REPRODUCE
1. Add some compositions to the Compositions docker
2. Export them to a directory
3. Press Ignore for each Safe Assert to carry on as normal

OBSERVED RESULT
See attached screenshot of the safe assert

EXPECTED RESULT
It shouldn't do this.

SOFTWARE/OS VERSIONS
Krita

 Version: 4.3.0-prealpha (git 0d8465d)
 Languages: en_GB, en
 Hidpi: true

Qt

  Version (compiled): 5.12.5
  Version (loaded): 5.12.5

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-6-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10


Hardware Information

  GPU Acceleration: auto
  Memory: 16039 Mb
  Number of Cores: 8
  Swap Location: /tmp

ADDITIONAL INFORMATION
There was an old crash bug when exporting compositions: https://bugs.kde.org/show_bug.cgi?id=400627
Comment 1 Halla Rempt 2019-09-30 09:14:24 UTC
Git commit 6eaae6aebf95a18b81b2a91da84642d45f433f67 by Boudewijn Rempt.
Committed on 30/09/2019 at 09:13.
Pushed by rempt into branch 'master'.

Do not assert when exporting compositions

M  +4    -9    plugins/dockers/compositiondocker/compositiondocker_dock.cpp

https://invent.kde.org/kde/krita/commit/6eaae6aebf95a18b81b2a91da84642d45f433f67
Comment 2 Halla Rempt 2019-10-04 08:01:29 UTC
Git commit d6c74655b5dc66a95ac87fcef6f4e390c1737ccb by Boudewijn Rempt.
Committed on 04/10/2019 at 08:01.
Pushed by rempt into branch 'krita/4.2'.

Do not assert when exporting compositions
(cherry picked from commit 6eaae6aebf95a18b81b2a91da84642d45f433f67)

M  +4    -9    plugins/dockers/compositiondocker/compositiondocker_dock.cpp

https://invent.kde.org/kde/krita/commit/d6c74655b5dc66a95ac87fcef6f4e390c1737ccb