Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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#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, 04:42 GMT-5
Last edited by Andreas Radke (AndyRTR) - Saturday, 06 September 2008, 13:48 GMT-5
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, 13:48 GMT-5
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, 06:12 GMT-5
Solved: remove plugin from bar and add it.
Comment by Jakub Fiser (mr.MikyMaus) - Sunday, 11 November 2007, 07:44 GMT-5
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, 07:57 GMT-5
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, 15:20 GMT-5
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, 15:58 GMT-5
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, 16:23 GMT-5
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, 09:53 GMT-5
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, 04:02 GMT-5
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, 17:20 GMT-5
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, 12:20 GMT-5
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, 12:31 GMT-5
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, 11:31 GMT-5
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, 11:55 GMT-5
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) - Monday, 07 January 2008, 21:21 GMT-5
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, 15:52 GMT-5
I've install xdm-archlinux and bug's disappered ;) Magic...
Comment by Grigorios Bouzakis (dolby) - Saturday, 17 May 2008, 13:22 GMT-5
Is anyone still experiencing this?
Comment by Artyom (urandom) - Saturday, 17 May 2008, 13:48 GMT-5
Yes, this bug still actual, when using autologin with gdm.
Comment by Ilya (ilya) - Thursday, 22 May 2008, 10:29 GMT-5
Yes, still actual. I don't use XDM/GDM, only 'startx' from ~/.bash_profile.
Comment by Rokas Klyvis (Rokixz) - Monday, 26 May 2008, 01:26 GMT-5
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 Grigorios Bouzakis (dolby) - Monday, 26 May 2008, 08:22 GMT-5
Can someone file a bug report upstream?
Comment by Andreas Radke (AndyRTR) - Wednesday, 25 June 2008, 00:53 GMT-5
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, 07:21 GMT-5
I have latest packages, but bug still present.
Comment by Ilya (ilya) - Monday, 07 July 2008, 19:12 GMT-5
confirm this bug (just installed 2008.06) :(
Comment by Rokas Klyvis (Rokixz) - Wednesday, 09 July 2008, 05:14 GMT-5
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, 05:15 GMT-5
oh, not ubuntu, I mean it gnome :D
Comment by Grigorios Bouzakis (dolby) - Monday, 21 July 2008, 12:47 GMT-5 Comment by Roman (drakosha) - Wednesday, 23 July 2008, 14:02 GMT-5
Looks like working now, totaly updated Arch.
Comment by Grigorios Bouzakis (dolby) - Wednesday, 23 July 2008, 14:19 GMT-5
Can the original reported verify the above?
Comment by Andreas Radke (AndyRTR) - Saturday, 16 August 2008, 15:38 GMT-5
state?

Loading...