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

            Bug ID: 163570
           Summary: Inconsistent dictionary name when using '_' in the
                    name
           Product: LibreOffice
           Version: 7.4.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Description:
After adding a new user dictionary with any _ character in it, some places
remove the _ value while other places keep it. ('testbook.dic' vs
'test_book.dic')
I believe it should be consistent and 'test_book.dic' to keep in line with
maintaining other characters like space and non-alphabetic characters.

Please note I don't know every place the dictionary book is displayed so this
inconsistency could be in more components than listed here.


Steps to Reproduce:
Steps to reproduce:
1. Write some incorrectly spelt words to your document, just one should
suffice.

2. Add a new empty user dictionary for example 'test_book'.

3. In the tools -> spelling -> add to dictionary dropdown note you will see
'testbook.dic' and not 'test_book.dic'

4. For comparison go back to main document and right click red underlined word
and in the add to dictionary dropdown there you will see 'test_book.dic'.

Actual Results:
'testbook.dic' displayed in spelling window.

Expected Results:
'test_book.dic' displayed in spelling window dropdown to match right click on
word dropdown


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Tested in LO 25.2.0.0-ALPHA (master at time of writing 22/10/24 14:00+UTC0)
   and in LO 7.4.7.2
Debian 12 AMD64


I do apologise if this bug report is incorrect in any way, this is my first
after setting up the workflow to contribute locally.

If anyone is able to give up some time, I would actually love to use this as a
bit of experience in contributing to this project!
And hopefully won't be big task to accomplish.

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

Reply via email to