FS#8595 - xfce4-xkb-plugin: flags don't showed after system upgrade

Attached to Project: Arch Linux
Opened by Vitaliy Berdinskikh (skipper13) - Saturday, 10 November 2007, 09:42 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 06 September 2008, 17:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Andreas Radke (AndyRTR)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
After upgrade xfce4-xkb-plugin don't show flag for RU and UK but PNG-files is present. Plugin showes US flag only. For other languages showes "(null)" string.

Additional info:
* xfce4-xkb-plugin 0.4.3-3
*
/etc/X11/xorg.conf
===================
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru,ua"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection
===================

ls /usr/share/xfce4/xkb/flags/{ru,uk}.png -l
===================
-rw-r--r-- 1 root root 215 Апр 16 2007 /usr/share/xfce4/xkb/flags/ru.png
-rw-r--r-- 1 root root 1210 Апр 16 2007 /usr/share/xfce4/xkb/flags/uk.png
===================

log
===================
(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed

(xfce4-xkb-plugin:8319): GLib-CRITICAL **: g_utf8_strdown: assertion `str != NULL' failed
===================
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 06 September 2008, 17:48 GMT
Reason for closing:  Not a bug
Additional comments about closing:  closed for now. ask for reopen if it's still broken.
Comment by Vitaliy Berdinskikh (skipper13) - Saturday, 10 November 2007, 11:12 GMT
Solved: remove plugin from bar and add it.
Comment by Jakub Fiser (mr.MikyMaus) - Sunday, 11 November 2007, 12:44 GMT
skipper13's solution lasts only one session. After relogin the plugin starts to behave the same (wrong) way it has before. See forum: http://bbs.archlinux.org/viewtopic.php?pid=298316
According to google this problem seems to be Arch-specific.
Comment by Jakub Fiser (mr.MikyMaus) - Sunday, 11 November 2007, 12:57 GMT
Involved packages are most probably glibc 2.7-5 and xorg-xserver 1.4-5 (with versions 2.7-4 and 1.4-4 plugin worked fine)
Comment by Vitaliy Berdinskikh (skipper13) - Sunday, 11 November 2007, 20:20 GMT
After reinstall plugin bug repeated.

1. Plugin don't work.
2. Remove and add plugin - plugin work perfectlly.
3. Exit from X11
5. Start X11 again - plugin don't work again :(

xorg-server 1.4-5
glibc 2.7-6
Comment by Tobias Kieslich (tobias) - Sunday, 11 November 2007, 20:58 GMT
on my box I have only en_US (without a flag) US with a flag to choose. What do I have to change to get more selections and actually reproduce the error?
Comment by Jakub Fiser (mr.MikyMaus) - Sunday, 11 November 2007, 21:23 GMT
tobias: Add another keyboard to xorg.conf and define some switching rules. Mine looks like this:

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us,cz"
Option "XkbModel" "pc104"
Option "XkbOptions" "grp:alt_caps_toggle,grp:switch,grp_led:scroll"
Option "XkbRules" "xorg"
EndSection
Comment by Jakub Fiser (mr.MikyMaus) - Monday, 12 November 2007, 14:53 GMT
I was just playing with startxfce4 and alternate methods of starting X while I noticed this on my vt where startxfce4 was executed:

** Message: This build doesn't include support for XF86Misc extension
** Message: Querying Xkb extension
** Message: Xkb extension found
** Message: Querying Xkb extension
** Message: Xkb extension found

That can be what's causing the problem. Looks like some build misconfiguration in a Xorg component. I don't know in which one though.

m.
Comment by Ilya (ilya) - Monday, 26 November 2007, 09:02 GMT
All the same... (null) instead of russian flag...
I can't switch layout with mouse, but can do it with keyboard.

xorg.conf
---------
Section "InputDevice"
Identifier "Logitech Keboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:lwin_toggle,grp:rwin_switch,grp_led:scroll"
EndSection
Comment by Artyom (urandom) - Friday, 07 December 2007, 22:20 GMT
Same issue. On my office machine, I have password in GDM, and all work correct. At home machine I haven't password in GDM, and xkb-plugin worked incorrectly. If try to disable autologin in GDM, all worked correctly. What is it? :(
Comment by Roman (drakosha) - Saturday, 08 December 2007, 17:20 GMT
Maybe it'll help: after multiple upgrades, only 2 or my 3 keyboard layouts work:

Option "XkbLayout" "us,ru,il"

I can write in us, ru, but il is not accessible. I use xfce. I do not currently care about the panel plugin. Running setxkbmap fixes the problem
Comment by Artyom (urandom) - Sunday, 09 December 2007, 17:31 GMT
Hmm, adding setxkbmap "us,ru(winkeys)" in ~/.profile solve this problem: plugin work properly after starting with GDM autologin. Thanks.
Comment by Ilya (ilya) - Friday, 14 December 2007, 16:31 GMT
I use console login and 'startx' in .bash_profile. 'startx' uses .xinitrc, so i add setxkbmap here. Now plugin works!

---------------------------------------------
#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

numlockx
setxkbmap "us,ru(winkeys)"
exec startxfce4
Comment by Jakub Fiser (mr.MikyMaus) - Wednesday, 02 January 2008, 16:55 GMT
skipper13's solution lasts only one session. After relogin the plugin starts to behave the same (wrong) way it has before. See forum: http://bbs.archlinux.org/viewtopic.php?pid=298316
According to google this problem seems to be Arch-specific.
Comment by Roman Kyrylych (Romashka) - Tuesday, 08 January 2008, 02:21 GMT
request for reopen message was lost during reopening, here it is:
The problem still there: 1. unable to add xfce-panel plugin for keyboard language display/change 2. without running setxkbmap only two keyboard languages can be used (in xorg.conf 3 are configured).
Comment by Vitaliy Berdinskikh (skipper13) - Thursday, 15 May 2008, 19:52 GMT
I've install xdm-archlinux and bug's disappered ;) Magic...
Comment by Greg (dolby) - Saturday, 17 May 2008, 17:22 GMT
Is anyone still experiencing this?
Comment by Artyom (urandom) - Saturday, 17 May 2008, 17:48 GMT
Yes, this bug still actual, when using autologin with gdm.
Comment by Ilya (ilya) - Thursday, 22 May 2008, 14:29 GMT
Yes, still actual. I don't use XDM/GDM, only 'startx' from ~/.bash_profile.
Comment by Rokas Klyvis (Rokixz) - Monday, 26 May 2008, 05:26 GMT
Only english flag showed. but if you remove and add this plugin add, everythings work perfect. I think it's xfce4-desktop bug, because I've tryed to compile older plugin versions and still bugy. Thanks.
Comment by Greg (dolby) - Monday, 26 May 2008, 12:22 GMT
Can someone file a bug report upstream?
Comment by Andreas Radke (AndyRTR) - Wednesday, 25 June 2008, 04:53 GMT
http://bbs.archlinux.org/viewtopic.php?id=39529 - it's reported to be fixed. still anybody with that issue or can it be closed?
Comment by Artyom (urandom) - Wednesday, 25 June 2008, 11:21 GMT
I have latest packages, but bug still present.
Comment by Ilya (ilya) - Monday, 07 July 2008, 23:12 GMT
confirm this bug (just installed 2008.06) :(
Comment by Rokas Klyvis (Rokixz) - Wednesday, 09 July 2008, 09:14 GMT
I think it's xorg bug, because keyboard indicator not works properly gnome.

Try to add 'setxkbmap' on autostart session in xfce or ubuntu.
Comment by Rokas Klyvis (Rokixz) - Wednesday, 09 July 2008, 09:15 GMT
oh, not ubuntu, I mean it gnome :D
Comment by Greg (dolby) - Monday, 21 July 2008, 16:47 GMT Comment by Roman (drakosha) - Wednesday, 23 July 2008, 18:02 GMT
Looks like working now, totaly updated Arch.
Comment by Greg (dolby) - Wednesday, 23 July 2008, 18:19 GMT
Can the original reported verify the above?
Comment by Andreas Radke (AndyRTR) - Saturday, 16 August 2008, 19:38 GMT
state?

Loading...