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 578722 - notify user on slow unmount operations
notify user on slow unmount operations
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: notifications
unspecified
Other All
: Normal minor
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-11 21:36 UTC by David Zeuthen (not reading bugmail)
Modified: 2009-04-14 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Zeuthen (not reading bugmail) 2009-04-11 21:36:14 UTC
Hi,

I've now implemented the notifications suggested in

 https://wiki.ubuntu.com/NotifyOSD#gnome-mount

in gnome-disk-utility (the replacement for gnome-mount).

I'm cloning bug 570499 (gnome-mount) to get feedback / design review. There's a few changes I made compared to the original design

 - The icon inside the dialog has been removed; it looked really weird
   with a big icon and relatively miniscule text

 - I replaced "Finishing up..." with "Writing data to <NAME>"

 - There is no distinction between removable/hotpluggable devices; the
   text is always the same.

The way it works is this: When Unmount() (which only returns after all bits are on disk) takes more than 750ms to complete we show this dialog

 http://people.freedesktop.org/~david/gdu-unmount-busy-1.png

When Unmount() the dialog morphs into this

 http://people.freedesktop.org/~david/gdu-unmount-busy-2.png

If the device is removed, the dialog is removed.

With the way things work you also get these notifications when unmounting stuff from the command-line.

Let me know if you have suggestions for improvements.
Comment 1 David Zeuthen (not reading bugmail) 2009-04-11 21:37:13 UTC
This commit

 http://git.gnome.org/cgit/gnome-disk-utility/commit/?id=f5c0e92affa5ec515d03eb1d8abfcccd2b4fe3eb

implements the behavior described in comment 0.
Comment 2 Martin Pitt 2009-04-14 07:12:42 UTC
Splendid, many thanks!