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 585490 - Dragging from an expanded Applications view crashes gnome-shell
Dragging from an expanded Applications view crashes gnome-shell
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 587190 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-11 20:11 UTC by Jonathan Blandford
Modified: 2009-06-29 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the crash when dragging from the More mode (6.49 KB, patch)
2009-06-28 21:46 UTC, Marina Zhurakhinskaya
none Details | Review

Description Jonathan Blandford 2009-06-11 20:11:07 UTC
Expanding the app launcher and dragging an icon crashes gnome-shell the moment the animation to bring back the desktops starts.

I get lots of the below warnings, then the final warning.

...

(metacity:25813): Clutter-WARNING **: Attempting to map a child that does not meet the necessary invariants

(metacity:25813): Clutter-WARNING **: Attempting to map a child that does not meet the necessary invariants

(metacity:25813): Clutter-WARNING **: Attempting to map a child that does not meet the necessary invariants

**
Clutter:ERROR:./clutter-actor.c:813:clutter_actor_update_map_state: assertion failed: (!(must_be_realized && !may_be_realized))


This might be identical to #585489, as it has the same last error.
Comment 1 Marina Zhurakhinskaya 2009-06-28 16:04:01 UTC
*** Bug 587190 has been marked as a duplicate of this bug. ***
Comment 2 Josh Leverette 2009-06-28 16:47:19 UTC
Isn't this confirmed yet? Its been 17 days, plus a duplicate bug has been removed (as I posted the duplicate not seeing this one) (but it still provides further evidence to confirm this)
Comment 3 Marina Zhurakhinskaya 2009-06-28 17:12:20 UTC
Yes, it is confirmed. We just don't usually change the status for it, 
but I'll change it for this bug since you asked :). There is another 
branch under development that changes a lot of the overview behavior, 
so it should be fixed along with the merge of that branch in the next 
couple days.
Comment 4 Marina Zhurakhinskaya 2009-06-28 21:46:47 UTC
Created attachment 137516 [details] [review]
Fix the crash when dragging from the More mode

This patch uses a separate icon image as a drag actor instead of using the
clone of the icon. This patch applies to the overlay-design02 branch.

Clutter no longer allows using a clone of an actor that is not a part of 
the scene graph. This is what used to happen when we created a clone for 
the icon of the item that was being dragged, and then closed the More panes
with the original item, removing the icon from the scene graph. 

The icon that was being removed was a part of the item, which was a part of 
the item display, all of which are removed instead of hidden because the next
time the pane might be used to show a totally different set of search results.
So it is more straight forward to just use a separate icon image for the drag
actor instead of delaying removing all these actors from the scene graph until
the drag action is complete.
Comment 5 Colin Walters 2009-06-29 18:51:15 UTC
May want to rename the _getIcon method of the AppInfo to _createIcon to make it clearer that we are creating a new actor each time.
Comment 6 Marina Zhurakhinskaya 2009-06-29 19:28:27 UTC
Fixed in the overlay-design02 which will soon be merged to master.