Strange extension for text file in creator
-
I just stumpled across this
when trying to use "save as" on a file with an unknown extension. The first two make sense to me, but what is meant with "*,v" ?
This is on Win 10 64 bit with creator version 4.5.1. Is there one of my creator config files corrupted?
-
@koahnig said in Strange extension for text file in creator:
The first two make sense to me, but what is meant with "*,v" ?
Is this the filter combo box?
Can you try switching Creator to English and see if it persists. If it doesn't probably a problem with the translation, if not probably a bug in Creator itself. (I don't experience that behavior on my Linux)Is there one of my creator config files corrupted?
Probably not.
-
Hi @koahnig,
Seems like you found a bug :) Have a look in Tools -> Options -> Environment -> MIME Types and search for "text/plain". I have it on Linux too and I think it's simple a typo.
I have to admit, that I still don't know where this data is coming from.
Regards
-
@aha_1980 said in Strange extension for text file in creator:
Seems like you found a bug :) Have a look in Tools -> Options -> Environment -> MIME Types and search for "text/plain". I have it on Linux too and I think it's simple a typo.
Indeed, the list is wrong with my creator too. Interestingly I don't get such a list in the save file dialog's dropdown ... go figure ... :)
-
Right here it is
I did not know where to find this. Somehow I had something else in mind.
Qt creator is in English. Only my Win10 is in German and this is the native dialog.
But is there a "standard" file extension *.v?
-
Hi @koahnig,
I did not know where to find this. Somehow I had something else in mind.
Me too. But then I didn't found the string in the sources and searched for a function "Save as" and got to the MIME database.
But is there a "standard" file extension *.v?
Honestly, I don't know.
I'd say file a bugreport about this and see what the devs answers.
-
I have entered a bug report https://bugreports.qt.io/browse/QTCREATORBUG-19959
-
Received feedback for bug report which has been closed by the way.
Eike Ziller added a comment - 1 hour ago
That data comes from the shared-mime-info from freedesktop.org, which also maintains the MIME Applications Specification in the first place. I think ",v" is the file ending used by the housekeeping files from CVS, so probably not a typo.The link points on to https://cgit.freedesktop.org/xdg/shared-mime-info/tree/freedesktop.org.xml.in and the definition in question is on line 5566.
Well it is the first time that hear of an extension using a comma, but I am willing to accept. It simply looks strange and is not really a bug as some other work limiting things.
-
@koahnig said in Strange extension for text file in creator:
Well it is the first time that hear of an extension using a comma, but I am willing to accept.
Haven't seen something like this in nearly 25 years.
It simply looks strange and is not really a bug as some other work limiting things.
As said, you can modify it locally. If you don't use CVS, you'll probably never see such a file.
Thanks for reporting back.
-
The funny thing is the comma. I have just tried and windows 10 you can rename a file to hold a ",v" at the end, but this either part of the extension or part of the filename.
In the command prompt this command would generate
dir >outfile,v
a file outfile without the ",v" (comma vi) at the end. All this makes the behaviour really strange and its use very limited, if there one at all.