won't save config if missing lxde folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxinput (Ubuntu) |
Fix Released
|
High
|
Julien Lavergne | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lxinput
Package: lxinput 0.1.1-2
DistroRelease: Ubuntu lucid (development branch), 10.04 (beta2)
Hardware: Dell mini 10 (1012) touchpad (if relevant)
Description:
lxinput UI accepts configuration changes, but these changes are not taken into consideration when pressing 'OK' button. lxinput shows the default configuration every time it is launched. The default configuration is partially applied when the dialog is dismissed either through Ok or Cancel. Left handed mouse setting seems to persist even though check box stays unchecked when reopening UI (hardware specific?). New mouse acceleration settings are never taken into account.
It seems the configuration changes are not saved if folder ~/.config/lxde does not exist. Creating the folder manually allows lxinput to save a lxde/config file, apply new settings and display them properly upon closing and relaunching lxinput,
This happened after a fresh install of lubuntu 10.04 beta2.
Repro steps:
1- move ~/.config/lxde folder to ~/.config/lxde_
2- start lxinput
3- set new mouse configuration (accel. speed and left handed mode)
4- click Ok
5- launch lxinput
Result:
settings are back to default
Expected:
settings match last configuration seen when closing lxinput
SRU explanation:
1. impact : current settings are not saved to the correct configuration file, making lxinput quite useless.
2. the bug was fixed by updating the location of the configuration files
3. Debdiff included
4. TEST CASE: start lxinput, change a configuration, restart, and see that settings are back to the default ones.
5. Regression : probably no, the configuration doesn't work at all, I can't see how it could be worse. I tested with the patch, no crash, no corruption of the configuration file. I can't see other potential regression.
Changed in lxinput (Ubuntu): | |
assignee: | nobody → Julien Lavergne (gilir) |
status: | Confirmed → In Progress |
Changed in lxinput (Ubuntu): | |
assignee: | Julien Lavergne (gilir) → nobody |
status: | Confirmed → Triaged |
Changed in lxinput (Ubuntu): | |
assignee: | nobody → Julien Lavergne (gilir) |
status: | Triaged → In Progress |
not sure if this is the right approach, but it works...