Bug 206919 - Some keyboard layout switcher icons are missing
Summary: Some keyboard layout switcher icons are missing
Status: RESOLVED FIXED
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 00:36 UTC by Roman
Modified: 2009-10-11 15:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KDE 3 branch, my context menu. (19.59 KB, image/png)
2009-09-12 13:34 UTC, Anne-Marie Mahfouf
Details
missing icons in system tray (6.10 KB, image/png)
2009-10-10 04:36 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2009-09-10 00:36:33 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

Ukrainian and English icons are missing in systray. Alwo all the item are painted ugly in the context menu. They are not sharp and look shrinked. Unfortunately cannot make screenshot of the context menu...
Comment 1 Roman 2009-09-10 12:20:31 UTC
In KDE 4.2.2 in context menu they are also shrinked. So I think it's supposed behaviour. But still Ukrainian and English icons are missing in the systray. (German and Russian appear here..)

Please do not hesitate to ask me any other details!
Comment 2 Danila Sentiabov 2009-09-11 10:40:11 UTC
I have exactly the same bug on one of my machines, but not on others.
The only difference is that on the first one openSUSE is installed from SUSE Studio LiveCD (already with 4.3.1), others were installed from install DVD or older SUSE Studio LiveCD (with 4.3.0), then upgraded to 4.3.1.
How can I see some error output from kxkb? It doesn't write anything to standard output (I've tried running kxkb --nofork from Konsole window).
Comment 3 Danila Sentiabov 2009-09-11 11:10:30 UTC
I've managed to get some debug output.
Startup log:
> kxkb(7972) XKBExtension::init: XKB inited
> kxkb(7972) X11Helper::registerForNewDeviceEvent: Registered for new device events from XInput, class 93
> kxkb(7972) KxkbConfig::load: Use kxkb true
> kxkb(7972) KxkbConfig::load: Indicator only false
> kxkb(7972) KxkbConfig::load: Model: "a4techKBS8"
> kxkb(7972) KxkbConfig::load:  added layout "us"
> kxkb(7972) KxkbConfig::load:  added layout "ru"
> kxkb(7972) KxkbConfig::load: Layout owner mode "WinClass"
> kxkb(7972) KxkbConfig::load: Xkb options: ("grp_led:scroll", "grp:rctrl_toggle")
> kxkb(7972) XKlavierAdaptor::loadXkbConfig: Setting LC_ALL for libxklavier:  "en_US.UTF-8"
> kxkb(7972) XKlavierAdaptor::loadXkbConfig: Xklavier initialized
> kxkb(7972) XKlavierAdaptor::loadXkbConfig: 83 total layouts 159 models
> kxkb(7972) XKBExtension::setLayoutGroups: executing "/usr/bin/setxkbmap -model a4techKBS8 -layout us,ru -variant , -option -option grp_led:scroll,grp:rctrl_toggle"
> kxkb(7972) KxkbCore::initKDEShortcut: kde shortcut ""
> kxkb(7972) X11Helper::getWindowClass: Got window class for  18874393 : ' "konsole" '
> kxkb(7972) X11Helper::getWindowClass: Got window class for  18874393 : ' "konsole" '
> kxkb(7972) LayoutMap::getCurrentLayoutQueue: Created queue for  "winclass: konsole"  size:  2
> kxkb(7972) LayoutMap::setCurrentLayout: map: Storing layout:  0  for  "winclass: konsole"
> kxkb(7972) KxkbCore::initTray: initing tray, visible: true
> kxkb(7972) KxkbWidget::setCurrentLayout: setting text:  "us"
> kxkb(7972) KxkbCore::x11EventFilter: got event: layouts changed
> kxkb(7972) KxkbCore::updateGroupsFromServer: updating groups from server
> kxkb(7972) XKlavierAdaptor::getGroupNames:  layout nm: "us" variant: ""
> kxkb(7972) XKlavierAdaptor::getGroupNames:  layout nm: "ru" variant: ""
> kxkb(7972) XKlavierAdaptor::getGroupNames:  option: grp_led:scroll
> kxkb(7972) XKlavierAdaptor::getGroupNames:  option: grp:rctrl_toggle
> kxkb(7972) KxkbCore::updateGroupsFromServer:  active group 0
> kxkb(7972) KxkbCore::updateGroupsFromServer:  no change in layouts
> kxkb(7972) X11Helper::getWindowClass: Got window class for  18874393 : ' "konsole" '
> kxkb(7972) LayoutMap::setCurrentLayout: map: Storing layout:  0  for  "winclass: konsole"
> kxkb(7972) KxkbWidget::setCurrentLayout: setting text:  "us"

While switching between layouts I get this:
> kxkb(7983) KxkbCore::x11EventFilter: got event: group changed to  1
> kxkb(7983) X11Helper::getWindowClass: Got window class for  18874393 : ' "konsole" '
> kxkb(7983) LayoutMap::setCurrentLayout: map: Storing layout:  1  for  "winclass: konsole"
> kxkb(7983) KxkbWidget::setCurrentLayout: setting text:  "ru"
> kxkb(7983) KxkbCore::x11EventFilter: got event: group changed to  0
> kxkb(7983) X11Helper::getWindowClass: Got window class for  18874393 : ' "konsole" '
> kxkb(7983) LayoutMap::setCurrentLayout: map: Storing layout:  0  for  "winclass: konsole"
> kxkb(7983) KxkbWidget::setCurrentLayout: setting text:  "us"

I see nothing wrong here...
Comment 4 Roman 2009-09-11 11:16:50 UTC
Hm.. my case was the same, I had SuSe 11.1 and upgraded it to KDE 4.3.1. At least it's somewhat reproducible.

Danila, with which icons do you have problems?
Comment 5 Danila Sentiabov 2009-09-11 18:49:36 UTC
I've had problems with USA (us) and something random I've selected to check, I think it was Andorra (ad).
Russia (ru) and Germany (de) worked ok.
Comment 6 Anne-Marie Mahfouf 2009-09-12 13:34:20 UTC
Created attachment 36889 [details]
KDE 3 branch, my context menu. 

Roman how does that relate to what you get? Did you ask Suse if they happen to have a problem here maybe?
We need a screenshot if not.
Thanks in advance for following up on this.
Comment 7 Roman 2009-10-10 04:36:03 UTC
Created attachment 37482 [details]
missing icons in system tray

Hi!

sorry, I've missed the update on this bug report. I have icons in context menu, only some icons in system tray are missing... See screenshot. I have done some investigation, since it's very annoying:( I do have all the missing icons. And it seems that only us and ua icons are missing... (tested several more) I have kde sources so I checked weather icons are get loaded. Seems they do. 

Do now know what else to do... Any ideas?

(recently I updated KDE to 4.3.1 release 169 but it has not helped)

Regards.
Comment 8 Roman 2009-10-10 14:05:07 UTC
I've done some more googling. Seems there are a lot of people having this issue.

It seems to be connected with... intel driver.

See http://forum.kde.org/viewtopic.php?f=63&t=82460&sid=2bbf124fc29b2aad168ef57f98fa9e8c .

Adding an apha channel to the png file solves the problem.

Flags are in /usr/share/locale/l10n/<country code>/flag.png.

I wonder which package provides these files?

Should we submit this bug to intel driver developers?

Regards,

Roman
Comment 9 Danila Sentiabov 2009-10-10 22:53:35 UTC
It really looks like Intel problem. The machine I have this problem on has Intel integrated graphics while others all have NVIDIA (and don't have any trouble showing keyboard layouts in tray).
Comment 10 Roman 2009-10-10 23:03:55 UTC
(In reply to comment #9)
> It really looks like Intel problem. The machine I have this problem on has
> Intel integrated graphics while others all have NVIDIA (and don't have any
> trouble showing keyboard layouts in tray).

Danila,

can you please report your distribution, driver version and X server version,
graphic card model and settings in xorg.conf file in Device section.

I want to gather this information and submit bug to intel.

If you are interested, I use

openSuSE 11.1
KDE 4.3.1
intel driver 2.5.0
Xorg 7.4
Graphic card:
#:lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 0e)

Device Section from xorg.conf
Section "Device"
  BoardName    "915 G"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "AccelMethod" "EXA"
  Option       "MigrationHeuristic" "greedy"
  Screen       0
  VendorName   "Intel"
EndSection

Regards,

Roman
Comment 11 Danila Sentiabov 2009-10-10 23:25:08 UTC
I'm sorry, but I can't because I've got rid of that machine already.
If I somehow acquire another Intel machine, I'll report my results.
Comment 12 Roman 2009-10-11 15:59:21 UTC
One more and hope the last update on it.

I've updated my system to openSuSE 11.2 Milestone 8. It contains the latest intel driver 2.9, Xorg 7.4 and 2.6.31 kernel.

All the icons either with or without alpha channel are visible!

Regards.