On double click, Nautilus opens the file with the wrong application

Bug #1080328 reported by wim sturkenboom
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Observed behaviour
Assume I have a file called screenshot.png and double click it; Nautilus will start the image viewer. If I omit the extension, Nautilus is clever enough to figure it out and open it with the image viewer. If I'm however stupid enough to rename the file to screenshot.txt, Nautilus decides that it's no longer an image and opens with a texteditor (or attempts to).

Expected behaviour
Nautilus should use the file content to determine the type of file and the associated application instead of extensions.

Reported for Ubuntu 12.04; also observed with an up-to-date 10.04 and also reported to be the case on 13.04 (see https://answers.launchpad.net/ubuntu/+source/nautilus/+question/214355)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nautilus 1:3.4.2-0ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-33.52-generic 3.2.31
Uname: Linux 3.2.0-33-generic x86_64
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Sun Nov 18 13:58:04 2012
ExecutablePath: /usr/bin/nautilus
GsettingsChanges: org.gnome.nautilus.window-state geometry '1178x772+740+399'
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_ZA:en
 PATH=(custom, no user)
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
wim sturkenboom (wim001) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.