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

            Bug ID: 171492
           Summary: Entering a negative value (e.g., -1) in the font size
                    field is accepted and results in extremely small text,
                    instead of being rejected as invalid input.
           Product: LibreOffice
           Version: 25.8.5.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Entering a negative value (e.g., -1) in the font size field is accepted and
results in extremely small text, instead of being rejected as invalid input.

Steps to Reproduce:
1. Open a document in LibreOffice Writer
2. Select some text
3. Click on the font size input field
4. Enter -1
5. Press Enter

Actual Results:
The text becomes extremely small (nearly invisible), similar to behavior
observed when entering 0 or non-numeric values.

Expected Results:
The application should:
Reject negative values as invalid input, OR
Clamp the value to a defined minimum font size, OR
Display a validation error message

It should not accept negative values or apply unintended formatting.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.8.5.2 (X86_64)
Build ID: 9c8b85f387cc00a89945a79c9e6239f32e450ac2
CPU threads: 8; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

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

Reply via email to