lxqt / lxqt-config

Tools to configure LXQt and the underlying operating system
https://lxqt.github.io
GNU Lesser General Public License v2.1
83 stars 61 forks source link

lxqt-config-input (v0.16.0) > Mouse and Touchpad > Acceleration speed > Unsupported data type QVariant::float #676

Closed marc-sabates-gelpi closed 3 years ago

marc-sabates-gelpi commented 3 years ago
Expected Behavior

The acceleration speed should be set properly and kept to what the user is setting it to.

Current Behavior

When setting a value for the acceleration, (and when the program is started from the CLI), there is the message Unsupported data type QVariant::float, and the value is reset to zero.

Possible Solution

Perhaps there is a type conversion issue, I don't know. Having said that, when the config is set manually with xinput it is displayed correctly on lxqt-config-input.

Steps to Reproduce (for bugs)
  1. Open lxqt-config-input in the CLI.
  2. Click on Mouse and Touchpad.
  3. Set a value for Acceleration speed, e.g. 0.6.
  4. Press the Apply button.
  5. Unsupported data type QVariant::float appears in the console (in the background), and the acceleration speed has been set to zero, yet the displayed acceleration is the correct one.

When closing and opening the config again the value displayed is 0.00.

Context

After the last update (v0.16.0) the trackpad speed was terribly slow and trying to set it to a higher value wouldn't work. I am setting it manually from the CLI with xinput --set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Accel Speed' 0.5

System Information

The whole ouput on my console when running lxqt-config-input is:

$ lxqt-config-input
add "gb" ""
Detected "SynPS/2 Synaptics TouchPad" on "/dev/input/event11"
xinput driver: "libinput"
Detected "TPPS/2 IBM TrackPoint" on "/dev/input/event12"
xinput driver: "libinput"
Unsupported data type QVariant::float

Thanks guys!

tsujan commented 3 years ago

Although I can't see "Unsupported data type QVariant::float", I confirm that the accelerations resets.

Thanks for the report!

tsujan commented 3 years ago

It was a regression. Its fix is here https://github.com/lxqt/lxqt-config/pull/677. Most probably, lxqt-config 0.16.1 will be released with it soon.

marc-sabates-gelpi commented 3 years ago

Thanks @tsujan : )