#572199 xkb plugin is removed from the panel after update

Package:
xfce4-xkb-plugin
Source:
xfce4-xkb-plugin
Description:
xkb layout switch plugin for the Xfce4 panel
Submitter:
"Vejnarek Pavel"
Date:
2010-03-02 13:27:08 UTC
Severity:
normal
Tags:
#572199#5
Date:
2010-03-02 10:24:17 UTC
From:
To:
The xkb plugin is removed from the panel and all keymaps definitions are
lost after update. I have to add it again manually and redefine all
settings. This is not a problem of the last version, I already noted
it in the previous updates and it occured on several computers.
It is very annoying.

Please ensure that keymap settings are not reset after updates,
add some note how to avoid it or what could be the reason.

I am using Debian testing (squeeze), kernel 2.6.32-trunk-686 #1 SMP

#572199#10
Date:
2010-03-02 12:01:25 UTC
From:
To:
Hmhm, you're saying that *all* updates (even when only touching minor
debian revision) do that? I don't use xkb so I never noticed, but that
sounds weird to me.

Well, I'm not sure there's a static xkb-plugin config (meaning when you
re-add a plugin, a new configuration is used), but you should be able to
reuse the old config file, by just renaming it to the new ones (check in
.config/xfce4/panel).

Cheers,

#572199#15
Date:
2010-03-02 13:23:28 UTC
From:
To:
Thanks for a quick reply.

I cannot say if it is done by *all* updates, I usually don't check all
updated packages and their versions in detail. But I am sure that the
last update has broke my panel again.

It seems that I cannot add more than one xkb plugin at once. So I would
expect that it has one 'common' configuration that is reused when I add
new instance of plugin to the panel.

But even if the configuration is saved per-instance, it should survive the
update. In that case there is a possibility, that problem is only
the disappearance of plugin from panel. The fact that configuration
is lost is only side effect of adding new 'clean' plugin instance.

I have found some config files in the location you have mentioned:
---------
vainee@fujitsu:~/.config/xfce4/panel$ ls -l xkb-plugin-*
-rw-r--r-- 1 vainee vainee  49 Mar  6  2009 ./xkb-plugin-115046251116.rc
-rw-r--r-- 1 vainee vainee 189 Mar  6  2009 ./xkb-plugin-12363295470.rc
-rw-r--r-- 1 vainee vainee 200 Nov 16 10:20 ./xkb-plugin-12412914230.rc
-rw-r--r-- 1 vainee vainee 188 Nov 26 10:52 ./xkb-plugin-12585394190.rc
-rw-r--r-- 1 vainee vainee 200 Dec  1 10:48 ./xkb-plugin-12595754280.rc
-rw-r--r-- 1 vainee vainee 208 Dec  7 13:36 ./xkb-plugin-12598451011.rc
-rw-r--r-- 1 vainee vainee 200 Jan 18 09:56 ./xkb-plugin-12602898152.rc
-rw-r--r-- 1 vainee vainee 200 Jan 29 15:59 ./xkb-plugin-12641426570.rc
-rw-r--r-- 1 vainee vainee 200 Feb 12 16:14 ./xkb-plugin-12651040900.rc
-rw-r--r-- 1 vainee vainee 212 Mar  2 12:32 ./xkb-plugin-12675158470.rc
---------
So I can really get old config files. Maybe you can find the real versions
of problematic xkb-plugin updates from the modification dates of files
(I don't change the configuration while it works well). I do an update
at least once a week.

I will try to re-install the plugin when I come home today and I will look
for some details that could help with analysis.

Regards,
Pavel