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

            Bug ID: 140211
           Summary: Date suffix superscript formatting persisting
           Product: LibreOffice
           Version: 7.0.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: whosy...@protonmail.com

Description:
This bug occurs while editing a spreadsheet cell in LO Calc.

The suffix superscript formatting for ordinal/date numbers (e.g. ^th, ^st) will
persist should the user backspace after having placed said suffix. (Though this
seems to be inconsistent and may need to be done twice for the bug to show up.)

This issue is compounded by the fact that the default toolbars enabled for LO
Calc does not include 'text formatting' - and thus no option to toggle
superscript, meaning the only simple way to prevent this from occurring from a
normal user's perspective is to start over.


--
I've encountered this bug a good dozen of times having used LO throughout
January, so I'm sure I'm not alone in the frustration.

Steps to Reproduce:
1. Enter the text "22nd"
2. Press space
3. Press backspace
4. Repeat 2 and 3
5. Enter any other text, e.g. "of march"

Actual Results:
22^nd ^of ^march

Expected Results:
22^nd of march


Reproducible: Always


User Profile Reset: Yes



Additional Info:

It may be worth detecting that on entering a space character that:
1) superscript is currently active
2) that we're at a word boundary
3) the last word is an ordinal number with suffix

And automatically disabling superscript to improve the user experience.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to