! 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 !
Xfce4-panel doesn't react properly on changes made by xfconf-query
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description drkwv 2015-12-09 20:39:29 CET
$ xfce4-panel --version
xfce4-panel 4.11.0 (Xfce 4.10)

I have run into the problem while writing a script that sets up my personal xfce4 settings using command line interface. I was unable to add applicationsmenu plugin onto panel even after restarting xfce4-panel with "xfce4-panel --quit". It worked only after OS reboot (which was a preferrable alternative to session logout in my case).

Way to reproduce the bug:
1. Reset all "xfce4-panel" values with "xfconf-query".
2. Reboot the system.
3. Login into desktop with free floating empty panel.
4. Execute next xfconf queries:
xfconf-query --create --channel 'xfce4-panel' --property '/configver' --type 'int' --set '2'
xfconf-query --create --channel 'xfce4-panel' --property '/panels' --type 'int' --set '1'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/autohide' --type 'bool' --set 'false'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/background-alpha' --type 'int' --set '100'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/background-style' --type 'int' --set '0'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/enter-opacity' --type 'int' --set '100'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/leave-opacity' --type 'int' --set '100'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/length' --type 'int' --set '100'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/length-adjust' --type 'bool' --set 'true'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/mode' --type 'int' --set '0'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/position' --type 'string' --set 'p=6;x=0;y=0'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/position-locked' --type 'bool' --set 'true'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/size' --type 'int' --set '48'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/span-monitors' --type 'bool' --set 'false'
xfconf-query --create --channel 'xfce4-panel' --property '/panels/panel-1/plugin-ids' --force-array --type 'int' --set '1'
xfconf-query --create --channel 'xfce4-panel' --property '/plugins/plugin-1' --type 'string' --set 'applicationsmenu'
5. Applicationsmenu button would not show until you reboot or add it manually through the GUI. It will not show even if you reload the xfce4-panel although there would be no difference in xfce4-settings-editor between the settings you put through xfconf-query or between the settings you'll made through the panel settings GUI.
6. There is probability that xfce4-panel -s would take settings from a unknown different place and write it to ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml disregards of what you have entered using xfconf-query.
Comment 1 drkwv 2016-03-07 13:50:41 CET
Xfce 4.12 in Xubuntu 16.04 also ignores attemps to create a panel using xfconf-query
Comment 2 Git Bot editbugs 2020-05-28 01:58:47 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/xfce4-panel/-/issues/141.

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 #12355

Reported by:
drkwv
Reported on: 2015-12-09
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information