← Back to team overview

desktop-packages team mailing list archive

[Bug 1247668] Re: NumLock turned off on layout switch

 

would regress commit

commit c7634498d4cd42c8571805122224dc2d0e44a585
Author: Daniel Stone <daniel@xxxxxxxxxxxxx>
Date:   Tue May 3 02:59:53 2011 +0100

    XKB: Remove duplicate keymap-copying loop
    
    Previously we had:
        foreach (device + slaves of device) {
            XkbCopyDeviceKeymap(i, device);
            [...]
        }
        if (device was last slave of its MD) {
            XkbCopyDeviceKeymap(master, device);
        }
    and now:
        foreach (device + slaves of device + MD if device was last slave) {
            XkbCopyDeviceKeymap(i, device);
            [...]
        }
    
    As an extra bonus, when changing the keymap on a slave device, we now
    ensure the LED info on the master is kept in sync.
    
    Signed-off-by: Daniel Stone <daniel@xxxxxxxxxxxxx>
    Reviewed-by: Peter Hutterer <peter.hutterer@xxxxxxxxx>

so, say you have another keyboard attached (laptop docked, etc), numlock
status is synced with both

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1247668

Title:
  NumLock turned off on layout switch

Status in X.Org X server:
  Confirmed
Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  Extracting from bug 1218322, confirmed there by multiple users:

  When switching the keyboard layout using a shortcut (such as
  Alt+Shift), NumLock functionality is (mostly) turned off.  More
  precisely: it goes into an inconsistent state where pressing numpad 5
  inserts the digit 5, but the other numpad keys move the cursor.
  Pressing the NumLock key turns it off completely (pressing numpad 5 no
  longer does anything), and pressing once again turns it on.

  This means that if someone prefers to have the NumLock functionality
  switched on all the time, they have to press the NumLock key twice
  after each layout change. I find this a huge usability problem.

  (I don't have a LED, so I cannot tell how that one is lit.)

  The bug is not present when changing the layout via the indicator
  applet.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-settings-daemon 3.8.5-0ubuntu11.1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Nov  3 21:54:37 2013
  InstallationDate: Installed on 2012-05-30 (522 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  MarkForUpload: True
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: Upgraded to saucy on 2013-10-12 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1247668/+subscriptions