! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Wrong handling of file extensions in File Manager
Status:
CLOSED: INVALID
Severity:
trivial

Comments

Description giedrius.stalioraitis 2003-12-12 08:58:32 CET
I've noticed this bug in all versions of XFCE4. There's a problem with file
names which have more than one dot in them. Everything from the first dot is
treated as a file extension. This is a wrong behaviour. For example if there's
a file Track.01.mp3 extension is treated as 01.mp3 and therefore file
associations don't work. IMHO, file extension is everything after the LAST dot
in file name, not after the first one. This should be fixed ASAP, because I
really like this WM :]
Comment 1 edscott editbugs 2003-12-12 14:40:48 CET
Using the current CVS HEAD version, click on file with button 2 to see what
xffm thinks it is. Clicking on track.01.mp3 yields:

/home/edscott/tmp/track.01.mp3 (audio/x-mp3: MPEG layer 3 audio)

So all is good. Of course if you have something like file.tar.gz, type
".tar.gz" will take preference over ".gz".

The 4.0 branch parsing routines are different (equal to xfce3 behaviour). With
xffm 4.1 (CVS HEAD), the whole mime business has changed to FreeDesktop
standard. Backporting to 4.0 is not an option (unless the 4.1 tree is committed
to the 4.0 branch, which is a big no-no).

Bug #43

Reported by:
giedrius.stalioraitis
Reported on: 2003-12-12
Last modified on: 2009-07-14

People

Assignee:
edscott
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information