Bug 454533

Summary: Resize dialog hangs when entering large image size
Product: [Applications] gwenview Reporter: Nicolas Fella <nicolas.fella>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: antonio.prcela, idontfeelcomfygivingyoumyemail
Priority: NOR    
Version First Reported In: Git (add output of "git log -1 --oneline" to description)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicolas Fella 2022-05-28 14:12:51 UTC
STEPS TO REPRODUCE
1. Go to Edit > Resize image
2. Enter a large width, e.g. 100000px

OBSERVED RESULT
Gweview freezes/hangs

EXPECTED RESULT
Gwenview doesn't hang

SOFTWARE/OS VERSIONS
Gwenview: master (72e38e5a5831728d37b7548ab430171e73857cbd)
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.4-kde

ADDITIONAL INFORMATION

It seems to hang in calculateEstimatedImageSize() doing lots of IO.
Moving the image size estimation to another thread might help
Comment 1 A Linux User 2025-08-21 00:19:14 UTC
Still reproducable.