Guest, Monday 14 March 2011 à 12:39
|
|
|
Hi,
I have installed the keyboard-indicator-applet from the Ubuntu Maverick repos. Not to use any other keyboard layout than the German one, but to have an indicator for CapsLock and NumLock. Unfortunately, these indicators are not very reliable. When I push the NumLock key, the respective indicator will show up in the applet, but after some minutes, it disappears. Some Minutes later, it reappears without any action from my side.
How can I have these indicators shown up permanently, while the respective locks are active?
Thanks
Heiner |
matttbe, Monday 14 March 2011 à 15:26
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hi,
I have installed the keyboard-indicator-applet from the Ubuntu Maverick repos Is it the Keyboard indicator applet of Cairo-Dock? Or another one? Because the bug seems strange |
Subscription date : 30 November 2007
Messages : 17118
|
does it seem to depend on the window you are currently using ? |
Guest, Monday 14 March 2011 à 19:53
|
|
|
@matttbe:
Yes, it's the applet shipped with Ubuntu Maverick (keyboard indicator v1.1.2 by Fabounet).
@fabounet
No, it seems to happen by accident. While I am writing these lines, it has switched again. |
matttbe, Tuesday 15 March 2011 à 09:32
|
|
Subscription date : 24 January 2009
Messages : 12573
|
OK. Maybe when you start writing something or when you press a keystroke or two at the same time? |
Guest, Tuesday 15 March 2011 à 21:05
|
|
|
No, sorry! There's no obvious reason. It also doesn't show the NumLock-State, although it it activated at startup. I first have to switch it off, and the on again. After that, it shows up - at least for a little while.
Heiner |
matttbe, Tuesday 15 March 2011 à 23:57
|
|
Subscription date : 24 January 2009
Messages : 12573
|
In fact, this applet only uses a external library (libxklavier) and it's (certainly) a problem with it. But it's very strange that there's no obvious reason... Maybe always the same timing? |
fabounet, Wednesday 16 March 2011 à 12:19
|
|
Subscription date : 30 November 2007
Messages : 17118
|
would it be possible to run the dock with
cairo-dock -l debug
and then post the latest lines here when the problem occurs ? thanks. |
Guest, Wednesday 16 March 2011 à 19:40
|
|
|
Ok, I've just detected a reproducable behaviour: I have a GNOME panel on the top of my desktop and GLX-Dock at the bottom. In the GNOME panel, I have installed the "Ubuntu System Panel" applet (a special menu). As soon as I click this menu, the NumLock indicator will disappear. This doesn't happen with the default Ubuntu menu.
The debug output is:
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/keyboard-indicator/src/applet-xklavier.c:cd_xkbd_keyboard_state_changed:111)
But in fact, the keyboard state hasn't changed.
Heiner |
Guest, Wednesday 16 March 2011 à 20:13
|
|
|
Sorry, now I can't reproduce this behaviour anymore. Instead, the indicator disappears as soon as I click on the Cairo Clock (desklet mode). When I click on the Cairo Clock again, it will reappear.
Here are the last few debug lines:
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/keyboard-indicator/src/applet-xklavier.c:cd_xkbd_keyboard_state_changed:85)
cd_xkbd_keyboard_state_changed (window:75498286)
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/keyboard-indicator/src/applet-xklavier.c:cd_xkbd_keyboard_state_changed:111)
group : 0 -> 0 ; indic : 0 -> 0
message : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/switcher/src/applet-draw.c:cd_switcher_draw_main_icon:424)
cd_switcher_draw_main_icon (0)
debug : (/build/buildd/cairo-dock-2.2.0~4/src/gldit/cairo-dock-dialog-factory.c:cairo_dock_free_dialog:575)
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/switcher/src/applet-notifications.c:on_window_configured:425)
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/keyboard-indicator/src/applet-xklavier.c:cd_xkbd_keyboard_state_changed:85)
cd_xkbd_keyboard_state_changed (window:75497516)
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/keyboard-indicator/src/applet-xklavier.c:cd_xkbd_keyboard_state_changed:111)
group : 0 -> 0 ; indic : 0 -> 0
message : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/switcher/src/applet-draw.c:cd_switcher_draw_main_icon:424)
cd_switcher_draw_main_icon (0)
debug : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/switcher/src/applet-notifications.c:on_window_configured:425)
message : (/build/buildd/cairo-dock-plug-ins-2.2.0~4/switcher/src/applet-draw.c:cd_switcher_draw_main_icon:424)
cd_switcher_draw_main_icon (0)
Heiner |
Subscription date : 30 November 2007
Messages : 17118
|
well, the applet detects the change of window, but libxklavier returns 0 (so, no NumLock indicator)
I think this is a bug in libxklavier (obviously, we shouldn't get 0)
does the CapsLock indicator works correctly ?
what is the output when you do the same test with CapsLock activated ?
thanks |
|