After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665135 - Removable device connected notification should not show up if mounted from Nautilus
Removable device connected notification should not show up if mounted from Na...
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: message-tray
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-11-29 14:52 UTC by j^
Modified: 2021-07-05 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j^ 2011-11-29 14:52:02 UTC
if you click on a volume in nautilus to mount it, there is no need to get a message asking you to open a nautilus window, nautilus already displays the contents of that drive at that point.
Comment 1 Milan Bouchet-Valat 2011-11-29 18:36:31 UTC
You mean, when mounting e.g. an internal partition?
Comment 2 j^ 2011-11-29 18:50:19 UTC
that or unmounting and mounting an external drive.
Comment 3 Milan Bouchet-Valat 2011-11-29 22:36:43 UTC
OK. I'm asking because in the case of hotplugging external drives, i.e. when they are mounted automatically, Nautilus isn't supposed to open a new window. This only happens in Ubuntu (bug 663152).

So what you say is different: it's about not showing a notification when the mount results from a user action. I don't know whether it's the expected behavior, or whether you're simply experiencing a bug...
Comment 4 fsw 2011-12-14 11:19:54 UTC
I'm having the same issue here in openSUSE 12.1 x64 with GNOME 3.2.1:

when mounting any kind of internal partitions in Nautilus, that I don't want to be automatically mounted at startup (means XP, Vista, lots of Linux, second HDD with audio & video), the message "Open with Files" or "Eject" pops-up and stays untill:

Solution 1: I open it (again, as it's already open) with "Open with Files" and have a second (useless) Nautilus window that appears (but get rid of the message) and can use my files!

Solution 2: I eject it with "Eject" and it's unmounted also in the first Nautilus window (but get rid of the message too) meaning I can't use my internal partition at all!

The worst being that this message blocks eveything at the bottom of my 22" screen (like writing this bug report or searching something in Firefox) and there's no way to cancel it (or do I miss something?) ...

I thought I will find more people complaining about that on the web, but I just did find this one:

http://www.phoronix.com/scan.php?page=article&item=gnome_survey_part4&num=8
(Post 3772)

Please do something about this behaviour, because as a old lover of GNOME 'till 2005, that's really the only annoying point for me in GNOME 3 !

(Note: mounting external devices from Nautilus when it's already opened brings something similar: for exemple, using an usb disk, it appears in Nautilus, if it's already opened, as the message also appears. But if you choose to open the usb disk FROM Nautilus, and NOT to use "Open with Files", the usb disk is mounted in Nautilus, but the message stays forever unless I use solutions 1 or 2 ...)

Thanks in advance.
Comment 5 fsw 2011-12-14 11:26:25 UTC
wait wait wait, out of a sudden I've just noticed the message CAN be canceled by clicking on it.
Soory, I was sure I've already try that!

Nevertheless, that's a kind of temporary fix, not a real solution ...
Perhaps there's something to improve in the communication between Nautilus and message-tray (don't know if it's using DBus) ...

If I can be of any help to help you solve / improve this, please ask.

Thanks in advance.
Comment 6 Milan Bouchet-Valat 2011-12-14 13:31:00 UTC
(In reply to comment #5)
> Nevertheless, that's a kind of temporary fix, not a real solution ...
> Perhaps there's something to improve in the communication between Nautilus and
> message-tray (don't know if it's using DBus) ...
The problem is that Nautilus shouldn't open a window automatically when the device is mounted. This should only happen when you click on "Open with Files".

What does
ps ax |grep gnome-fallback-mount-helper
say?
Comment 7 fsw 2011-12-14 15:30:59 UTC
> The problem is that Nautilus shouldn't open a window automatically when the
> device is mounted. This should only happen when you click on "Open with Files".

Sorry but I think you have still misunderstood what the problem is: 
The problem isn't that Nautilus open a window automatically when the
device is mounted. This really does only happen when you click on "Open with Files".

I will try with the steps to reproduce it what the real problem we have is:

- step 1: mounting any kind of internal partitions in Nautilus that isn't  automatically mounted at startup, let's say one with Windows XP named "XP".

- step 2: the partition "XP" is mounted in Nautilus and as the same time, a message pops-up with the volume icon "XP" and asks "Open with Files" or "Eject".
I don't need that, because "XP" is already mounted in Nautilus. In between, that blocks the whole bottom of the screen. 

-step 3: to get rid of it, either you clic on the message and it disappears, or you click "Open ..." and have now 2 Nautilus windows with "XP", or "Eject" and "XP" is unmounted.

By the way, I've tried your command when the message appears and the result is:

15545 pts/0    S+     0:00 grep --color=auto gnome-fallback-mount-helper

But, I repeat it, Nautilus does NOT open a window automatically when the
device is mounted, only if you click on "Open with Files", so this NOT the problem ...

Hope this helps, tell me if I can do anything else.
Comment 8 Milan Bouchet-Valat 2011-12-14 16:32:16 UTC
OK, sorry, I thought you were describing something else. The moral of the story is that you don't win anything by restating in ten paragraphs what people already explained correctly in two sentences on the same report. :-p
Comment 9 fsw 2011-12-14 17:00:19 UTC
Gloups, you're right, I will keep that moral! I thought I add precision, not confusion =:(
 
To get back to the problem:

> So what you say is different: it's about not showing a notification when the
> mount results from a user action. I don't know whether it's the expected
> behavior, or whether you're simply experiencing a bug...

If it's a bug, it might be eventually solved. If it's a expected behavior (like in "it's not a bug, it's a feature" kind of stuff), I hope the devs can be convinced it's not a so good one ...
Comment 10 Milan Bouchet-Valat 2011-12-14 17:28:16 UTC
Let's ask the designers.
Comment 11 Ryan Sawhill 2012-02-21 19:59:51 UTC
Glad to find this and see I'm not the only one bothered by this behavior. Woo hoo!

Someone suggested I go to System Settings > Removable Media > "Never prompt ..." but that's no fun, because I, like most people I suspect, WANT to get prompted for removable media; I just don't like getting prompted after I manually mount an internal filesystem.
Comment 12 Taryn Fox 2012-05-14 22:52:38 UTC
Confirming that I am affected by this behavior as well. I've filed a Fedora Project bug report for it at https://bugzilla.redhat.com/show_bug.cgi?id=821559

EXPECTED BEHAVIOR

GNOME will ask if you want to "Open in Files" something that you don't already have open in Files, such as an external device you just plugged in.

ACTUAL BEHAVIOR

GNOME acts like Clippy.
Comment 13 GNOME Infrastructure Team 2021-07-05 14:28:14 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.