unity crashes if a place is opened with the super-short-key

Bug #632460 reported by Omer Akram
82
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mirco Müller
unity (Ubuntu)
Fix Released
High
Canonical Desktop Experience Team

Bug Description

if you try to switch to places, trash or workspaces with super key combination unity crashes.

Tags: iso-testing

Related branches

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

I was able to reproduce this in Unity 0.2.34

Changed in unity:
status: New → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

even happens with trunk, I get a lot of
"(mutter:25495): dee-WARNING **: Unable to connect to peer (:1.482): Could not get owner of name ':1.482': no such name" and then crash

Changed in unity:
status: Confirmed → Triaged
importance: Undecided → High
milestone: none → 2010-09-09
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
milestone: none → ubuntu-10.10
tags: added: iso-testing
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

The same thing happens id you activate a workspace this way - there is another bug reported on this.

Milestoned for next week.

Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
milestone: 2010-09-09 → 2010-09-16
assignee: Mikkel Kamstrup Erlandsen (kamstrup) → nobody
David Barth (dbarth)
Changed in unity:
assignee: nobody → Mirco Müller (macslow)
Mirco Müller (macslow)
Changed in unity:
status: Triaged → In Progress
Revision history for this message
Mirco Müller (macslow) wrote :

Omer, which key-combination did you try when unity crashed?

Changed in unity:
status: In Progress → Incomplete
Revision history for this message
Omer Akram (om26er) wrote :

to reproduce you should have a little less apps pinned to the launcher so that when super key is pressed one of the overlay comes on any special tile. so when you try to switch to any special tile it crashes.

Revision history for this message
Erlan Sergaziev (sergeant) wrote :

In my case, it crashes when either - <Logo + A> or <Logo + 7> are pressed. 7 because the workspaces is 7th from top and it is indicated when I click and hold <Logo> = <Windows> key.

Revision history for this message
Adam Guthrie (therigu) wrote :

In mine, super + spacebar

Revision history for this message
Iain Buclaw (iainb) wrote :

In mine, super + alt

Revision history for this message
Iain Buclaw (iainb) wrote :

Adding debug session of running unity (via mutter).

Any more info needed, just ask. Regards.

Revision history for this message
Iain Buclaw (iainb) wrote :

Function:

private void on_super_key_modifier_release (uint keycode)
{
  if (!Unity.global_shell.super_key_active) return;
  int index = (int)keycode - 10;
  index = int.min (index, model.size - 1);
  if (index < 0 || index > 9) return;

  Unity.global_shell.super_key_active = false;

  var childcontroller = get_controller_for_view (model[index]);
  childcontroller.activate ();
}

I'm not really the one to say, but would this be sufficient in fixing, or is the problem deeper than what my 5 minute conclusion comes to agree with? :-)

   var childcontroller = get_controller_for_view (model[index]);
- childcontroller.activate ();
+ if (childcontroller != null)
+ {
+ childcontroller.activate ();
+ }

Regards

Revision history for this message
David Barth (dbarth) wrote :

Mirco, please test the fix provided by Iain.

Changed in unity:
status: Incomplete → Triaged
Revision history for this message
Mirco Müller (macslow) wrote :

I'll take a look at Iain's patch.

Revision history for this message
Mirco Müller (macslow) wrote :

Iain's patch fixes the crash itself. Sofar so good. But for all places (Trash, Files&Folders, Workspaces, Favourites) get_controller_for_view(model[index]) returns NULL. Other launchers do work though. Looking into the issue with get_controller_for_view() now.

Should we keep that in this bug or open a new one for it?

Changed in unity:
status: Triaged → In Progress
Mirco Müller (macslow)
Changed in unity:
status: In Progress → Fix Committed
Mirco Müller (macslow)
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

unity (0.2.38-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Correct the offset of the quicklist so it doesn't jump to the right when
      expanding from a tooltip. Fixes (LP: #631446)
    - Log apps launched via unity-place-application (LP: #632203)
    - Fix launcher does not contract if a menu is open (LP: #631452)
    - Auto scroll speed is now corrected (LP: #633045)
    - Removes jittering when rubber band is in use on the launcher (LP: #632991)
    - Fix clicking on the right of the divider also triggers action on logo
      (LP: #636602)
    - Full i18n support (LP: #637128)
    - Avoids the crash on Super-key-shortcuts with places. (LP: #632460)
    - Pressing enter in search mode should activate the first result
      (LP: #620945)
    - Esc close the places view (LP: #599891)
    - Launcher shouldn't 'fold' when hovering on a quicklist (LP: #632079)
  * update debian/libunity0.symbols

 -- Didier Roche <email address hidden> Tue, 14 Sep 2010 20:11:57 +0200

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.