Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47939 - [workrave] Preferences don't 'stick', keep getting reset to odd defaults

Attached to Project: Community Packages
Opened by Alain Kalker (ackalker) - Friday, 29 January 2016, 12:59 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 29 January 2016, 20:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After upgrade of workrave package from version 1.10.8-2 to 1.10.10-1, my former preferences are lost, any changes I make in Preferences don't 'stick', and preferences get set to odd, nonsensical defaults (like 0 hours 0 minutes 0 seconds between breaks, etc.).

I'm using XDM (yes, really!) as display manager, with i3 as window manager.
Workrave gets started from `~/.config/autostart/workrave.desktop -> /usr/share/applications/workrave.desktop` with the help of `dex -ae i3`.

I see no messages of any kind (errors or otherwise) from workrave in either ~/.xsession-errors, `journalctl --user -b` or when I run workrave from the commandline.

When I ran namcap on the package, I found the following interesting warning for version 1.10.10-1:

$ namcap workrave-1.10.10-1-x86_64.pkg.tar.xz
[..snip..]
workrave W: Files in /usr/share/glib-2.0/schemas but no call for glib-compile-schemas in install file

I'm guessing the preferences problem may be related to this, but I'm no export on GSettings stuff.

Additional info:
* package version(s)
workrave 1.10.10-1
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 29 January 2016, 20:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  should be fixed in 1.10.10-2
Comment by slirx (slirx) - Friday, 29 January 2016, 15:46 GMT
the same bug
Comment by Doug Newgard (Scimmia) - Friday, 29 January 2016, 16:17 GMT
The schemas theory is easy to test. Just run `glib-compile-schemas /usr/share/glib-2.0/schemas` as root.
Comment by Alain Kalker (ackalker) - Friday, 29 January 2016, 16:26 GMT
@Scimmia yup, that worked. After running the command and restarting workrave, preferences stick and defaults are sane again. Theory confirmed, thanks!

Loading...