Bug 548978 - can't disable single finger tap using hal policy
Summary: can't disable single finger tap using hal policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: control-center
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-19 20:09 UTC by Teguh DC
Modified: 2010-02-05 01:41 UTC (History)
5 users (show)

Fixed In Version: 2.28.1-16.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-05 01:33:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
lshal after boot (149.86 KB, text/plain)
2009-12-19 20:09 UTC, Teguh DC
no flags Details
hal policy (483 bytes, application/octet-stream)
2009-12-19 20:10 UTC, Teguh DC
no flags Details
xorg log (14.97 KB, text/x-log)
2009-12-19 20:12 UTC, Teguh DC
no flags Details
my mbp4.1 /proc/bus/input/devices (3.19 KB, text/plain)
2010-01-12 12:59 UTC, Teguh DC
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 606793 0 None None None Never

Description Teguh DC 2009-12-19 20:09:33 UTC
Created attachment 379388 [details]
lshal after boot

Description of problem:
I can't disable tap using hal policy, but i can disable it when i use 'synclient TapButton1=0'

Version-Release number of selected component (if applicable):
xorg-x11-drv-synaptics-1.2.0-2.fc12.i686

How reproducible:
always

Steps to Reproduce:
1. cp /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi /etc/hal/fdi/policy/
2. edit that file, remove comment section, add "<merge key="input.x11_options.TapButton1" type="string">0</merge>"
3. reboot
  
Actual results:
Single finger tap is enable

Expected results:
Single finger tap is disable

Additional info:
i think hal policy is loaded, but i dont know why xorg didnt respect that

Comment 1 Teguh DC 2009-12-19 20:10:35 UTC
Created attachment 379389 [details]
hal policy

Comment 2 Teguh DC 2009-12-19 20:12:12 UTC
Created attachment 379390 [details]
xorg log

Comment 3 Peter Hutterer 2009-12-20 22:25:09 UTC
system-preferences-mouse, touchpad tab, is it enabled there? If not, the session applies your user settings after logging in and overwrites the system settings set in HAL.

Comment 4 Teguh DC 2009-12-21 04:23:21 UTC
Yes it is enable

This is my touchpad tab on mouse preferences:

General
Disable touchpad while typing [uncheck, when activate this option, nothing happen i think it is another bug]
Enable mouse clicks with touchpad [checked, text and option are grey, i cann't change this option]

Scrolling
Two-finger scrolling
Enable horizontal scrolling [checked]

Comment 5 Peter Hutterer 2010-01-11 05:59:06 UTC
(In reply to comment #4)
> Yes it is enable

right, this is the reason why tapping is enabled in the session then, g-s-d overwrites the setting in hal.

> Enable mouse clicks with touchpad [checked, text and option are grey, i cann't
> change this option]

if it is greyed out, this means the touchpad didn't detect a physical button on your machine. In this case the tool won't let you disable tapping as this would mean you would lose the ability to enable it again (since you couldn't click it without plugging in an extra mouse).

out of interest - why do you want to disable tapping?

Comment 6 Teguh DC 2010-01-11 09:16:24 UTC
(In reply to comment #5)

> right, this is the reason why tapping is enabled in the session then, g-s-d
> overwrites the setting in hal.
> 
> if it is greyed out, this means the touchpad didn't detect a physical button on
> your machine. In this case the tool won't let you disable tapping as this would
> mean you would lose the ability to enable it again (since you couldn't click it
> without plugging in an extra mouse).
>

so this is another bug ? my machine is macbookpro 4.1 (it has 1 physical button)
 
> out of interest - why do you want to disable tapping?    

i don't want to disable tapping, but i want to disable "single finger tap" instead.
single finger tap is very annoying, i choose to using physical button for left click, but still activate dual finger tap for right click.

single finger tap annoying: when i writing some text, accidently my tumb touching the touchpad and i screw my work (as i said before, i can't disable toucpad while typing via mouse preference, bug ?)

Comment 7 Peter Hutterer 2010-01-12 07:16:32 UTC
(In reply to comment #6)
> (In reply to comment #5)
> 
> so this is another bug ? my machine is macbookpro 4.1 (it has 1 physical
> button)

hmm, that shouldn't happen then. can you attach the section from /proc/bus/input/devices for this device?

> > out of interest - why do you want to disable tapping?    
> 
> i don't want to disable tapping, but i want to disable "single finger tap"
> instead.
> single finger tap is very annoying, i choose to using physical button for left
> click, but still activate dual finger tap for right click.
> 
> single finger tap annoying: when i writing some text, accidently my tumb
> touching the touchpad and i screw my work (as i said before, i can't disable
> toucpad while typing via mouse preference, bug ?)    

with the current interface, you can't disable a special tap. that's in the works but not there yet (https://bugzilla.gnome.org/show_bug.cgi?id=598820).

if you check the disable while typing checkbox, do you see syndaemon spawning? that's what syndaemon is for, so I'd rather we fix this issue for you than have you change the configuration to work around another issue.

Comment 8 Teguh DC 2010-01-12 12:59:35 UTC
Created attachment 383234 [details]
my mbp4.1 /proc/bus/input/devices

Comment 9 Teguh DC 2010-01-12 13:12:51 UTC
yes, syndaemon is spawning when i check the disable while typing checkbox.
actually they spawn this: "syndaemon -i 0.5 -k" (so, ok .. this is not a bug, thx for pointing to this info)
how to change default syndaemon parameter ?

Comment 10 Peter Hutterer 2010-01-12 23:23:38 UTC
this timeout is hardcoded but you could just untick this box and run sydaemon yourself. the -i flag specifies the number of seconds to disable the touchpad after typing has been detected.

In regards to your issue, the check in the control-center applet is wrong, it checks for the presence of LMR buttons and if any is missing, this checkbox is ticked and disabled. The better check would be to check only whether the left mouse button is present.

Upstream bug for this issue is: https://bugzilla.gnome.org/show_bug.cgi?id=606793

Comment 11 Peter Hutterer 2010-01-13 00:12:48 UTC
Please test the scratch build from here: http://koji.fedoraproject.org/koji/taskinfo?taskID=1917728

It includes the patch sent to the upstream bug report. Let me know if that works for you.

Comment 12 Teguh DC 2010-01-13 04:18:04 UTC
Thanks peter, thats work.
after upgrade to control-center-filesystem-2.28.1-14.fc12.i686, i can disable finger tap.

Comment 13 Teguh DC 2010-01-13 04:18:57 UTC
sorry, i mean control-center-2.28.1-14.fc12.i686

Comment 14 Fedora Update System 2010-01-19 01:27:09 UTC
gnome-settings-daemon-2.28.1-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/gnome-settings-daemon-2.28.1-12.fc12

Comment 15 Fedora Update System 2010-01-19 02:07:06 UTC
control-center-2.28.1-16.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/control-center-2.28.1-16.fc12

Comment 16 Fedora Update System 2010-01-19 19:37:55 UTC
control-center-2.28.1-16.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update control-center'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0769

Comment 17 Fedora Update System 2010-02-05 01:33:32 UTC
control-center-2.28.1-16.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2010-02-05 01:41:35 UTC
gnome-settings-daemon-2.28.1-12.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.