Issue when ejecting busy device from the Unity 2D Shell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Fix Committed
|
Medium
|
Unassigned | ||
unity-2d (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Test Case]
1. Plug an external device (e.g. USB stick)
2. Make it busy (e.g. go to it in a terminal)
3. Try to safe eject the device
-> Verify the volume is busy dialog appears
-> Verify there is no "Unity 2d Shell" tile in the launcher
[Regression Potential]
In the almost-impossible scenario the fix might prevent things that should show in the Launcher from showing. But since it's a very easy check, that's impossible to do.
Original description:
Ubuntu 12.10 64bits
Unity 2D 5.12
Insert a USB stick and make it busy (I opened a mp3 with RhythmBox (and the device was still busy after it was read but that'll be another bug)).
Ask Unity 2D to Eject the key. A popup appears for a confirmation.
Confirm, the popup is destroyed but respawn.
Cancel, the popup is destroyed but the Unity-2D-Shell icon appears in the Launcher.
Ask Unity-2D-Shell for quiting the launcher Unity-2D-Shell, Unity-2D-Shell quits and gnome-session doesn't relaunch it.
When I said quit, I meant the Launcher window was destroyed but the process remained active, and I needed to kill the process for gnome-session relaunch unity-2d-shell process.
I launched Unity-2D-Shell in a terminal and I get this when trying to umount the key :
unity-2d-shell: [CRITICAL] GLib-GObject: g_signal_
unity-2d-shell: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-shell: [CRITICAL] GLib-GObject: g_signal_
unity-2d-shell: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-shell: [CRITICAL] GLib-GObject: g_signal_
unity-2d-shell: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-shell: [CRITICAL] GLib-GObject: g_signal_
unity-2d-shell: [CRITICAL] GLib-GObject: g_object_
Related branches
- Gerry Boland: Pending requested
-
Diff: 28 lines (+10/-0)2 files modifiedlibunity-2d-private/src/applicationslist.cpp (+3/-0)
tests/manual-tests/launcher.txt (+7/-0)
description: | updated |
Changed in unity-2d: | |
milestone: | 5.14 → 5.12.1 |
importance: | Undecided → Medium |
description: | updated |
Changed in unity-2d: | |
milestone: | 5.12.1 → 5.14 |
Changed in unity-2d (Ubuntu): | |
status: | New → Fix Released |
Changed in unity-2d: | |
assignee: | Albert Astals Cid (aacid) → nobody |
Adding unity since it has the same problem that pressing "force eject" does nothing and the dialog loops forever.