[dolphin] [Bug 439108] New: Python files with "class" word in the beginning are classified as "text/x-modelica" (Modelica model)
Norbert
bugzilla_noreply at kde.org
Thu Jun 24 10:58:50 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439108
Bug ID: 439108
Summary: Python files with "class" word in the beginning are
classified as "text/x-modelica" (Modelica model)
Product: dolphin
Version: 21.04.1
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: dolphin-bugs-null at kde.org
Reporter: norbertzpilicy at gmail.com
CC: kfm-devel at kde.org
Target Milestone: ---
SUMMARY
When the first line of Python file contains "class" keyword it's being
recognized as Modelica model file not a Python file. When I leave 1st line
empty and second line has class keyword it's normal.
STEPS TO REPRODUCE
1. Create new python file, for ex. test.py
2. Type "class" in file and save it
3. The file changes icon and is recognized as text/x-modelica (Modelica model)
OBSERVED RESULT
Python file shown as Modelica model.
EXPECTED RESULT
Python file shown as Python file no matter the content.
SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.22.0 (but it started a while ago)
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list