Bug 454533 - Resize dialog hangs when entering large image size
Summary: Resize dialog hangs when entering large image size
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git (add output of "git log -1 --oneline" to description)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 14:12 UTC by Nicolas Fella
Modified: 2025-08-21 00:19 UTC (History)
2 users (show)

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


Attachments

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