should display notification when new media are detected

Bug #345317 reported by Nicolò Chieffo
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Wishlist
Unassigned
notify-osd (Ubuntu)
Invalid
Undecided
Mirco Müller

Bug Description

There should be a notification bubble whenever a USB/firewire device is plugged in.
<https://wiki.ubuntu.com/NotifyOSD#device-detection>

gnome-mount should implement these notification bubbles, but does not.
<https://wiki.ubuntu.com/NotifyOSD#gnome-mount>

Revision history for this message
Mirco Müller (macslow) wrote :

That's not a bug in notify-osd, but rather gnome-mount (if I'm not mistaken) to use notifications for such events in the correct way.

Changed in notify-osd (Ubuntu):
assignee: nobody → macslow
status: New → Invalid
Nicolò Chieffo (yelo3)
description: updated
Changed in gnome-mount (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
description: updated
tags: added: notifications
Revision history for this message
Pedro Villavicencio (pedro) wrote :

i can confirm this with my usb stick, thanks for the report.

Changed in gnome-mount (Ubuntu):
assignee: desktop-bugs → canonical-desktop-team
status: New → Triaged
Changed in gnome-mount (Ubuntu):
assignee: canonical-desktop-team → ken-vandine
Revision history for this message
Ken VanDine (ken-vandine) wrote :

It looks like the work done related to gnome-mount was already completed in bug 332600.

The other portion of that spec was generic device notifications, not just removable media. We could pretty easily patch gnome-mount to display notifications when removable media is detected, but that sort of happens already by opening a nautilus window. I think it would be more useful to have something like hal trigger the notification for devices that are plugged in.

Thoughts?

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

This is a valid bug. The behavior of the system (according to mpt's spec) should be that when the device is plugged in, if the system has not otherwise responded in a very short period of time (probably on the order of 100-250 ms), a generic notification should pop. Then there should be no more notifications, as a window should open, or the device should otherwise start working.

Currently, everything works in Jaunty, it's just the user feedback could be slightly more robust and consistent. Therefore, the important of Low is appropriate. We should consider a proper fix for this in Karmic.

Revision history for this message
Chris Cheney (ccheney) wrote :

I am not sure if this is related, maybe not? But along with notification that the device is plugged in it would be nice if told you if the device is plugged into a slower port than it should, eg plugging a USB2 hard drive into a port that only support USB1 (12Mbps) when you also have USB2 (480Mbps) ports on the system. Windows does this already but from what I recall Ubuntu does not.

Revision history for this message
Martin Pitt (pitti) wrote :

Just for the records, this is not for jaunty. Don't waste too much work on gnome-mount, David Zeuthen said it is going away soon. Perhaps this should be implemented in nautilus, which already has all the gvfs integration? gnome-mount is the wrong place for it anyway, since it doesn't provide a permanently running daemon which could listen to hal events.

Tentatively reassigning to nautilus.

affects: gnome-mount (Ubuntu) → nautilus (Ubuntu)
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 345317] Re: usb/firewire(?) notifications are not implemented

Well, if I've not misread the specification, the problem is that the
icon must be shown even if the plugged device is not mass storage. So
this is also valid for webcams and others.
The conclusion is for me that gvfs/nautilus should not be touched.

Maybe hal?

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: usb/firewire(?) notifications are not implemented

reading the bug pitti assigned to nautilus on purpose let's keep it there for now, should perhaps go in the new disk manager library that will be used by gvfs next cycle

affects: nautilus (Ubuntu) → gnome-mount (Ubuntu)
affects: gnome-mount (Ubuntu) → nautilus (Ubuntu)
Changed in nautilus (Ubuntu):
status: Triaged → Confirmed
summary: - usb/firewire(?) notifications are not implemented
+ should display notification when new media are detected
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 345317] Re: usb/firewire(?) notifications are not implemented

Can nautilus detect if a webcam was plugged?

Revision history for this message
Martin Pitt (pitti) wrote :

It could perhaps go into gvfsd instead of nautilus, but it can't go into gnome-mount or gnome-disk-utility, since these don't run as a daemon in the user's session.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

I think gvfs is probably the best place for it.

Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 345317] Re: should display notification when new media are detected

Sorry if I insist, but I still want to point out that you are talking
of usb mass storage devices, while instead the specification includes
all devices.

Changed in nautilus (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

What about putting the code in devicekit-disks, so notifications are also shown for devices that are kept away from Nautilus?

Changed in nautilus (Ubuntu):
importance: Low → Wishlist
Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

This works at least in 17.10 and I believe in 16.04, but it wasn't a nautilus fix so closing as invalid. Thanks!

Changed in nautilus (Ubuntu):
status: Triaged → Invalid
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.