Bug 447145 - Dockers -> Photobash -> Selecting Fit Canvas option generates a Script error.
Summary: Dockers -> Photobash -> Selecting Fit Canvas option generates a Script error.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: git master (please specify the git hash!)
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-17 19:33 UTC by Jade_NL
Modified: 2021-12-22 15:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
error log shown (7.26 KB, text/plain)
2021-12-17 19:35 UTC, Jade_NL
Details

Note You need to log in before you can comment on or make changes to this bug.
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.