IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [F] Changing case of file extension causes file icon to change
ryerman
post Jul 22 2015, 20:24
Post #1


Member


Group: Full Members
Posts: 241
Joined: 16-August 09
From: Canada
Member No.: 10731
Mp3tag Version: 2.83



In Windows Explorer, the file icon remains the same, no matter what case (upper, lower, or any combination) is used to write the file extension.
In my Mp3tag, the file icon changes depending on the case of the file extension.

I suspect a comparison that should be made "case insensitive", is instead being made "case sensitive".
Attached thumbnail(s)
Attached Image
 


--------------------
Windows 10 Home, 64 bit
Go to the top of the page
 
+Quote Post
ohrenkino
post Jul 22 2015, 20:34
Post #2


Member


Group: Full Members
Posts: 8849
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.83h



ZITAT(ryerman @ Jul 22 2015, 21:24) *
In Windows Explorer, the file icon remains the same, no matter what case (upper, lower, or any combination) is used to write the file extension.
In my Mp3tag, the file icon changes depending on the case of the file extension.

I suspect a comparison that should be made "case insensitive", is instead being made "case sensitive".

Irrespective of the expected function: as MP3tag cannot guess which file type extension is linked to which application but has to rely on entries in the registry, it looks to me that you have 2 applications that deal with the extension with different spelling.
You would probably get the desired result if you link both case versions with the same application.
It would be interesting to see which applicationj the Explorer would open. And why it would ignore the other one.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
DetlevD
post Jul 22 2015, 21:17
Post #3


Member


Group: Full Members
Posts: 6566
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.83e



QUOTE (ryerman @ Jul 22 2015, 21:24) *
In Windows Explorer, the file icon remains the same, no matter what case (upper, lower, or any combination) is used to write the file extension.
In my Mp3tag, the file icon changes depending on the case of the file extension. I suspect a comparison that should be made "case insensitive", is instead being made "case sensitive".

It looks like your system is configured with a case-sensitive file-system
(... ??? Unix Services 3.5 for Windows ???, Server versions of Windows ??? Win 7 Ultimate ???)
... and there are two different applications associated with the two different filetypes ".flac" and ".FLAC", ... showing each their own application icon.

However, if you want to have the same icon for ".flac" and ".FLAC" files, ...
you have to associate both filetypes with the same application, ... I think so.
I cannot test this, because I am still on Win XP ... and I can only guess.

See also ...
http://superuser.com/questions/266110/how-...-the-filesystem

DD.20150722.2220.CEST

This post has been edited by DetlevD: Jul 22 2015, 21:20


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
ryerman
post Jul 23 2015, 15:10
Post #4


Member


Group: Full Members
Posts: 241
Joined: 16-August 09
From: Canada
Member No.: 10731
Mp3tag Version: 2.83



Thank you ohrenkino and DetlevD for your input.
My system does not allow files with the same name and different cases to exist in the same folder.
It is definitely case insensitive. (see attachment)

And it is not only a difference between flac and FLAC.
Anything other than lower case causes the same incorrect icon: Flac, or fLac, or FLac, or FLAc, etc. etc.

And it is not only flac files that are affected, but also ape, mp3, m4a, wv, and wma.

My system is configured to open each of these file types with the same program (MediaInfo).
This happens successfully by double-clicking, no matter what case is used for the extension.

I associate file icons in what is probably an unorthodox way and I initially thought that may cause my problem.
But then I tried with an asf file, a file type that I have never used before, and found the same behaviour even when associating the file in the usual way.

Mp3tag v2.66 associated icons with file types exactly the same as Windows Explorer (ie with no difference based on case).
Mp3tag v2.71 seems to give the wrong icon if the case of the file extension is anything but all lower case.

In other words, the only difference is the version of Mp3tag.
The attached image shows the same files loaded in 2 versions of Mp3tag, with the same registry values and file associations.

Doesn't that mean that there has been some change in the way Mp3tag handles file icons?

It would be helpful to know exactly where and how Mp3tag obtains the file icons.

Attached thumbnail(s)
Attached Image
Attached Image
 


--------------------
Windows 10 Home, 64 bit
Go to the top of the page
 
+Quote Post
ohrenkino
post Jul 23 2015, 17:29
Post #5


Member


Group: Full Members
Posts: 8849
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.83h



I can confirm the behaviour on Win 7, this time for the extension MP3 and mp3
Attached Image


Apparently there are 2 sources for the icons:
Windows Media Player Rich Preview Handler -> capitals
Media Foundation Source and Sink DLL -> lower case

This post has been edited by ohrenkino: Jul 24 2015, 09:56


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
ryerman
post Nov 22 2015, 22:23
Post #6


Member


Group: Full Members
Posts: 241
Joined: 16-August 09
From: Canada
Member No.: 10731
Mp3tag Version: 2.83



This bug was fixed in ver 2.72a


--------------------
Windows 10 Home, 64 bit
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th August 2017 - 12:44