https://bugs.documentfoundation.org/show_bug.cgi?id=157168

            Bug ID: 157168
           Summary: MetricSpinButton ignores out-of-range value instead of
                    limiting to range
           Product: LibreOffice
           Version: 7.5.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jl...@mail.com
                CC: caolan.mcnam...@collabora.com, jl...@mail.com

Before 7.6 (backported to 7.5.4), entering a number greater than the allowed
range would automatically replace the number with the maximum or minimum value.
Now the original number is left untouched, and the user is given no feedback
that the value they entered is invalid.

Steps to reproduce.
1. Open anchoredInCellTextbox2.docx (attachment 189442)
2. right-click on the textbox frame and choose "Position and Size"
3. Change the horizontal From-Left number to something like -10

Previously, the smallest value would have been entered.
Now, the original number is left unchanged.

The same will be true for pretty much any ranged number. The table border width
is another example in this document.

caused by commit 4ae776b842a8b6f065206d3250113493fd688756
Author: Caolán McNamara on Thu May 11 16:03:57 2023 +0100
    tdf#155241 keep current MetricSpinButton value if unparseable junk input

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to