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

            Bug ID: 411718
           Summary: Dolphin shows the wrong file type for Python
           Product: dolphin
           Version: 19.08.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: kdeb...@janoff.de
                CC: elvis.angelac...@kde.org
  Target Milestone: ---

SUMMARY


STEPS TO REPRODUCE

1. activate "Type" column in Dolphin to be able to see the file type text
2. create new text file "example.py"
3. write "class Example:" as line 1, press Ctrl+S to save

OBSERVED RESULT

a) after step 2: Dolphin shows Python file type
b) after step 3: Dolphin shows "Modelica model" file type
c) shell command "file example.py" says "example.py: Python script, ASCII text
executable"
d) even after typing a correct Python class the file type stays "Modelica
model"
(Example:
class Example:
    def f(self):
        pass

print('Hello')
)

EXPECTED RESULT

- file type is Python

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 5.16.4
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION

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

Reply via email to