Activity log for bug #1315867

Date Who What changed Old value New value Message
2014-05-04 13:04:21 Alkis Georgopoulos bug added bug
2014-05-04 13:04:21 Alkis Georgopoulos attachment added dont_strip_grp.patch https://bugs.launchpad.net/bugs/1315867/+attachment/4104866/+files/dont_strip_grp.patch
2014-05-04 13:04:41 Alkis Georgopoulos bug task added gnome-settings-daemon (Ubuntu)
2014-05-04 13:06:44 Alkis Georgopoulos bug added subscriber William Hua
2014-05-04 16:23:27 Ubuntu Foundations Team Bug Bot tags patch
2014-05-05 02:12:20 William Hua branch linked lp:~attente/compiz/grab-any-modifier
2014-05-05 02:12:44 William Hua branch linked lp:~attente/unity/grab-any-modifier
2014-05-05 02:13:18 William Hua branch linked lp:~attente/unity-settings-daemon/iso-next-group
2014-05-05 02:13:38 William Hua branch linked lp:~attente/unity-control-center/iso-next-group
2014-05-07 11:43:40 Alkis Georgopoulos description unity-settings-daemon => gsd-keyboard-manager.c has an Ubuntu specific patch that strips the grp: part in XKB options: if (n_sources < 2 || g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity") == 0) strip_xkb_option (options, "grp:"); The original upstream source code is: if (n_sources < 2) strip_xkb_option (options, "grp:"); That causes a problem: we're no longer able to type e.g. Greek in TuxPaint, because TuxPaint grabs the keyboard layout, and u-s-d then doesn't see the layout switching shortcut. But: if we do revert only that line of the source code to what's in upstream, then we get another problem: that the XKB-defined layout switching shortcut (e.g. Alt+Shift) doesn't update the keyboard indicator in the panel, only the GNOME-defined shortcut (e.g. Win+Space) does. To solve this, I think u-s-d needs to handle ISO_Next_Group. I don't know if that part exists upstream, but I do know that it works fine in Fedora 20. After solving this bug, a tiny issue will remain: that Alt+Shift inside keyb-grabbing applications won't update the keyboard indicator. Upstream GNOME doesn't want patches for that and may try to solve it in SDL, but the other 2 issues described above ^ are Ubuntu-specific. unity-settings-daemon => gsd-keyboard-manager.c has an Ubuntu specific patch that strips the grp: part in XKB options:         if (n_sources < 2 || g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity") == 0)                 strip_xkb_option (options, "grp:"); The original upstream source code is:         if (n_sources < 2)                 strip_xkb_option (options, "grp:"); That causes a problem: we're no longer able to type e.g. Greek in TuxPaint, because TuxPaint grabs the keyboard, and u-s-d then doesn't see the layout switching shortcut. But: if we do revert only that line of the source code to what's in upstream, then we get another problem: that the XKB-defined layout switching shortcut (e.g. Alt+Shift) doesn't update the keyboard indicator in the panel, only the GNOME-defined shortcut (e.g. Win+Space) does. To solve this, I think u-s-d needs to handle ISO_Next_Group. I don't know if that part exists upstream, but I do know that it works fine in Fedora 20. After solving this bug, a tiny issue will remain: that Alt+Shift inside keyboard-grabbing applications won't update the keyboard indicator. Upstream GNOME doesn't want patches for that and may try to solve it in SDL, but the other 2 issues described above ^ are Ubuntu-specific.
2014-09-23 03:24:59 Robert Ancell affects unity-settings-daemon unity-settings-daemon (Ubuntu)