Bug 464538

Summary: Counter with high values does not fit the background
Product: [Applications] kdenlive Reporter: krzysztof.swiatek
Component: Rendering & ExportAssignee: 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-20 06:53:59 UTC
STEPS TO REPRODUCE
1. Open the application.
2. Click on Project->Generators->Counter.
3. Type in a very high duration (for example all 9's).
4. Press OK.
5. Save the file in a valid location.
6. Drag the newly created counter from the Project Bin onto a track.

OBSERVED RESULT
The counter's duration is not capped and displays a very high number that goes past the edges of the clip.

EXPECTED RESULT
The counter's duration is capped.

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