Cairo-dock is unable to get CAPS Lock and NumLck values

Bug #476842 reported by Romain
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
Fix Released
Undecided
Matthieu Baerts
cairo-dock-plug-ins (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi
Cairo-dock "Keyboard Indicator" plugin should print out CAPS Lock and NumLck values but it never worked on my Laptop (Sony VGN-FW21E)
See below cairo-dock debug when I activate or disable one of the both keys:
-------------
debug : (applet-xklavier.c:cd_xkbd_keyboard_state_changed:79)
cd_xkbd_keyboard_state_changed (window:75497788)
debug : (applet-xklavier.c:cd_xkbd_keyboard_state_changed:97)
group : 0 -> 0 ; indic : 0 -> 0
-------------

Cairo-dock developers says this is a libxklavier issue
I'm now running Ubuntu Karmic 64, libxklavier15 version 4.0-0ubuntu5 and cairo-dock from ppa:cairo-dock-team/weekly

Thanks

ProblemType: Bug
Architecture: amd64
Date: Fri Nov 6 20:34:41 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: libxklavier15 4.0-0ubuntu5
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: libxklavier
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Romain (perolrom) wrote :
summary: - Cairo-dock is unable to get CAPS Lock and NumLck value using
- libxklavier15 on my Laptop
+ Cairo-dock is unable to get CAPS Lock and NumLck values
Fabounet (fabounet03)
Changed in cairo-dock-plug-ins:
status: New → Confirmed
Revision history for this message
Fabounet (fabounet03) wrote :

I can add that on my PC (tower), the group and indicator have correct values for CAPS lock and NUM lock, except on startup.
the problem seems more frequent with laptops.

the group and indic are simply got by using xkl_engine_get_state().
the debug (group : 0 -> 0 ; indic : 0 -> 0) shows the previous values and the current one after an XKLAVIER_STATE event came from X, we can see that they are identical.

Revision history for this message
Fabounet (fabounet03) wrote :

up on this bug.
Moreover an user has got some weird numbers using xkl_engine_get_state() : the fields "group" and "indicator" had values like 948053481.
Thanks to pay attention to these bugs in libxklavier.

Changed in libxklavier (Ubuntu):
status: New → Invalid
Changed in cairo-dock-plug-ins:
status: Confirmed → Fix Released
no longer affects: libxklavier (Ubuntu)
Changed in cairo-dock-plug-ins:
assignee: nobody → Matthieu Baerts (matttbe)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cairo-dock-plug-ins - 3.3.0-0ubuntu1

---------------
cairo-dock-plug-ins (3.3.0-0ubuntu1) saucy; urgency=low

  * New upstream release.
  * Detailed Upstream ChangeLog (beta 2 -> release)
    - Dbus: don't notify of startup if the applet is already controling a
      window
    - Dialogs: tooltip view: fixed the position of the widget inside the
      dialog when it's placed on top of the screen
    - Folder: watch for drop events onto the docks only
    - GMenu:
      - Apps: set the desktop environment to correctly exclude apps
      - Search: When there is no result, display 'Launch this command'
      - Search: launch app: do not restrict to the left click
      - Search: match: display name: locate a substring instead of compare
        the first chars
    - Indicator-Generic: forced the 'data' to be a GldiModuleInstance
    - logout: select shutdown menu item: do not create a list and iter all
      menu items, just save the pointer
    - Messaging Menu: Indicator3: detach the icon at startup: the icon is
      inserted when the entry will be added
    - Messaging Menu: with old versions of libindicator: fixed tiny memory
      leaks
    - po: updated translations
    - Switcher: correctly update the icon by listening more signals
    - Switcher: fixed the drawing of the desktop name in the desklet when
      it's larger than the desklet
    - Terminal: when dropped something in the terminal, take the data and
      not only the text + give the focus just after
    - All: menu functions have been renamed in libgldi
    - All: remove useless g_print
  * Some bugs have been fixed:
    - logout: UPower: invalid fastbin entry LP: #1212981
    - logout: Use logind for suspend/hibernate/poweroff/reboot LP: #1175810
    - keyboard: cairo-dock crashes on keyboard layout swtcher LP: #668061
    - keyboard: Cairo-dock is unable to get CAPS Lock and NumLck values
      LP: #476842
    - quick-browser: Error Message LP: #660261
    - recent-events: Move from zeitgeist-1.0 to zeitgeist-2.0 LP: #1197569
  * debian/control: bumped Cairo-Dock (core) version
 -- Matthieu Baerts (matttbe) <email address hidden> Fri, 04 Oct 2013 15:11:09 +0200

Changed in cairo-dock-plug-ins (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.