#228 xsetwacom threshold setting is not retained

Production
closed-invalid
nobody
5
2014-05-08
2013-04-16
Naggobot
No

Setting threshold on Ubuntu 12.04 using xsetwacom reverts do default after stylus is used. Threshold setting has no effect.

To replicate
1. open terminal
2. Run xsetwacom get "Wacom Bamboo 16FG 4x5 Pen stylus" Threshold. This should return 27
3. Run xsetwacom set "Wacom Bamboo 16FG 4x5 Pen stylus" Threshold 100
4. Run xsetwacom get "Wacom Bamboo 16FG 4x5 Pen stylus" Threshold. This should return 100
5. Use stylus to move cursor
6. Run xsetwacom get "Wacom Bamboo 16FG 4x5 Pen stylus" Threshold. This should return 100 but returns default value 27

Bug that may be related http://gna.org/bugs/?20426

Discussion

  • Naggobot
    Naggobot
    2013-04-16

    Version of xsetwacom is 0.19.0

     
  • Jason Gerecke
    Jason Gerecke
    2013-04-16

    Confirmed with GIT master (dfe42d3e) and Graphire4. Interestingly, I'm unable to reproduce the bug with an Intuos3. I wonder if this is somehow protocol-dependent...

     
  • Jason Gerecke
    Jason Gerecke
    2013-04-16

    It looks like this is a GNOME issue. Despite not having a way to adjust the click threshold in the settings GUI, it still considers the threshold value to be under its control. Any time you bring the stylus in or out of prox, gnome-settings-daemon will reset all the properties to match GNOME's preferences. In this case, that means resetting the threshold to 27.

    Please report this at https://bugzilla.gnome.org/ so it can be addressed. Either the threshold should not be set, or the settings app should provide a way to adjust it.

    You can change the value used by GNOME in the meantime with a bit of work:

    1) Run dconf-editor and navigate down to org.gnome.settings-daemon.peripherals.wacom
    2) You should see one or more children containing the string "usb:056a" (these are TABLETIDs). Inside each should be entries prefixed with the string "0x" (these are TOOLIDs).
    3) For each $TABLETID/$TOOLID you need to run the following command with your desired THRESHOLD value:

    $ gsettings set org.gnome.settings-daemon.peripherals.wacom.stylus:/org/gnome/settings-daemon/peripherals/wacom/$TABLETID/$TOOLID/ pressurethreshold $THRESHOLD

    4) Once you've used gsettings on a $TABLETID/$TOOLID, you can change the pressurethreshold directly through dconf-editor at any later time.

     
  • Naggobot
    Naggobot
    2013-04-18

    Bug report filed to Gnome bugzilla.

    https://bugzilla.gnome.org/show_bug.cgi?id=698313

    Suggested workaround functions with CTH-470 but it should be noted that dconf-editor needs to be restarted before the new keys are visible.

     
  • Peter Hutterer
    Peter Hutterer
    2013-04-19

    fwiw, you should be able to confirm whether it's the gnome plugin by setting:

    gsettings set org.gnome.settings-daemon.plugins.gsdwacom active false
    

    or (on pre-GNOME3):

    gconftool-2 --type=bool --set /apps/gnome_settings_daemon/plugins/gsdwacom/active false
    

    This disables the gnome plugin. If that fixes it, it's definitely a gnome issue.

     
  • Jason Gerecke
    Jason Gerecke
    2014-05-08

    • status: open --> closed-invalid