https://bugs.kde.org/show_bug.cgi?id=470490

            Bug ID: 470490
           Summary: Kate Is Not Aware If  "hunspell-en_gb" Is Installed or
                    Not
    Classification: Applications
           Product: kate
           Version: 23.04.1
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: encoding
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: kdelo...@mozej.com
  Target Milestone: ---

Created attachment 159369
  --> https://bugs.kde.org/attachment.cgi?id=159369&action=edit
Kate/Plasma not aware of languages and dictionaries

SUMMARY
***
Foreword: My Kate setting has always automatic spelling check off. No automatic
spelling has been used to trigger this bug.

Setting Language for the whole text (e.g. here the text is .md) does nothing.
As soon as I go to menu and chose spelling it always reverts  to "EN US ver.
2." The reason for this is that all the languages are present in the system and
Kate, but no "hunspell-en_gb" has been installed.

Attached screnshot is worth a 1000 words. I cannot explain it better in
writing.
***


STEPS TO REPRODUCE
1. Go to KDE's application menu at the bottom left , hit meta key and type
"spelling". Tick UK/GB
2. Close KATE and reopen Kate to be sure it loads/respects KDEs settings
3. Go to both: the bottom left and right corner of Kate and set language as in
the screenshot.
4. Go to Kate's menu and chose spelling (not automatic).

OBSERVED RESULT:
1. On the bottom left in Kate it always reverts itself to US ver.2. No EN/UK
spelling can be checked. It always reverts back to EN US ver2. The text is
always treated as EN/US and nothing can be done. 

EXPECTED RESULT:
Make Kate (and Plasma) not show options in multiple places for a given language
when this language dictionary is not installed (here "hunspell-en_gb"). Let
Kate (and Plasma) show only installed langueages in order not to confuse users
when they use this languages/spell checking throughout system:

A. Scenario 1: "hunspell-en_gb" has not been installed. Kate should not show to
spell check or use GB/UK, because its reverting imediately back to EN/US

B. Scenario 2: "hunspell-en_gb" is installed. Kate now is allowed to show GB
and GB/UK English in those two places (see screenshot)



SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9 

ADDITIONAL INFORMATION
UK stands for United Kingdom, not Ukraine. Its very confusing in
plasma/kate/hunspell. I know about GB, but GB does not contain Northern Ireland
which uses UK spelling.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to