Bug 447145

Summary: Dockers -> Photobash -> Selecting Fit Canvas option generates a Script error.
Product: [Applications] krita Reporter: Jade_NL <jdekker21>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: error log shown

Description Jade_NL 2021-12-17 19:33:38 UTC
SUMMARY
***

Using the Fit Canvas option generates a script error (ZeroDivisionError). As a result the image is loaded but not scaled to the canvas size.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 Jade_NL 2021-12-17 19:35:31 UTC
Created attachment 144630 [details]
error log shown

This is shown in  window when the error happens.
Comment 2 Jade_NL 2021-12-17 19:42:57 UTC
Sorry, report was send before I was ready.

This is a minor error and Krita itself keeps running. The image is loaded, but not scaled to the canvas size.

STEPS TO REPRODUCE
1 activate this docker
2 activate Fit Canvas
3 load image

OBSERVED RESULT
Error window/message

EXPECTED RESULT
image being loaded and scaled to canvas size

ADDITIONAL INFORMATION
This is Krita 5 specific. It does not happen in 4.4.8
Comment 3 Jade_NL 2021-12-22 15:52:24 UTC
Just noticed that a new version of Photobash was implemented and with that the reported issue is now gone.

Closing this one.