In theory solution to this bug would be to send 'dash::GOTO_DASH_URI'
(3) instead of 'dash::NOT_HANDLED' (0) to the dash with the
'UBUS_PLACE_ENTRY_ACTIVATE_REQUEST' in 'UnityScreen::SendExecuteCommand'
(plugins/unityshell/src/unityshell.cpp line 1773). The logic inside
'DashView::OnActivateRequest' (dash/DashView.cpp line 331) also supports
this change: if dash is hidden (!_visible), the lens will be activated
and dash shown; if dash is visible, the lens is activated inside last
'else if' clause. Right now only dash is hidden inside first 'else if'.

Regression potential should be very minimal as this is the way the other
lens shortcuts are handled (Controller::CheckShortcutActivation in
dash/DashController.cpp on line 343) and they seem to work fine.

However I can't test this right now in real world conditions so I'd
rather not send a patch. Feel free to pick this up as this fix is really
trivial and should only take few minutes...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1019457

Title:
  The Dash closes when trying to switch to the Command lens (Alt+F2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1019457/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to