[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Zesko
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #7 from Zesko  ---
(In reply to Nate Graham from comment #6)
> Created attachment 125750 [details]
> Test case file
> 
> Bizarre. Can confirm.
> 
> It seems like some code somewhere is unconditionally checking for "use
> strict" to determine which icon to show.

Other code line "use warnings" too.

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #6 from Nate Graham  ---
Created attachment 125750
  --> https://bugs.kde.org/attachment.cgi?id=125750=edit
Test case file

Bizarre. Can confirm.

It seems like some code somewhere is unconditionally checking for "use strict"
to determine which icon to show.

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Zesko
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #5 from Zesko  ---
(In reply to Nate Graham from comment #3)
> Do you see the wrong icon when the file is viewed in Dolphin, or when it is
> on the desktop, or in both?

in both

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Zesko
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #4 from Zesko  ---
(In reply to Nate Graham from comment #3)
> Do you see the wrong icon when the file is viewed in Dolphin, or when it is
> on the desktop, or in both?


I copied the wrong icon(Perl)-file and then pasted it into Dolphin. It seems
right HTML Icon.
If I open it with whatever editor and then save it in Dolphin, the HTML-icon
will automatically switch to the wrong (Perl-)Icon.

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #3 from Nate Graham  ---
Do you see the wrong icon when the file is viewed in Dolphin, or when it is on
the desktop, or in both?

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-07 Thread Zesko
https://bugs.kde.org/show_bug.cgi?id=417248

--- Comment #2 from Zesko  ---
(In reply to Nate Graham from comment #1)
> Can you run a command in Konsole and send the output?
> 
> `file --mime-type path_to_your_file`

wrong.html: text/html

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

[dolphin] [Bug 417248] Dolphin recognizes html-file as Perl-file

2020-02-06 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=417248

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
Can you run a command in Konsole and send the output?

`file --mime-type path_to_your_file`

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