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

            Bug ID: 417507
           Summary: Kate ignores new mode/filetypes
           Product: kate
           Version: 19.12.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: a.j.b...@bath.ac.uk
  Target Milestone: ---

SUMMARY

Adding new, custom modes/filetypes to Kate no longer seems to work

STEPS TO REPRODUCE via GUI
1. Go to Settings, Configure Kate, Open/Save, Modes & Filetypes
2. Click 'New'. (Nothing happens.)
3. Click 'New' again. Now 'New Filetype' is shown.
4. Fill out the form with some details. I tried it for .tsv tab separated
values.
5. Click Apply.

OBSERVED RESULT

'New Filetype' remains as the value of the 'Filetype' dropdown. The new entry
cannot be found in any of the menus. It is not respected when a file of that
type is opened.

The entry does get added to ~/.config/katemoderc. But if Kate is closed and
reopened, and a second new entry is added in the same way, the first new entry
is erased.


EXPECTED RESULT

The new entry name should appear in the 'Filetype' dropdown, be available for
selection from the menus, and be respected when a file is opened. The entry for
it in ~/.config/katemoderc should persist until the user deletes it.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kernel 5.3.0-28-generic
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

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

Reply via email to