Four finger tap does not open the Dash

Bug #978659 reported by Jussi Pakkanen
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Medium
Albert Astals Cid
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

Test case:
1. Open unit-2d on a multi-touch device
2. Use the four finger tap
   -> The dash should open

===

Four finger tap does not open the Dash in current Precise. The code path is as follows.

First the user taps with four fingers. Geis detects this and calls void GestureHandler::gestureUpdate. It then calls toggleDash(). I have verified with logging functions that the gesture is properly delivered and the code does call toggleDash.

The Dash does not open, though. Instead this text is printed to the console 12 times:

unity-2d-shell: [WARNING] QDBusError("org.freedesktop.DBus.Error.UnknownMethod", "No such interface `org.ayatana.bamf.view' on object at path /org/ayatana/bamf/window75497474")

Related branches

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

Instrumenting the toggleDash function says that this call

bool dashActive = dashInterface.property("active").toBool();

Takes very long (several seconds) and always returns false.

Logging calls added to DashDBus::activateHome() (dashdbus.cpp) never get printed, so I am assuming the D-Bus calls are failing silently.

Revision history for this message
Albert Astals Cid (aacid) wrote :

If you know how to apply patches can you apply this one and see if it fixes your problem?

Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

It does fix it. Thanks.

As an addition, you might want to fix Geis includes at the same time. Currently gesturehandler.h has this:

extern "C" {
  #include <geis/geis.h>
}

The extern C is no longer necessary, as Geis's headers are fully C and C++ compatible.

Changed in unity-2d:
assignee: nobody → Albert Astals Cid (aacid)
status: New → In Progress
Gerry Boland (gerboland)
Changed in unity-2d:
milestone: none → 5.10.0
importance: Undecided → Medium
Changed in unity-2d:
milestone: 5.10.0 → 5.12
Changed in unity-2d:
status: In Progress → Fix Committed
description: updated
Changed in unity-2d:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jussi, or anyone else affected,

Accepted unity-2d into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in unity-2d (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

With proposed enabled, the dash comes up with a tap. Thanks.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-2d - 5.12.0-0ubuntu1

---------------
unity-2d (5.12.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release:
    - unity-2d-shell crashed with SIGSEGV in ref() (LP: #968046)
    - [hud] First entry always activated with keyboard navigation
      (LP: #980899)
    - unity-2d-shell crashes on autoscrolling on launcher tile removal
      (LP: #988239)
    - unity-2d-shell crashes when using with a NX server (LP: #983942)
    - Dash - update Dash keyboard shortcuts so the 'CTRL + TAB' switches
      between Lenses and 'TAB' by itself moves the focus between categories
      (LP: #891648)
    - [spread] When multiple windows of an app are open, clicking on one
      doesn't bring it to the foreground (LP: #917334)
    - [HUD][multi-monitor] HUD should be expanded to the left if used on a
      screen without launcher (LP: #979927)
    - unity-2d scope un-url-escapes values from its model (LP: #986175)
    - [places] tab key does nothing (LP: #891565)
    - HUD is silent to screen readers (LP: #949445)
    - launcher background coloring does not get reset when using enter to
      activate/start a program (LP: #965079)
    - [multi-monitor] [launcher] Drag & drop application to launcher on
      primary screen, other launchers not updated (LP: #966239)
    - HUD gets activated by Thinkpad USB Keyboard's back and forward buttons
      (LP: #968840)
    - Unity 2D doesn't load 24 bit icons (LP: #977262)
    - Four finger tap does not open the Dash (LP: #978659)
    - No icon in launcher entry, after installing software (LP: #980640)
    - Menu items displayed incorrectly when window streched over multiples
      monitors (LP: #987215)
    - [unity-2d-panel] The close button (potentially the others too) can
      toggled even when they are not visible anymore (LP: #924264)
    - When closing the Dash with the [x] panel button the last windows is not
      focused and doesn't allow to use window controls. (LP: #945459)
    - [launcher] item hint flickers when hovering between launcher edge and
      item (LP: #948383)
    - Missaligned progress bar (LP: #980609)
    - Launcher tile tooltip appears in wrong screen in RTL multimonitor setups
      (LP: #984080)
 -- Didier Roche <email address hidden> Fri, 27 Apr 2012 09:32:40 +0200

Changed in unity-2d (Ubuntu):
status: New → Fix Released
Changed in unity-2d (Ubuntu Precise):
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

Bug attachments

Remote bug watches

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