Bug 406795

Summary: The image split option is throwing error
Product: [Applications] krita Reporter: Survesh Jones <123survesh>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.1.7   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Survesh Jones 2019-04-23 03:09:03 UTC
SUMMARY
The image split option is throwing error, when trying to do so.

STEPS TO REPRODUCE
1. Open a project with a long image, (mine is 800 x 10000)
2. go to Image -> Image Split -> Choose any type to save (I tried with jpeg and kra types) -> Choose a folder to save the split images in
3. Horizontal lines 10, Vertical lines 0, give prefered prefix and click apply.

OBSERVED RESULT

An error box opens up with the following message :

SAFE ASSERT (krita): "!sanityCheckPointer.isValid()" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/KisDocument.cpp, line 500

Then it asks to ignore or abort. Clicking on ignore just resulted in the same popup again and again. Clicking on abort closed Krita.

EXPECTED RESULT

The single long image, will be split and saved into 10 images in the selected folder.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Krita
  Version: 4.1.7

Qt
  Version (compiled): 5.10.0
  Version (loaded): 5.10.0

OS Information
  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.4.0-145-generic
  Pretty Productname: Ubuntu 16.04.6 LTS
  Product Type: ubuntu
  Product Version: 16.04

OpenGL Info
  **OpenGL not initialized**
Comment 1 Halla Rempt 2019-04-23 06:07:42 UTC
Please try with the latest nightly build https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/ -- I think I remember having fixed that issue.
Comment 2 Bug Janitor Service 2019-05-08 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2019-05-23 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!