https://bugs.kde.org/show_bug.cgi?id=449387

            Bug ID: 449387
           Summary: Unable to set negative parameter value for Edge Crop
                    "Center Balance" parameter
           Product: kdenlive
           Version: 21.12.1
          Platform: Other
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

When adding an Edge Crop to a clip, I'm unable to set the "center balance" to a
negative value.

In XML, this parameter is defined as:
        <parameter type="constant" name="center_bias" max="%maxWidth"
min="-%maxWidth" default="0">
                <name>Center balance</name>
        </parameter>

If I change the value of min to a numeric constant, i.e. -1000, then I can set
negative values. This suggests that the token replacement isn't working
properly.

STEPS TO REPRODUCE
1.  Add video clip to timeline
2. Add "Edge Crop" effect
3. Attempt to set "Center balance" value to a negative value

OBSERVED RESULT

Center balance value is bounded to 0 on the low end.

EXPECTED RESULT

Center balance value is bounded to -%maxWidth

SOFTWARE/OS VERSIONS
Windows: Windows 11 Pro 21H2
Kdenlive: 21.12.1, also master-1009 nightly

ADDITIONAL INFORMATION

If I change the parameter type from "constant" to "animated", I seem to get the
full expected value range

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to