GNOME Bugzilla – Bug 578722
notify user on slow unmount operations
Last modified: 2009-04-14 07:12:42 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.
This commit http://git.gnome.org/cgit/gnome-disk-utility/commit/?id=f5c0e92affa5ec515d03eb1d8abfcccd2b4fe3eb implements the behavior described in comment 0.
Splendid, many thanks!