Public bug reported: Binary package hint: nautilus
Ubuntu Jauty 9.04 x86_64 kernel 2.6.28-11-generic, nautilus version 1:2.26.2-0ubuntu2 Nautilus misjudges file type with incorrect extention. To reproduce: 1. Save a text file with .txt extention, and HTML page with .html extention. So far, so good. The properties dialogue of Nautilus shows correct MIME type, double-clicking the file opens it in the right application. 2. Rename the files to the different extention, say .rar .tgz .mp4 etc. Nautilus will now display archive icon, will display RAR (or TAR etc. respectively) MIME type, double-click will open files in Ark (or Totem for .mp4) Expected behaviour: no change in displayed icons, MIME type, and default applications for the files. 3. Rename the files so that there is no [known] extention at all. Everything is back to normal. Since file extention means little to none on *nix systems, Nautilus should not rely on known file extention to detect MIME type. Instead, it should always display correct MIME type based on file header (the way "file" command does), ignoring file extention altogether. ** Affects: nautilus (Ubuntu) Importance: Undecided Status: New -- [Jaunty] nautilus displays wrong file type if extention present https://bugs.launchpad.net/bugs/376568 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs