GNOME Bugzilla – Bug 585490
Dragging from an expanded Applications view crashes gnome-shell
Last modified: 2009-06-29 19:28:27 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.
*** Bug 587190 has been marked as a duplicate of this bug. ***
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)
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.
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.
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.
Fixed in the overlay-design02 which will soon be merged to master.