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

            Bug ID: 168649
           Summary: Calc: orientation degrees "minus" button goes from 0
                    to 359 instead of 355
           Product: LibreOffice
           Version: 6.2 all versions
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In the GTK3 VCL, when the "degrees" field is 0 and the "minus" button is
clicked, the degrees field is set to 359 instead of 355 as with other VCLs.

A user unconsciously clicking on the minus sign will get into an unnoticeable
problem. The text would look fine (1 degree is unnoticeable) but, if later the
user adds borders or background, it gets way too skewed. It would look like a
bug without being a bug. 355 is much more reasonable.

For comparison:
- The GEN VCL sets to 355.
- The QT/KDE VCL also sets to 355.

I did not test WIN or OSX or earlier GTK VCLs.

Steps to Reproduce:
1. Start from a blank Calc workbook
2. On any cell, right click, and "Format Cells..."
3. In Alignment > Orientation > Degrees it should say "0".
4. Click the "minus" button once.

Observe the incorrect behavior.

Follow-up to why this is a problem:

5. Add border and background. They will show up so skewed that it looks like a
bug, although it is not.
6. Compare to a value of 355, which is much more natural and intuitive to
figure out that something is wrong with the cell rotation.

Actual Results:
The "degrees" field is set to 359.

Expected Results:
The "degrees" field should be set to 355.


Reproducible: Always


User Profile Reset: No

Additional Info:
Earliest affected version value of 6.2 is approximate. While testing I could
only get the GTK3 VCL on version 6.2 and newer.

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

Reply via email to