default folder/file handler is improperly set from 'open with other application' menu

Bug #603833 reported by Doug McMahon
64
This bug affects 14 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: nautilus

By default there is no inode/directory= in ~/.local/share/applications/mimeapps.list

After a r. click -> "open with other application" and picking an app the line is created with that app as first listed, which is proper behavior.
What's not proper is that app becomes the default for opening 'Places and anything accessed thru Places', though not for dir.'s on the desktop.

Ex. this line will open Places and therein with vlc
inode/directory=vlc.desktop;

Proper behaviour is restored when opening a folder thru the r. click -> "open with other application" and picking "Open folder" which creates ( or simply editing it so

inode/directory=nautilus-folder-handler.desktop;vlc.desktop;

Any add. 'open with's , add the .desktop to front of line and that app becomes the default, ect.

Previously the first listed on inode/directory= was not the default - it remained nautilus-folder-handler whether listed or not

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: nautilus 1:2.30.1-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-7.11-generic 2.6.35-rc4
Uname: Linux 2.6.35-7-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Jul 9 20:57:55 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100705)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

Also see same behaviour with live cd as of today

Revision history for this message
Doug McMahon (mc3man) wrote :

Still the behavior on daily of 08/29

Interesting - I guess none of you all ever open a dir. with anything but nautilus?

S.Lawrence (dagrumpster)
Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

right, so the problem is that the "open with other application" is still there for folders which is shouldn't, looks like a known upstream bug though.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
summary: - Defect; Maverick, opening a directory with an app improperly sets that
- app as default folder handler for Places
+ open with other application menu entry still available for folders.
tags: added: likely-dup
Revision history for this message
Pedro Villavicencio (pedro) wrote : Re: open with other application menu entry still available for folders.

the upstream bug is https://bugzilla.gnome.org/show_bug.cgi?id=580309 (read the comments there) and it's being tracked on bug https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/366963 since there's no need to have two open bugs tracking the same bug i'm marking this as a duplicate of bug 366963

Revision history for this message
Doug McMahon (mc3man) wrote :

I disagree that this is a duplicate of those bugs which are about no r. click -> PROPERTIES -> open with dialog

What's happening here is the default folder handler is being changed from nautilus to whatever app is chosen from the r click -> open with other application menu.
(which is and should remain a valid option.

Again a quick test.
right click on any folder -> open with other application, choose something. Then when trying to open any dir. in Places the app previously chosen will open instead of nautilus.

A 'safe' choice to test would be to choose firefox from the 'open with other application menu', it won't get hung up parsing Home Folder or /

This does not affect opening a Desktop dir., nor will any app currently in the r. click open with (if any)

IIRC the same issue occurred in 8.10 I believe (or eariler

Doug McMahon (mc3man)
summary: - open with other application menu entry still available for folders.
+ default folder handler is improperly set from 'open with other
+ application' menu
Doug McMahon (mc3man)
tags: removed: likely-dup
Revision history for this message
Doug McMahon (mc3man) wrote : Re: default folder handler is improperly set from 'open with other application' menu

Pedro Villavicencio wrote >
> so the problem is that the "open with other application" is still there for folders which it shouldn't

Took me awhile to notice that...
If true, that there should be No Option to open a dir. with anything other than the file manager, well that's just ridiculous.

If you can't fix the true issue here then you should return the user's ability to set a default folder handler which is the jist of the other bugs though the intent was different - ( people just wanted to remove items from the 'open with' list.,

Or you all can continue to ignore this though each day more and more people are wondering why such and such is opening from their places menu

Also worth noting that in 9.10 and 10.04 you can use 'open with other application' and not change the default from nautilus

Revision history for this message
Doug McMahon (mc3man) wrote :

final comment from me on this matter -
anywhere I wrote 'open wtih' was meant to be just 'open', there is no 'open with' on the context menu for dir.'s
(doesn't change anything, just for accuracy

Revision history for this message
Doug McMahon (mc3man) wrote :

The culprit here is the 'Remember this application for "folder"' file' checkbox.

By default it is checked, that 's what's causing apps to be set as the default folder handler.
Unchecking it doesn't prevent the app from being added to the 'Open With' menu

It would seem the option should be removed or at the very least the option (check box) not enabled by default

It would be nice if this could be taken care of.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

yes and it's being looked at the bug this was marked as dup previously, marking it again, thanks for checking Dough.

Revision history for this message
Doug McMahon (mc3man) wrote :

For the last time this is not a dupe of that bug. Post 9 gives the cause of this behavior

There really isn't much to look at - make the "Rember...." inactive by default (or remove altogether - is not needed for folders or files
See here
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/662194

Revision history for this message
Doug McMahon (mc3man) wrote :

It's also changing the default for files

summary: - default folder handler is improperly set from 'open with other
+ default folder/file handler is improperly set from 'open with other
application' menu
Revision history for this message
anabelli (anabelli) wrote :

I had the same problem today, I opened a directory with vlc through the "Open with other Application" and I forgot to uncheck the "Remember this application for 'folder' files" option.. well it took me a while to understand why everytime I tried to open a directory in the Places menu it just opened vlc..
+1 to not enabling that option by default. Or at least, for folders it should give the option ""Remember this application for THIS folder".

Doug McMahon (mc3man)
tags: added: regression-release
Revision history for this message
arkaitzswagman (arkaitzswagman) wrote :

As a beginner, I spent quite a lot of time to figure out why I could not browse my directories anymore. (After adding a nautilus-script to open folders with rhythmbox, it was set as the default application to launch directories).
I found the mimeapps.list using grep, In my opinion, it is not very user friendly for a newbie who wants to do the same as he used to do with his/her MS file manager (right-click, open with)

Revision history for this message
Lars (larsmednosen) wrote :

This happen to me too, I opened a map in vlc, in my music folder, and then every folder opened in vlc(!) to me, this is not exactly a bug, but it's wrong, and have to be fixed somehow.

Revision history for this message
Doug McMahon (mc3man) wrote :

This should be set to "won't fix" (I can't do that..), - because it's an upstream bug and is never going to be fixed anyway. (upstream

The fix to make less likely to occur is in this bug, released for natty, though my initial intention was for maverick
bug #662194

Changed in nautilus (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Zentai Andras (andras-zentai) wrote :

Just run into this problem on Oneiric.

This Ubuntu Forums thread
http://ubuntuforums.org/showthread.php?t=1622346
redirected me here.

Revision history for this message
Doug McMahon (mc3man) wrote :

Zentai - you are being affected by this instead
Bug 876788

Changed in nautilus (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Edward Donovan (edward.donovan) wrote :

With a functioning nautilus-folder-handler.desktop included in Precise's nautilus, this is fixed. If you still have the symptoms, you probably have old files in ~/.local/share/applications/ . Try cleaning that out, and remaking the associations you need. I had to. :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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