! 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 !
The Window Manager is unable to make a permanent change to the Theme setting


Description Jeffery Small 2020-01-21 06:53:54 CET
After a recent upgrade from Xubuntu 19.04 to 19.10, I attempted to change the Theme from Moheli to Default.  I was able to make the change and it was immediately reflected in the displayed windows.  However, after logging out and logging in the setting was back to Moheli.  I discovered that the theme was stored in the ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml file under the entry:

<property name="theme" type="string" value="Moheli"/>

and it was not updated when changed in the Window Manager.  I manually edited this to:

<property name="theme" type="string" value="Default"/>

but the next time I logged in, this was reset to Moheli.  I decided that the window manager must be writing out its internal setting upon exit, so I logged out of Xfce4, remotelly logged into a shell and re-edited the file.  This worked and now when I reboot/login the Default theme is active and shows up as such in the Window Manager.

I believe I changed the theme to Moheli back in 19.04 and it immediately took.  Something seems to have changed with 19.10.
Comment 1 Theo Linkspfeifer editbugs 2020-01-27 13:10:06 CET
Are you able to reproduce the initial problem? Note that the XML file should not be manually edited while the xfconf process is still running.

More information here:
Comment 2 Jeffery Small 2020-01-27 19:59:20 CET
Well, /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd is typically running when the desktop is active.  However, the problem exists even if none of the settings windows are active.

It's not really important as to the conditions that would allow the XML to be manually edited, as this was only an emergency action taken to work around the apparent bug.  What is important is that

Settings Manager->Window Manager->Theme

changes should take permanently as expected, and not revert after the current session ends.
Comment 3 Theo Linkspfeifer editbugs 2020-01-28 12:03:41 CET
So, other xfconf settings are affected also? If yes, then the bug needs to be assigned to the xfconf component.
Comment 4 Git Bot editbugs 2020-05-29 12:33:59 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/373.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16398

Reported by:
Jeffery Small
Reported on: 2020-01-21
Last modified on: 2020-05-29


Olivier Fourdan
CC List:
0 users




Additional information