! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfconf-query does not properly set requested values
Status:
RESOLVED: INVALID
Product:
Xfconf
Component:
Xfconf-query

Comments

Description Robert Delahunt 2014-12-06 16:28:46 CET
When running:

xfconf-query -c pointers -p /DisableTouchpadDuration -n -t float -s "1.0"

I see that in ~/.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml the requested type value is not applied, as this line remains unchanged:

<property name="DisableTouchpadDuration" type="double" value="1.000000"/>

Type does not become "float".  One can manually change it in pointers.xml and it seems to stay "float" when changed manually, but changing type (i.e. running above command with type "double") doesn't result in pointers.xml type field being applied.

Minor nuissance.  I will be submitting a bug/feature request for touchpad pointer duration separately.

OpenSuSE 13.2 64bit.  Any other files available upon request.  Any email welcome to delahunt@puresimplicity.net.
Comment 1 Skunnyk editbugs 2019-06-20 17:58:05 CEST
With xfconf 4.13.7 (with gdbus):

$ xfconf-query -c pointers -p /DisableTouchpadDuration -n -t float -s "1.0" 

(xfconf-query:6236): xfconf-common-WARNING **: 17:52:15.280: Unable to convert GType 'float' to GVariant
Failed to set property.
Comment 2 Simon Steinbeiss editbugs 2020-05-25 23:38:45 CEST
The original command is flawed - double is float.

xfconf-query -c pointers -p /DisableTouchpadDuration -n -t double -s 1.0

This works as intended ^.

Bug #11356

Reported by:
Robert Delahunt
Reported on: 2014-12-06
Last modified on: 2020-05-25

People

Assignee:
Xfce Bug Triage
CC List:
5 users

Version

Version:
4.10.0

Attachments

Additional information