Bug 1332222

Summary: bogus notification "now you can unplug" USB device
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: fmuellner, otaylor
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-03 12:16:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot of notificaiton
none
journalctl --since=today none

Description Chris Murphy 2016-05-02 14:24:55 UTC
Created attachment 1152979 [details]
screenshot of notificaiton

Description of problem:

Frequently a stale USB stick long ago removed results in a notification much later that "You can now unplug <name of stick>"


Version-Release number of selected component (if applicable):
gnome-shell-3.18.5-1.fc23.x86_64


How reproducible:
Often

Steps to Reproduce:
1. Typically this happens when waking from suspend to ram.
2.
3.

Actual results:

See screen shot

Expected results:

Seeing as this USB stick hasn't been used in over a day and was long ago removed, I shouldn't be getting this message along with a new notification (dot beside the day time in the menu bar)

Additional info:

Comment 1 Chris Murphy 2016-05-02 14:26:37 UTC
Created attachment 1152980 [details]
journalctl --since=today

Comment 2 Chris Murphy 2016-05-02 14:33:01 UTC
I think what's going on is the stick is removed, the badge that it's Ok to remove it is hidden in the day/time drop down panel and I never see that and don't get a notification. But then some later time after suspend/resume I get the notification (both floating as well as the dot) for this listed item that's already there and just hasn't been cleared. So in a sense there's three bugs:

1. Lack of floating/dot notification at the time it was OK to remove the stick.
2. The listed notice in the panel just stays there apparently indefinitely unless I take action to remove it.
3. The later appearance of both floating notice and dot notification after waking from suspend.

Nothing related to "Kingston" shows up in the attached log. So I'm not sure what information to supply that helps track down the logic problem going on.

Comment 3 Florian Müllner 2016-05-03 12:16:23 UTC
I'm afraid this won't be fixed in Fedora 23. In GNOME 3.16, the unplug notification was moved from nautilus to GTK+, so this is a GTK+ issue (namely https://bugzilla.gnome.org/show_bug.cgi?id=753351).

However the agreed solution that was implemented for GNOME 3.20 (Fedora 25) was to move the notification back into nautilus, so there's no upstream interest in addressing the issue in GTK+ ...