Bug 482269

Summary: Gwenview writing values on cropping value fields crashes te program
Product: [Applications] gwenview Reporter: argotvisual
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: argotvisual, popov895
Priority: NOR    
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description argotvisual 2024-03-03 04:55:52 UTC
SUMMARY
***
When trying to resize an image, if the user tries to introduce measurements manually into the size fields on advanced mode, the program closes. 


STEPS TO REPRODUCE
1. Open Gwenview an open an image or double click on an image
2. Select Crop, Advanced mode
3. Try to write a value on any of both Size fields,

OBSERVED RESULT
The program closes with the error:  ASSERT: "!(max < min)" in file /usr/include/x86_64-linux-gnu/qt6/QtCore/qminmax.h, line 46
Aborted


EXPECTED RESULT
Crop the image to the measures captured in the field

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 22.04 upgraded to Plasma 6.0
(available in About System)
KDE Plasma Version:  6.0
KDE Frameworks Version:  6.0
Qt Version:  6.6.2

ADDITIONAL INFORMATION
The program crashes with the message:
The program closes with the error:  ASSERT: "!(max < min)" in file /usr/include/x86_64-linux-gnu/qt6/QtCore/qminmax.h, line 46
Aborted
when is called from the console
Comment 1 popov895 2024-03-11 11:12:37 UTC

*** This bug has been marked as a duplicate of bug 481140 ***