Bug 464486

Summary: Draw Box's minimum width/height functions the same as its maximum width/height
Product: [Applications] kdenlive Reporter: krzysztof.swiatek
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description krzysztof.swiatek 2023-01-19 01:41:09 UTC
STEPS TO REPRODUCE
1. Open the application.
2. Put a video into the project bin.
3. Drag the video onto one of the tracks.
4. Apply Draw Box to the clip.
5. Set the Draw Box's thickness to a somewhat high value (for example 345) to be able to notice the issue more easily.
6. Make sure that width and height are set to 0.

OBSERVED RESULT
The box encapsulates the entire clip, as if its width and/or height were set to their maximum values.

EXPECTED RESULT
The box should appear as a line if either of the dimensions is set to 0 or as a point if they are both 0.

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