anodynos / touchegg

Automatically exported from code.google.com/p/touchegg
4 stars 1 forks source link

Can't single tap in drop-downs or menus. #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using a macbook pro 8,1; Ubuntu Studio 11.04 (Gnome), Compiz (if it matters) 
and touchegg 1.0.

When you activate a right-click menu by right clicking or two finger tapping or 
with the keyboard, or when you open the gnome main menu, or basically whenever 
you open a menu that opens on top of the active window or on top of the 
Dersktop, you can't single tap the contents of the menu, you have to use the 
trackpad's physical button.

Here's my config file:

<touchégg>
    <settings>
        <property name="composed_gestures_time">0</property>
    </settings>

    <application name="All">
        <gesture type="TAP" fingers="1" direction="">
            <action type="MOUSE_CLICK">BUTTON=1</action>
        </gesture>

        <gesture type="TAP" fingers="2" direction="">
            <action type="MOUSE_CLICK">BUTTON=3</action>
        </gesture>

        <gesture type="DRAG" fingers="2" direction="ALL">
            <action type="SCROLL">SPEED=7:INVERTED=false</action>
        </gesture>

        <gesture type="DRAG" fingers="3" direction="ALL">
            <action type="DRAG_AND_DROP"></action>
        </gesture>

        <!-- Bound in Compiz to "Expo" -->
        <gesture type="DRAG" fingers="4" direction="DOWN">
            <action type="SEND_KEYS">XF86LaunchB</action>
        </gesture>

        <!-- Bound in Compiz to "Scale" -->
        <gesture type="DRAG" fingers="4" direction="UP">
            <action type="SEND_KEYS">XF86LaunchA</action>
        </gesture>
    </application>
</touchégg>

Original issue reported on code.google.com by email.r...@gmail.com on 8 Oct 2011 at 2:57

GoogleCodeExporter commented 8 years ago
Why are you using this configuration?

        <gesture type="TAP" fingers="1" direction="">
            <action type="MOUSE_CLICK">BUTTON=1</action>
        </gesture>

Try to test it without this lines, probably it will works. The default 
Touchégg configuration is mine own configuration, and works fine in the Magic 
Trackpad, that is the same that the MBP trackpad :D

PS - Probably you know it, but is possible to make drag&drop by default making 
a double-tap with one finger (for example to select text or move files)
You only need to make a tap with 1 finger and quickly make a drag.

Original comment by jose.exposito89@gmail.com on 9 Oct 2011 at 9:42

GoogleCodeExporter commented 8 years ago
Hi José, thanks for the reply.
Here's what I want to achieve:

Single tap clicks
Two finger scrolling preferably with inertia
Three finger dragging (not just moving windows but dragging anything)
Four finger swipe up triggers a key combination
Four finger swipe down triggers another key combination
Disable touchpad while typing.

Everything works with my current config except for disabling while typing, 
inertia while scrolling and the issue I reported about single tapping menus.

*****

Ok, I figured it out before sending this message: 

The problem was, I had the following lines in my xorg.conf file, which if I 
understand correctly were changing the driver to "evdev" ( whatever that means 
;) )

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "evdev"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
EndSection

I removed that and ended up with a config file like:

<touchégg>
    <settings>
        <property name="composed_gestures_time">0</property>
    </settings>

    <application name="All">
       <gesture type="DRAG" fingers="3" direction="ALL">
            <action type="DRAG_AND_DROP"></action>
        </gesture>

        <!-- Bound in Compiz to "Expo" -->
        <gesture type="DRAG" fingers="4" direction="DOWN">
            <action type="SEND_KEYS">XF86LaunchB</action>
        </gesture>

        <!-- Bound in Compiz to "Scale" -->
        <gesture type="DRAG" fingers="4" direction="UP">
            <action type="SEND_KEYS">XF86LaunchA</action>
        </gesture>
    </application>
</touchégg>

And now everything works as expected. 

Thanks!!!!

:)

Original comment by email.r...@gmail.com on 9 Oct 2011 at 11:12

GoogleCodeExporter commented 8 years ago
Now, curiosity: if I wanted to connect a magic trackpad, would I need to use 
the evdev driver for it? Would that mean that I'd be back to mi initial state 
where synaptics settings wouldn't work (for the magic trackpad).

Thanks again :)

Original comment by email.r...@gmail.com on 9 Oct 2011 at 11:16

GoogleCodeExporter commented 8 years ago
Cool, I'm glad it all works :D And no, the Magic Trackpad is plug & play, only 
connect and use... I have never tried use two trackpads with Tochégg (I 
haven't got two :P) but I hope that all will works

Greetings!!

Original comment by jose.exposito89@gmail.com on 10 Oct 2011 at 7:59