[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2018-06-08 Thread Bug Watch Updater
** Bug watch added: GNOME Bug Tracker #786257
   https://bugzilla.gnome.org/show_bug.cgi?id=786257

** Bug watch added: Debian Bug tracker #891915
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891915

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2018-06-08 Thread Alon Bar-Lev
Created attachment 126753
xorg-server-1.18.4-xkb-switch-on-release.patch

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2018-06-08 Thread Alon Bar-Lev
Created attachment 126752
xorg-server-1.18.4-xkb-switch-on-release.patch

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2018-04-07 Thread Norbert
Dear all!

I have created PPA ( https://launchpad.net/~nrbrtx/+archive/ubuntu/xorg-
hotkeys ) with patched packages for Ubuntu 16.04 LTS (xenial, with HWE)
and Ubuntu 18.04 LTS (bionic).

You can test them by the following commands:

sudo add-apt-repository ppa:nrbrtx/xorg-hotkeys
sudo apt-get update
sudo apt-get dist-upgrade

Hope this helps.


** Tags added: artful bionic trusty xenial

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-10-14 Thread Bug Watch Updater
** Changed in: xorg-server
   Status: Won't Fix => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-10-13 Thread Bug Watch Updater
** Changed in: xorg-server
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-08-16 Thread Artem Kovalov
Applying a patch indicated tlk saved my day. Hope some day this issue
will be resolved forever.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-04-17 Thread Lastique
Since this bug is marked as resolved for xorg-server, I've created a new
one: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1683383.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-04-15 Thread tlk
I see the patch's been dropped for zesty

changelog.Debian for xserver-xorg-core says:
xorg-server (2:1.19.3-1ubuntu1) zesty; urgency=medium
  * 208_switch_on_release.diff: Dropped, doesn't work with 1.19.

There's a new patch posted to the corresponding bug on freedesktop
https://bugs.freedesktop.org/show_bug.cgi?id=865 (attachment:
https://bugs.freedesktop.org/attachment.cgi?id=129861) which is
supposedly compatible with 1.19

Could someone look at it please?
Vanilla behavior for those who used to switching input layout with something 
like Ctrl-Shift is really annoying.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2017-04-15 Thread tlk
I'v just installed Ubuntu Mate 17.04 and this patch doesn't appear to work 
anymore - suspect it's because Xorg has moved from evdev to libinput for 
handling the issue of input.
Really would like to bring the old behavior back. If anyone knows of a solution 
I'd be grateful if you point me at it.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2016-04-05 Thread StingX
Created attachment 122717
xorg-server-1.18.3-xkb-switch-on-release.patch

Here is the patch from ubuntu, that can be merged into the current
debian sid version of xorg-server (1.18.3-1).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2016-03-29 Thread Oded Arbel
@orange-buffalo: the problem you describe is not this bug - its a
problem with GNOME itself. This report is about the Xserver bug that was
fixed by Ubuntu (though not in Xorg itself, so it is still evident in
non-Ubuntu operating system).

For the GNOME shell bug, check this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1091631


** Bug watch added: Red Hat Bugzilla #1091631
   https://bugzilla.redhat.com/show_bug.cgi?id=1091631

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2016-03-29 Thread orange-buffalo
This bug is still reproducible on Ubuntu 15.10 with GNOME Shell 3.16.4

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2015-07-25 Thread Oded Arbel
Currently, Alon Bar-Lev's patch (xorg-server-1.12.2-xkb-switch-on-
release.patch) applies cleanly against Xorg 1.17.2 from Fedora 22, but
apparently has no effect - with `setxkbmap -print` output like this:

xkb_keymap {
xkb_keycodes  { include evdev+aliases(qwerty) };
xkb_types { include complete  };
xkb_compat{ include complete+ledscroll(group_lock)};
xkb_symbols   { include 
pc+us+il(lyx):2+us:3+inet(evdev)+group(alt_shift_toggle)  };
xkb_geometry  { include pc(pc105) };
};

Holding ALT+SHIFT (without releasing) immediately changes the layout.

I've build a copr package for this that can be found in copr under
guss77/xorg-patches, if you want to test drive.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2015-07-25 Thread Oded Arbel
(In reply to Oded Arbel from comment #135)
 Currently, Alon Bar-Lev's patch
 (xorg-server-1.12.2-xkb-switch-on-release.patch) applies cleanly against
 Xorg 1.17.2 from Fedora 22, but apparently has no effect

ּsorry, my bad - I was mistaken. Apparently the problem has something to
do with GNOME's new layout switching handling. If I set Modifiers-only
switch to next source to Disabled in the keyboard shortcut editor,
then run

setxkbmap -option grp:switch,grp:alt_shift_toggle

Everything works fine with the patch.

So, we actually have two problems now, with layout switching kicking on
on release - both the broken XKB protocol and the broken GNOME handling
of modifier-only layout switching.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2015-01-02 Thread Mathew Hodson
** Package changed: control-center (Ubuntu) = gnome-control-center
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-10-04 Thread Adam Purkrt
Perhaps easier variant of the above workaround pertaining Alt+Shift is
to comment out the following (eight) lines in
/usr/share/X11/xkb/symbols/group

first change (search for lalt_lshift):

partial modifier_keys
xkb_symbols lalt_lshift_toggle {
virtual_modifiers Alt;
key LALT {
symbols[Group1] = [ NoSymbol, ISO_Next_Group ],
virtualMods= Alt
};
//key LFSH {
//type[Group1]=PC_ALT_LEVEL2,
//symbols[Group1] = [ Shift_L, ISO_Next_Group ]
//};
};


second change (~15 lines below):

partial modifier_keys
xkb_symbols ralt_rshift_toggle {
virtual_modifiers Alt;
key RALT {
symbols[Group1] = [ NoSymbol, ISO_Next_Group ],
virtualMods= Alt
};
//key RTSH {
//type[Group1]=PC_ALT_LEVEL2,
//symbols[Group1] = [ Shift_R, ISO_Next_Group ]
//};
};



then load the keymap, in my case

$ setxkbmap us,cz -option grp:alt_shift_toggle

or set it through gui (Change layout option=Alt+Shift in XFCE), or just
restart X server if you've already done so


Now shift+left alt (*in that order*, i.e. first press and hold any shift, 
then press left alt) switches keyboard layout

alt+shift (first alt, then shift) works as a modifier (i.e.
shortcuts work), and does nothing in itself

alt+shift+tab works as it should


It would be nice to actually have a separate rule for this - titled 
Shift+LAlt, available with -grp:shift_lalt_toggle, but unfortunatelly I don't 
know how to modify the rules files..

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-09-10 Thread Adam Purkrt
Found partial workaround today.

It _is_ possible to setup xkb so that the group (i.e. layout) switch
occurs on Shift+Alt (which means press and hold Shift, then press
Alt - order matters) - and still Alt+Shift+something (first alt,
then shift, then something) shortcuts work. All this without the need to
recompile xserver.

Here's what I did:

$ setxkbmap us,cz
(just load the layouts I want to the server, switching not working yet)
$ xkbcomp $DISPLAY xkbdesc
(list the xkb description from server to a file named xkbdesc)


Now two little changes to xkbdesc:

change1:

 key LALT { [   Alt_L,  Meta_L ] };
to
 key LALT { [   Alt_L,  ISO_Next_Group ] };


change2:

  key RALT {
  type[group1]= TWO_LEVEL,
 type[group2]= ONE_LEVEL,
 symbols[Group1]= [   Alt_R,  Meta_R ],
 symbols[Group2]= [ ISO_Level3_Shift ]
  };
to
  key RALT {
  type[group1]= TWO_LEVEL,
 type[group2]= TWO_LEVEL,
 symbols[Group1]= [   Alt_R,  ISO_Next_Group ],
 symbols[Group2]= [ ISO_Level3_Shift, ISO_Next_Group ]
  };


then
$ xkbcomp xkbdesc $DISPLAY
(load kbdesc to the server; ignore the warnings)

and voila! Shift+Alt (in that order) switches us-cz keyboard and
Alt+Shift+Tab works like it should.

I was actually quite surprised when I found this.

PS: Next time you start X, you can do just the last step, supposed you
keep the xkbdesc file.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-09-07 Thread Adam Purkrt
xkb should be extended to be able to recognize a sequence of key presses
and key releases and fire action upon it. Again, this would be an
extension, not a violation of current standard.

Currently, the group switching is defined in
/usr/share/X11/xkb/symbols/group with parts like

partial modifier_keys
xkb_symbols lalt_lshift_toggle {
virtual_modifiers Alt;
key LALT {
symbols[Group1] = [ NoSymbol, ISO_Next_Group ],
virtualMods= Alt
};
key LFSH {
type[Group1]=PC_ALT_LEVEL2,
symbols[Group1] = [ Shift_L, ISO_Next_Group ]
};
};

The following is what this part of the file would look like after
appropiate changes in xkb code:

xkb_sequences lalt_lshift_toggle {
sequence { keydown LALT, keydown LFSH, keyup LFSH } = ISO_Next_Group;
sequence { keydown LFSH, keydown LALT, keyup LALT } = ISO_Next_Group;
}


For this to work
1) http://www.x.org/docs/XKB/XKBproto.pdf need to be extended with a small 
chapter
2) http://cgit.freedesktop.org/xorg/xserver/tree/xkb - code the run time check 
for sequences; changes to xkm format required
3) http://cgit.freedesktop.org/xorg/app/xkbcomp/tree/ - code the parsing of 
xkb_sequences, keydown, and keyup keywords


At least this is my impression after a day of investigation. I know this seems 
like unnecessarily big change compared to Ilya's patch. But, basically, that is 
what I mean by clean solution. Unfortunatelly, it is more of a dream 
solution, since I feel I will hardly be able to code this..

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-09-07 Thread Wettstae
Allowing arbitrary sequences to decide which action to take would
certainly be powerful, but quite some effort, also for specification
(think about multiple matching sequences).

In comment #117 I suggested an extension to the specification that is
restricted to the enhancement request at hand.  But even this change
would need a protocol bump. This is where this proposal is stuck.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-09-06 Thread Adam Purkrt
As far as I can tell, it is already clear that XKB specifications needs
to be extended for this to be cleanly solved. While Ilya's hack works
for many people, and as much as I would like to see this fixed, I
understand why it is unacceptable to the developers. So, trying to delve
into XKB specs now; this page seems to be a good starting point to me:

https://wiki.archlinux.org/index.php/X_KeyBoard_extension


Also (as suggested by the author), copying info here from 
https://bugzilla.redhat.com/show_bug.cgi?id=660254 


Peter Hutterer 2011-01-05 22:07:57 EST

there is two problems with the tiny patch you mentioned. one, it's an
_explicit_ violation of the XKB specification (see section 4.4). two,
implementing this behaviour requires guesswork that I'm not sure is safe
in a number of setups.


Peter Hutterer 2011-01-06 17:12:05 EST

(In reply to comment #4)
 But: doesn't fixing of a huge problem have a priority over preservation of a
 holy spec?

it's a matter of figuring out the side-effects. a specification is a behaviour 
promise, in this case in place for 15 years or so. a lot of users and apps rely 
on the promised behaviour (in general, not necessarily this specific issue) and 
breaking it is a dangerous thing because you may not know what else you break.
this is why we're hesitant to break the behaviour on purpose.

note that i'm not claiming that there is no problem, i'm just saying
it's the balance between a known problem and introducing new bugs that
potentially break current applications.

  two,
  implementing this behaviour requires guesswork that I'm not sure is safe in 
  a
  number of setups.
 
 What guesswork do you mean?  Which setups can present problems?
 BTW, I'm 100% sure that Ilya Murav'jev (patch author) will be glad to
 cooperate.

afaict, the desired behaviour for a ctrl+shift groupchange is:
ctrl down → set Control modifier
shift down → set Shift modifier
if (other key pressed)
   send event Contrl+Shift+other key
else if (ctrl || shift released)
   change group

The XKB map for left control in this case is:
key LCTL { [   Control_L,  ISO_Next_Group ] };
So whenever ISO_Next_Group is pressed, you still need to know which modifier to 
set in case the group action isn't executed. The XkbSA_SetMod, XkbSA_LockMod, 
etc. actions provide the modifiers set for a given key, hence why it works 
currently. This information comes from the client when the xkb map is loaded 
and is used to trigger the modifier flags for a given key. The XkbSA_LockGroup 
behaviour (which is triggered at ISO_Next_Group) does not have this field 
(adding it would break ABI), so you need to guess which modifiers to set if you 
didn't trigger this action. This is the main stumbling point that I found and 
if you look at Ilya's patch that's where he needs the big hack that I'm not 
comfortable at all with it.

Now, I don't know if there are layouts where the modifier mask would be
different on the second level as opposed to the first (and Ilya's hack
or a similar attempt would fail completely) but there's so many layouts
that it'll take a while to get through them all.

 And leaving the design bug because of purist reason looks really
strange...

there's two-ish ppl working on input at them moment, both are badly
overloaded because there's a lot of bugs and plenty new features that
ppl cry out for. so this bug has less to do with purist reasons, it's
more along the lines of i've got so many things to do that don't break
the spec, they get priority.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2014-09-06 Thread Oded Arbel
(In reply to comment #129)
 As far as I can tell, it is already clear that XKB specifications needs to
 be extended for this to be cleanly solved. While Ilya's hack works for many
 people, and as much as I would like to see this fixed, I understand why it
 is unacceptable to the developers.
...
 there's two-ish ppl working on input at them moment, both are badly
 overloaded because there's a lot of bugs and plenty new features that ppl
 cry out for. so this bug has less to do with purist reasons, it's more along
 the lines of i've got so many things to do that don't break the spec, they
 get priority.

So I understand that this issue is currently not worked on by Xorg
developers.

Priorities are a good thing, and I'm currently comfortable with the
pragmatic approach of the downstream distributions applying Ilya's patch
in their packages (which works fine for a lot of happy users who have
reported as such - I have yet to hear a report where Ilya's patch is not
improving behavior for multi-language users).

Still:

1) Its a good idea to have the pragmatic patch set maintained in this
bug report - even if it will never be applied to upstream Xorg, simply
as a central point for downstream distributors to get access to a
reasonable workaround until a correct solution is available.

2) It will be a real shame if this issue, that is actively discussed by
the community for 10 years now and is hurting a lot of users, will be
ignored for another 10 years. In the mean time XKB2 - that was supposed
to be the solution to all our problems - was relegated from being
worked on to being thought on to being dreamed of (around 2010) and
now appears to have fallen to the status of it will never be important
enough.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-02-02 Thread Brain
any news here?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2014-02-02 Thread Murz
Igor Gnatenko, I partly solve my problem via KSuperKey app 
http://kde-apps.org/content/show.php?content=154569
so maybe it solve your needs too.

But I also waiting fix for this issue in xkb.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-12-04 Thread Lisio
Ubuntu 13.10 has exactly the same bug.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-12-04 Thread Volodya
Ubuntu 13.10 does not work. Willing to help by providing any requested
information

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-11-30 Thread Oded Arbel
This issue is still solved for me - test if the fix still works by
holding slowly ALT then SHIFT then some letter key, then release all one
by one - if the keyboard layout has not changed, then the issue is still
resolved.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-11-29 Thread Levan Chelidze
It stooped working again

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-11-02 Thread Constantine
Appears again in Ubuntu 13.10

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2013-04-28 Thread Headcrabextra
I've just installed OpenSuse 12.3 and met face to face with this bug.
Very frustrating, because of it I can't open last closed tab in chromium
with ctrl+shift+t.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2013-04-11 Thread Nicola Koshak
It is xorg-server 1.14, year 2013, and the bug still exists.

Do something with it already...

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2013-04-11 Thread Eugene Shalygin
I wonder, bearing in mind the fact that Ubuntu has the patch for the
problem, will Mir be the first Linux display server which implemet this
feature? :)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2013-04-11 Thread T-artem
(In reply to comment #124)
 I wonder, bearing in mind the fact that Ubuntu has the patch for the
 problem, will Mir be the first Linux display server which implement this
 feature? :)

You've wandered far off.

Both Mir and Wayland have a completely different input architecture -
they simply don't have this problem from the very beginning.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-02-05 Thread Ilya Murav'jov
 My English is bad. So can I e-mail you details in Russian?
Ok, but I am far away from playing with Xorg now.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-02-05 Thread Ilya Murav'jov
 Just my 0.02 cents. Why not to introduce transaction concept for key 
 presses?
You just go too far. Xorg developers don't apply the patch because _any_ such 
events should be sent on press, not on release. Because X specifications tell 
so and they will be broken down  otherwise.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-02-05 Thread Ilya Murav'jov
And if X specifications are broken down then some applications may be
potentionally broken down.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-01-24 Thread anatoly techtonik
Just my 0.02 cents. Why not to introduce transaction concept for key
presses?

1. Transaction is finished when the last key is released
2. The returned result from the transaction is the sequence of keys pressed

This should solve all [Alt, Shift] problems.

Example:
  user presses Alt key
  user presses Shift key and releases it
  user presses Shift key
  user releases Alt key
  user releases Shift key

The returned sequence is [Alt, Shift, Shift]

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-01-15 Thread Denis Zhdanov
For example, if I press a key (letter, backspace or other) and then layout 
switch combination without half second pause between, then layout wont be 
changed.
To switch between layouts I use caps/shift+caps combination. It's not a 
modifier only combination, but still affected by 208_switch_on_release.diff 
patch. In Windows even alt+shift combination work perfectly.

My English is bad. So can I e-mail you details in Russian?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-01-12 Thread Ilya Murav'jov
Denis,
What do you mean that key-on-release behavior is unreliable while typing? 
Please describe.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-01-12 Thread Evgeny Kolesnikov
Typing so fast that keys release events happen in different order than
press events? Typing with chords?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2013-01-09 Thread Denis Zhdanov
I have to recompile xorg-server on ubuntu because of this patch. It may
be useful for layout switching with only modifier keys, but key-on-
release behavior is unreliable while typing.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-11-06 Thread Nick Andrik
Just to add something as a reply on comment #114:

Ubuntu has applied this patch already since 06 Jan 2011 all versions
till nowadays, as you can see in the changelogs here:

http://packages.ubuntu.com/quantal/xserver-xorg-core
Select Ubuntu Changellog and then search for 208_switch_on_release.diff.

Even after almost two years, there has been noone to file a bug report
that this change breaks anything. I believe this is quite a good
indication that Ilya's patch is already safe enough.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Wettstein509
Created attachment 69198
LockMods can lock another group

This patch follows a different route: It extends modifier locking,
rather than changing how group lock works. Extending has the advantage
that the previous behaviour is maintained, and the patch does not
violate the X Keyboard Protocol Specification.  Extending modifier
locking rather than group locking has the advantage that we do not need
the Kludge of the other patch, as we can pass the modifiers that we
want to set, rather then relying on heuristics.

The disadvantage over the existing patch is that we must change the
keymap.

Here are three examples.  The left alt key is to switch to the next
layout when it is pressed and released before any other key is pressed.

key LALT {
repeat= No,
type= TWO_LEVEL,
symbols[Group1]= [   Alt_L,  Meta_L ],
actions[Group1]= [ 
Private(type=3,data[0]=1,data[1]=8,data[2]=8,data[3]=0,data[4]=0,data[5]=0,data[6]=1),
   
Private(type=3,data[0]=1,data[1]=8,data[2]=8,data[3]=0,data[4]=0,data[5]=0,data[6]=1)
 ]
};

Similarly, shifting group with Shift+Right Alt (where Shift is pressed
first):

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Ilya Murav'jov
(In reply to comment #115)
  It shouldn't work like that - I've tested the Ubuntu built X.org (with
  Ilya's patch) and it worked properly when using CTRL+ALT as the keyboard
  switching. It was immediately after the patch got accepted (at 11.04) but as
  ALT+SHIFT still works fine, I don't see a reason everything shouldn't
  continue to work (though I don't have access to an Ubuntu machine ATM to
  test).
 
 Oded Arbel, I repeat: Ctrl OR Alt. OR, not AND. I use right Alt for layout
 switching so I can't use it for any other purpose.

Hi,
Actually, the patch works for key shortcuts with two or more buttons (like 
ALT+SHIFT, but not Alt or Ctrl alone). It is not done intentionally.

Despite the fact that there is a possibility to improve current patch behaviour 
for needs like yours I don't think it should be improved for all possible cases 
- 
there are many other things to be done to make the world a better place.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Wettstein509
 Is this mean your patch won't work when Alt (or Ctrl) is pressed before
 Shift?

It does not mean that.  I just restricted to three examples.  There is
no problem to rewrite all options that xkeyboard-config offers to switch
groups to take advantage of the patch.

 AFAIK most people press Ctrl, then Shift, then either release them (to
 switch layout) or press A-Z when they need Ctrl-Shift-something hotkey.

In this case, one needs to remap the shift key. For the left shift key:

key LFSH {
repeat= No,
type[Group1]=PC_CONTROL_LEVEL2,
symbols[Group1]= [ Shift_L, Shift_L ],
actions[Group1]= [ SetMods(modifiers=Shift),
   
Private(type=3,data[0]=1,data[1]=1,data[2]=1,data[3]=0,data[4]=0,data[5]=0,data[6]=1)
 ]
};

For the right shift key it works similarly. If combined with the third
example above, it will make the order of Shift and Control irrelevant.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Wettstein509
Similarly, shifting group with Shift+Right Alt (where Shift is pressed
first):

  key RALT {
repeat= No,
type= TWO_LEVEL,
symbols[Group1]= [   Alt_R,  Meta_R ],
actions[Group1]= [ SetMods(modifiers=Mod1),
   
Private(type=3,data[0]=1,data[1]=8,data[2]=8,data[3]=0,data[4]=0,data[5]=0,data[6]=1)
 ]
};

Shifting group with Shift+Left Control:


key LCTL {
repeat= No,
type= TWO_LEVEL,
symbols[Group1]= [   Control_L,  Control_L ],
actions[Group1]= [ SetMods(modifiers=Control),
   
Private(type=3,data[0]=1,data[1]=4,data[2]=4,data[3]=0,data[4]=0,data[5]=0,data[6]=1)
 ]
};

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Powerman-asdf
(In reply to comment #117)
 Similarly, shifting group with Shift+Right Alt (where Shift is pressed first):

Is this mean your patch won't work when Alt (or Ctrl) is pressed before Shift?
AFAIK most people press Ctrl, then Shift, then either release them (to switch 
layout) or press A-Z when they need Ctrl-Shift-something hotkey.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-30 Thread Wettstein509
Created attachment 69213
LockMods can lock another group

My previous patch does not properly account for absolute group
specification. The revised patch corrects this.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-23 Thread Bas-bmail
I'm really disappointed this change didn't make it to 1.13.
I'm sick and tired of applying this patch after each xorg update.

How many users (and years) do you need to finally accept this change?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-23 Thread Bas-bmail
(In reply to comment #112)
 I believe the most serious objection with this request is that it violates
 the XKB specification (see the description of SA_LockGroup in section 6.3 of
 The X Keyboard Extension: Protocol Specification).
 
 In the same specification, in section 4.0 of appendix D (Protocol
 Encoding), we see in the description of SA_LockGroup that there are still 5
 unused bits in the flags field.  My proposal in to use one of these bits
 decide whether to lock groups on press or release.  By default (bit is
 zero), lock groups on press as the protocol specification demands.  If the
 flag is one, lock groups on release.  So by default, we would conform to the
 specification, and add the alternative behaviour as a new possibility beyond
 the specification.
 
 There are some usage implications.  One must use 'Private' do create actions
 with the new flag set (until xkbcomp is updated as well), and one needs
 support in xkeyboard-config to make the new feature usable for
 non-XKB-hackers.

Thanks Andreas, your answer pretty much clarifies everything for me!

Your proposal is very correct, no doubt. Does it mean that once your
proposal is implemented all 3rd-party keyboard switchers (like those in
Gnome and KDE) would have to be updated to make use of this new
possibility?

Anyway, as i see it, there are two ways to go:
1) The long way - making things right and according to specification. This 
would take from very long to forever (this is the way we've been going for the 
last 8 years with this bug report).
2) Take a short way - let the common sense win over specification and make 
everybody happy.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-23 Thread kitaets
(In reply to comment #109)
 (In reply to comment #108)
  Looks like everything has
  been fixed. But if you use Ctrl or Alt for layout switching you still can't
  use this key for anything more, it's exclusived :( So ridiculous.
 
 It shouldn't work like that - I've tested the Ubuntu built X.org (with
 Ilya's patch) and it worked properly when using CTRL+ALT as the keyboard
 switching. It was immediately after the patch got accepted (at 11.04) but as
 ALT+SHIFT still works fine, I don't see a reason everything shouldn't
 continue to work (though I don't have access to an Ubuntu machine ATM to
 test).

Oded Arbel, I repeat: Ctrl OR Alt. OR, not AND. I use right Alt for
layout switching so I can't use it for any other purpose.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-23 Thread Wettstein509
I believe the most serious objection with this request is that it
violates the XKB specification (see the description of SA_LockGroup in
section 6.3 of The X Keyboard Extension: Protocol Specification).

In the same specification, in section 4.0 of appendix D (Protocol
Encoding), we see in the description of SA_LockGroup that there are
still 5 unused bits in the flags field.  My proposal in to use one of
these bits decide whether to lock groups on press or release.  By
default (bit is zero), lock groups on press as the protocol
specification demands.  If the flag is one, lock groups on release.  So
by default, we would conform to the specification, and add the
alternative behaviour as a new possibility beyond the specification.

There are some usage implications.  One must use 'Private' do create
actions with the new flag set (until xkbcomp is updated as well), and
one needs support in xkeyboard-config to make the new feature usable for
non-XKB-hackers.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-23 Thread Wettstein509
 Your proposal is very correct, no doubt. Does it mean that once your
 proposal is implemented all 3rd-party keyboard switchers (like those in
 Gnome and KDE) would have to be updated to make use of this new possibility?

As far as I understand, KDE and Gnome all use xkeyboard-config, and just
provide their own GUI.  If this is understanding is correct, the changes
to xkeyboard-config would be sufficient.

 Anyway, as i see it, there are two ways to go:
 1) The long way - making things right and according to specification. This
 would take from very long to forever (this is the way we've been going for
 the last 8 years with this bug report).

Assuming the existing patch is correct, adding the additional check for
the flag is just a few lines.  The changes to xkeyboard-config would be
fairly simple.  Assuming we grab bit 3 for the new flag, in xkeyboard-
config/compat/iso9995, change the current definition:

  interpret ISO_Next_Group {
  useModMapMods= level1;
  virtualModifier= AltGr;
  action= LockGroup(group=+1);
  }

to

  interpret ISO_Next_Group {
  useModMapMods= level1;
  virtualModifier= AltGr;
  action= Private(type=6, data[0]=16, data[1]=1);
  }

(untested, of course), and similarly for ISO_Prev_Group,
ISO_First_Group, and ISO_Last_Group.  I do not know wether the action
bound to keysyms is standardised; even if it is not, it might be a good
idea to make the above redefinition conditional.

 2) Take a short way - let the common sense win over specification and make
 everybody happy.

Believe it or not, I would be unhappy when the specification would be
broken.  Also  remember that the attitudes in this discussion are not
necessarily representative of all X users, as the users satisfied with
the current behaviour do not have any reason to even know about this
discussion.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-11 Thread Wettstein509
(In reply to comment #107)

 A Windows-only compose key program uses the ctrl key as the compose key.
 This is apparently impossible to do in X input methods because you can only
 bind actions to the press of ctrl.

Of course this is possible. Compose is unrelated to actions in the XKB
meaning of the term. It is not only possible, it is even implemented in
the XIM compose code.  You can put

  Control_Lae : ae

and similar stuff in your .XCompose, and your left control key acts as a
Compose key.  But you need the latest libX11 for this.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-04 Thread Spitzak-k
As in comment 101, the current behavior of X prevents a lot of
interesting usage of shift keys as shortcuts.

A Windows-only compose key program uses the ctrl key as the compose
key. This is apparently impossible to do in X input methods because you
can only bind actions to the press of ctrl. What is wanted is an
action if ctrl is pressed and released without hitting any other keys.

I think this can be solved more easily. For any shift key, you can
bind actions to them, but they are only triggered if you press  release
the shift key. All other keys trigger bound actions when they are
pressed. The keyboard switching is NOT a special case.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-04 Thread kitaets
I don't know what they have done in Ubuntu but 12.04 understands both
press and release. Layout switching happens on release. If you press Alt
you see the global menu and after release HUD uppears. Looks like
everything has been fixed. But if you use Ctrl or Alt for layout
switching you still can't use this key for anything more, it's
exclusived :( So ridiculous.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-10-04 Thread Oded Arbel
(In reply to comment #108)
 I don't know what they have done in Ubuntu but 12.04 understands both press
 and release. Layout switching happens on release. 

Ubuntu have simply applied Ilya's patch (one of the revisions attached
here) to fix the layout switching problem.

 If you press Alt you see
 the global menu and after release HUD uppears. 

This is a different behavior and one that works with the pristine X.org
server - the ALT key, when used without any other shift keys, fires
down when pressed and up when released. The Ubuntu HUD listens for
this sequence and triggers when ALT is used like that without any other
shift key.

The problematic behavior (as documented in this lengthy bug report -
kitates, please read the discussion), is that when you press down on the
second shift key, X.org fires the keyboard layout change (problem 1) and
also immediately fires the up event for the second shift key, even
though the user is still holding the key down (problem 1).

Problem 1 means that when the user wants to use shift1+shift2+key
as a keyboard shortcut (when shift1 and shift2 are the shift keys
used for layout switching, for example ALT+SHIFT or CTRL+ALT), then the
user will inadvertently also trigger a layout switching that wasn't
supposed to happen.

Problem 2 means that the actual keyboard shortcut will never actually
trigger because when the user holds down key, even though all keys are
physically held down X.org only acknowledges that shift1 and key are
held down.

 Looks like everything has
 been fixed. But if you use Ctrl or Alt for layout switching you still can't
 use this key for anything more, it's exclusived :( So ridiculous.

It shouldn't work like that - I've tested the Ubuntu built X.org (with
Ilya's patch) and it worked properly when using CTRL+ALT as the keyboard
switching. It was immediately after the patch got accepted (at 11.04)
but as ALT+SHIFT still works fine, I don't see a reason everything
shouldn't continue to work (though I don't have access to an Ubuntu
machine ATM to test).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-08-29 Thread Oded Arbel
(In reply to comment #103)
 This patch breaks the keyboard layout switcher from KDE3 and Trinity. It works
 correctly with the layout switcher in KDE4. Have other people tested this 
 patch
 with other layout switchers? What are the results?

This works fine with all switchers shipped on Ubuntu (gnome, unity,
kde4, etc.).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-08-29 Thread Murz
Oded Arbel, how did you test this patch on Ubuntu? Can you give me some
link to PPA or deb files for testing?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-08-29 Thread RussianNeuroMancer
 how did you test this patch on Ubuntu?
It's already merged. You may just install latest Ubuntu to check this patch in 
action. Personally I doesn't have any troubles with this patch too (KDE4, 
Unity).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-08-22 Thread Alon Bar-Lev
Created attachment 63378
xorg-server-1.12.2-xkb-switch-on-release.patch

Some code style modifications.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-08-22 Thread Julius Schwartzenberg
This patch breaks the keyboard layout switcher from KDE3 and Trinity. It
works correctly with the layout switcher in KDE4. Have other people
tested this patch with other layout switchers? What are the results?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-06-04 Thread Bas-bmail
The patch doesn't apply anymore to latest xorg. Could someone update it,
please?

I tried to just blindly port this patch, but it seems to cause problems
with Caps Lock (it can't be switched off once switched on). So something
has changed.

Could someone with xorg knowledge have a look please?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-06-04 Thread Bas-bmail
Created attachment 59741
The same patch, but based on 1.12.0.902

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-06-04 Thread Bas-bmail
Sorry, it was my overlook. THe patch works just fine, just needed more
attention adapting to latest sources.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2012-06-04 Thread Powerman-asdf
While this patch solve conflict between keyboard layout switching hotkey
and other hotkeys, it doesn't fix this issue in general. For example, in
one have hotkey defined for Win key (a.k.a. Super_L), and for
Win+something, the first hotkey handler will always run when Win key
DOWN, thus pressing Win+something will result in executing both Win and
Win+something handlers.

It should be fixed in same way: process current key combination on first
UP event after a sequence of DOWN events, not on first DOWN.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-28 Thread Jeremy Huddleston
Deferring to 1.13 as this is functional change

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Nick Andrik
Ilya, did you debug the problem with the led as you described in #64?

Also, Daniel (the responsible for the patches to get accepted if I
understood correctly) raised some concerns on #59. Do you think you
could address them? I believe after that the patch will get accepted.

What do you think?

Thanks a lot for you contribution
Nick

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Ilya Murav'jov
(In reply to comment #67)
 Ilya, did you debug the problem with the led as you described in #64?
 
 Also, Daniel (the responsible for the patches to get accepted if I understood
 correctly) raised some concerns on #59. Do you think you could address them? I
 believe after that the patch will get accepted.
 
 What do you think?
 

I didn't debug #64; I don't see something wrong with #59.

I think the opposite,- as I understand from a few conversations Daniel
do not accept the patch because of some policy. So improvements don't
make sense, and I am somewhat disappointed.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Vasa Maximov
(In reply to comment #67)
 Ilya, did you debug the problem with the led as you described in #64?

As for #64: I have used this gnome setting (ScrollLock to indicate
layout) all the time since comment #65 and haven't experienced any
issues. Except minor: scrollLock key is not able to control ScrollLock
LED (who even cares?). I can't remember how it worked before patch, but
pretty sure - that's Gnome behavior.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Nick Andrik
After Vasa, comment I made some exploration of the scroll lock issue and
in both cases (patched X or unpatched X) the behavior is exactly the
same.

The led can be used to indicate the alternative layout (from gnome's
settings) and it works as advertised: it switches on/off as long as the
layout changes.

Even if the above functionality is disabled, still the Scroll Lock key makes no 
difference in gnome. I suspect that scroll lock mode never gets enabled.
I tested it in virtual consoles (Ctrl+Alt+F1) and it works like Ctrl+S (pause 
any console output), while in gnome (tested in xterm and gnome-terminal) the 
scroll lock key does absolutely nothing.


Daniel, is there anything else needed for the patch to get accepted in the 
official branch?


Thanks a lot.
Nick

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Alexander Kojevnikov
Just to confirm that Ilya's patch from comment 45 completely fixes the
problem without any noticeable side-effects. I'm running  X11R7.5 under
FreeBSD 8.1

Daniel, could you review and eventually commit the patch? This bug is
quite annoying.

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Dave Walker
Hi,

Is there an update on the status of this bug please?

Kind Regards,
Dave Walker

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Nick Andrik
After Vasa's comment, I made some exploration of the scroll lock issue
and in both cases (patched X or unpatched X) the behavior is exactly the
same.

The led can be used to indicate the alternative layout (from gnome's
settings) and it works as advertised: it switches on/off as long as the
layout changes.

Even if the above functionality is disabled, still the Scroll Lock key makes no 
difference in gnome. I suspect that scroll lock mode never gets enabled.
I tested it in virtual consoles (Ctrl+Alt+F1) and it works like Ctrl+S (pause 
any console output), while in gnome (tested in xterm and gnome-terminal) the 
scroll lock key does absolutely nothing.


Daniel, is there anything else needed for the patch to get accepted in the 
official branch?


Thanks a lot.
Nick

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Simos Xenitellis
(In reply to comment #74)
 Hi,
 
 Is there an update on the status of this bug please?
 

My guess is that this bug is stuck at the point where the patch needs
extensive and explicit testing.

Some users tested this on their system, however they should to come up
with a more rigorous description of what they have tested.

Things to test would include
1. Describe which shortcut you use to switch layouts (Alt+Shift, Shift+Shift, 
etc)
2. Mention outcome when using with Firefox, OpenOffice, Inkscape, some GTK+ and 
QT apps.
3. Is there any problem when using IBus? Check the shortcuts that 
activate/deactivate/switch layout in IBus.
4. how long you have been using your Linux with this patch applied.
5. GTK+ allows to type arbitrary Unicode characters with Ctrl+Shift+u HEX 
codepoint. Does this continue to work?
6. An important test case is to use Inkscape and switch layouts with Alt+Shift. 
Presumably, Alt+Shift+xyz is a type of valid shortcuts in Inkscape, and 
affected by this bug. Is this now solved?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Oded Arbel
The following comments were made by Peter Hutterer (an X.org input developer) 
on the corresponding bug in RedHat bugzilla ( 
https://bugzilla.redhat.com/show_bug.cgi?id=660254 ):
(In reply to comment #6)
 implementing this behaviour requires guesswork that I'm not sure is safe in a
 number of setups.
...
 afaict, the desired behaviour for a ctrl+shift groupchange is:
 ctrl down → set Control modifier
 shift down → set Shift modifier
 if (other key pressed)
send event Contrl+Shift+other key
 else if (ctrl || shift released)
change group
 
 The XKB map for left control in this case is:
 key LCTL { [   Control_L,  ISO_Next_Group ] };
 So whenever ISO_Next_Group is pressed, you still need to know which modifier 
 to
 set in case the group action isn't executed. The XkbSA_SetMod, XkbSA_LockMod,
 etc. actions provide the modifiers set for a given key, hence why it works
 currently. This information comes from the client when the xkb map is loaded
 and is used to trigger the modifier flags for a given key. The XkbSA_LockGroup
 behaviour (which is triggered at ISO_Next_Group) does not have this field
 (adding it would break ABI), so you need to guess which modifiers to set if 
 you
 didn't trigger this action. This is the main stumbling point that I found and
 if you look at Ilya's patch that's where he needs the big hack that I'm not
 comfortable at all with it.
 
 Now, I don't know if there are layouts where the modifier mask would be
 different on the second level as opposed to the first (and Ilya's hack or a
 similar attempt would fail completely) but there's so many layouts that it'll
 take a while to get through them all.

Ilya - this is hardly my area of expertise, so if you can address these
issues - either by commenting here, on the RedHat bugzilla or by
changing the patch - I would greatly appreciate that.

Thanks to all the people who are involved, and lets keep the
communication channels open :-)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2011-12-26 Thread Ilya Murav'jov
(In reply to comment #80)

Ok, I try to answer here, but I should note that I don't remember full details
(because it was more than half a year ago).

 The following comments were made by Peter Hutterer (an X.org input developer)
 on the corresponding bug in RedHat bugzilla (
 https://bugzilla.redhat.com/show_bug.cgi?id=660254 ):
 (In reply to comment #6)
  implementing this behaviour requires guesswork that I'm not sure is safe in 
  a
  number of setups.
 ...
  afaict, the desired behaviour for a ctrl+shift groupchange is:
  ctrl down → set Control modifier
  shift down → set Shift modifier
  if (other key pressed)
 send event Contrl+Shift+other key
  else if (ctrl || shift released)
 change group
  
  The XKB map for left control in this case is:
  key LCTL { [   Control_L,  ISO_Next_Group ] };
  So whenever ISO_Next_Group is pressed, you still need to know which 
  modifier to
  set in case the group action isn't executed. The XkbSA_SetMod, 
  XkbSA_LockMod,
  etc. actions provide the modifiers set for a given key, hence why it works
  currently. This information comes from the client when the xkb map is loaded
  and is used to trigger the modifier flags for a given key. The 
  XkbSA_LockGroup
  behaviour (which is triggered at ISO_Next_Group) does not have this field
  (adding it would break ABI), so you need to guess which modifiers to set if 
  you
  didn't trigger this action. This is the main stumbling point that I found 
  and
  if you look at Ilya's patch that's where he needs the big hack that I'm not
  comfortable at all with it.

I do not agree. You do not need to know/guess which modifiers to set - whenever
ISO_Next_Group is pressed I just don't execute it immediately but delay it till 
a key release (by the means of _XkbNextFreeFilter()/_XkbApplyFilters() ). Btw, 
that trick was suggested by Daniel Stone (somewhere on the mail list).

And I want to note that where I comment :KLUDGE: I mean a different
thing: in theory that branch of code should do the same thing as the
switch in XkbHandleActions() ; but, in practice I see (and want) only
XkbSA_SetMods action (so kludge here is copy-n-paste from
XkbHandleActions() ).

  
  Now, I don't know if there are layouts where the modifier mask would be
  different on the second level as opposed to the first (and Ilya's hack or a
  similar attempt would fail completely) but there's so many layouts that 
  it'll
  take a while to get through them all.

(do not understand properly the above, sorry) The only situation the patch fails
(just behaves old way, and nothing more!) is when switching is set up as just 
one key like Right Alt. That is because of the line
   fake_state.mods = 0;
, mods here is 0 anyway = we can't block XkbSA_LockGroup .

Anyway, nobody wants more,- but only (de facto standard) Ctrl+Shift and
Alt+Shift on release. I think this is the situation where the practice
begins and the theory ends.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2011-12-26 Thread Alexander Kojevnikov
(In reply to comment #76)
 I guess most people are just satisfied with this patch, which, obviously, 
 works
 great.

It does indeed, just look as the number of comments confirming it.

 Also, the things to test would include items look like the author hasn't 
 even
 tested the patch, otherwise, he wouldn't have any of those concerns.

I went ahead and did the tests grandfather mentioned:

(In reply to comment #75)
 1. Describe which shortcut you use to switch layouts (Alt+Shift, Shift+Shift,
 etc)

Alt+Shift, I guess that's what most people use (it's a Windows default
too)

 2. Mention outcome when using with Firefox, OpenOffice, Inkscape, some GTK+ 
 and
 QT apps.

No issues whatsoever. Tested it on ArchLinux and on FreeBSD.

 3. Is there any problem when using IBus? Check the shortcuts that
 activate/deactivate/switch layout in IBus.

Is it for CJK input? Never used it.

 4. how long you have been using your Linux with this patch applied.

Linux almost since this patch has been submitted, FreeBSD - for 3
months.

 5. GTK+ allows to type arbitrary Unicode characters with Ctrl+Shift+u HEX
 codepoint. Does this continue to work?

Yes: ☺ ♫ ⊥

 6. An important test case is to use Inkscape and switch layouts with 
 Alt+Shift.
 Presumably, Alt+Shift+xyz is a type of valid shortcuts in Inkscape, and
 affected by this bug. Is this now solved?

Yes, also some Emacs shortcuts were affected by this bug (e.g. M- and
M-) and now work fine.

I really hope this patch gets committed, the keyboard input *is* broken
without it for users who use multiple keyboard layouts. I personally
don't mind patching xorg-server manually, but I guess most users do.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 36812]

2011-12-26 Thread Bas-bmail
(In reply to comment #75)
 (In reply to comment #74)
  Hi,
  
  Is there an update on the status of this bug please?
  
 
 My guess is that this bug is stuck at the point where the patch needs 
 extensive
 and explicit testing.
 
 Some users tested this on their system, however they should to come up with a
 more rigorous description of what they have tested. 
 
 Things to test would include
 1. Describe which shortcut you use to switch layouts (Alt+Shift, Shift+Shift,
 etc)
 2. Mention outcome when using with Firefox, OpenOffice, Inkscape, some GTK+ 
 and
 QT apps.
 3. Is there any problem when using IBus? Check the shortcuts that
 activate/deactivate/switch layout in IBus.
 4. how long you have been using your Linux with this patch applied.
 5. GTK+ allows to type arbitrary Unicode characters with Ctrl+Shift+u HEX
 codepoint. Does this continue to work?
 6. An important test case is to use Inkscape and switch layouts with 
 Alt+Shift.
 Presumably, Alt+Shift+xyz is a type of valid shortcuts in Inkscape, and
 affected by this bug. Is this now solved?

I guess most people are just satisfied with this patch, which,
obviously, works great. Therefore nobody really cares if it would go
upstream or not, because, obviously, it won't (otherwise, tell me, how
much longer it should take to accept this patch?).

Also, the things to test would include items look like the author
hasn't even tested the patch, otherwise, he wouldn't have any of those
concerns.

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Oded Arbel
(In reply to comment #75)
 Things to test would include
 3. Is there any problem when using IBus? Check the shortcuts that
 activate/deactivate/switch layout in IBus.

Input methods may be a problem as i dont think anyone who is interested in this 
is using IM. I dont know why - maybe IM users dont use layout switching 
shortcuts, maybe they don't use shortcuts at all? But that is 
A good reason to apply this patch to X.org's trunk - until that is done we cant 
get any serious testing of this feature as the only people that encounter the 
patch are the people that come looking for it specifically and all those fall 
into a set of well defined parameters.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Peter Hutterer
(In reply to comment #82)
 I'm confused. This bug is now 7 years old and it's still not fixed? What year
 of desktop Linux are we talking about when basic things in Linux are largely
 broken?

thanks. empty rhetoric is the greatest way of motivating developers.
This bug just dropped to the bottom of my priority list again.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Ilya Murav'jov
The patch has been applied in Ubuntu, just now.
Today is a good day. :)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread T-artem
(In reply to comment #83)
 thanks. empty rhetoric is the greatest way of motivating developers. This bug
 just dropped to the bottom of my priority list again.

Peter, I'm terribly sorry for rending the air. Please, consider
resolving this bug ASAP since there are thousands of people affected by
it. I won't drop another comment here ever.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Bas-bmail
(In reply to comment #84)
 (In reply to comment #83)
  thanks. empty rhetoric is the greatest way of motivating developers. This 
  bug
  just dropped to the bottom of my priority list again.
 
 Peter, I'm terribly sorry for rending the air. Please, consider resolving this
 bug ASAP since there are thousands of people affected by it. I won't drop
 another comment here ever.

You don't have to excuse. You have more rights to be pissed off than a
developer who puts an obvious and already proved (by time) to work patch
to the end of his TODO list.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread AC
Can we pay to speed up the fixing of this bug?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread T-artem
I'm confused. This bug is now 7 years old and it's still not fixed? What
year of desktop Linux are we talking about when basic things in Linux
are largely broken?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Michal Ambroz
I would vote for this change as well.

I understand that it is not aligned with 13 years old standard and I am
sorry for that. Still I see changing group on press breaking much many
things than changing it on release. Maybe it is time to modify this
library specification, because there is a good reason for that. Do you
see any reason not to do it - other than there exists 13 years old
library specification?

Best regards
Michal Ambroz

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Daniel Stone
On Fri, Apr 08, 2011 at 01:05:34AM -0700, bugzilla-dae...@freedesktop.org wrote:
 --- Comment #85 from kyak b...@bmail.ru 2011-04-08 01:05:27 PDT ---
 (In reply to comment #84)
  (In reply to comment #83)
   thanks. empty rhetoric is the greatest way of motivating developers. This 
   bug
   just dropped to the bottom of my priority list again.
  
  Peter, I'm terribly sorry for rending the air. Please, consider resolving 
  this
  bug ASAP since there are thousands of people affected by it. I won't drop
  another comment here ever.
 
 You don't have to excuse. You have more rights to be pissed off than a
 developer who puts an obvious and already proved (by time) to work patch to 
 the
 end of his TODO list.

Already proven to break the XKB specification, yes.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread T-artem
(In reply to comment #87)
 Can we pay to speed up the fixing of this bug?

I second this motion.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Ilya Murav'jov
(In reply to comment #88)
 (In reply to comment #86)
  Already proven to break the XKB specification, yes.
 
 Hi Daniel. I've seen this comment about breaking the XKB specification in
 several places and - I'm really not trying to be contrary - I looked at the
 protocol specs here 
 http://www.x.org/releases/current/doc/kbproto/xkbproto.html
 and I can't understand how this behavior change contradicts the spec. 
 
 Now - I'm not a trained X11 developer, and I'm not even that good at reading
 specs, so I would really appreciate it if you can point me at the section
 relevant to the breakage you discuss, so I can be more informed about the
 issue.
 
 Thanks in advance.

Hi Oded,

It is not in XKBproto but in XKBlib spec. You can see the only assertion
against changing layout on release in general (and the patch in
particular) in ftp://ftp.x.org/pub/X11R7.0/doc/PDF/XKBlib.pdf, Table
16.4 Group Action Types, the last item XkbSA_LockGroup, citing:


1. If the XkbSA_GroupAbsolute is set in the flags field, key press events set 
the locked keyboard group to the group specified by the group_XXX field. 
Otherwise, key press events add the group specified by the group_XXX field to 
the locked keyboard group. In either case, the resulting locked and effective 
keyboard groups are brought back into range depending on the value of the 
groups_wrap field of the con-trols structure.
2. A key release has no effect.


-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread N3ocort3x
For Gentoo and derivatives users, a working solution for patching is
described here:

https://bugs.gentoo.org/show_bug.cgi?id=379827

Bug report description includes guidance for how an ebuild file for
automatic patching of XkbActions.c can be achieved, and an example
ebuild file that applies Ilya's patch to Gentoo version of xorg-
server-1.10.3 as attachment is also provided by Lance Poore.

I am using the patched version happily now without having any problems.
Please consider including the patch in upstream. I am sure it would make
thousands of desktop Linux users' lives easier.

Thanks Ilya! and thanks to Lance in the name of Gentoo Linux multilingual 
keyboard users.
Happy patching :)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Jeremy Huddleston
Lots of CCs ... I'm gonna bring this into the tracker to see if there's 
something we can eventually do about this in a way that won't break backwards 
compatibility.

Daniel, do you have any thoughts about how this could be done by extending XKB 
rather than breaking it?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Oded Arbel
(In reply to comment #86)
 Already proven to break the XKB specification, yes.

Hi Daniel. I've seen this comment about breaking the XKB specification
in several places and - I'm really not trying to be contrary - I looked
at the protocol specs here
http://www.x.org/releases/current/doc/kbproto/xkbproto.html and I can't
understand how this behavior change contradicts the spec.

Now - I'm not a trained X11 developer, and I'm not even that good at
reading specs, so I would really appreciate it if you can point me at
the section relevant to the breakage you discuss, so I can be more
informed about the issue.

Thanks in advance.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread N3ocort3x
(In reply to comment #93)
 Long ago a bug was opened for this issue.
 
 https://bugs.gentoo.org/show_bug.cgi?id=304375
 

And marked as resolved upstream. Which is just not true, at least
according to the ebuilds. Havent taken a look at the code itself, but
can you currently point to any existing xorg source repository with the
patch applied or where xorg server has the same functionality issue
cured?

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Alon Bar-Lev
Long ago a bug was opened for this issue.

https://bugs.gentoo.org/show_bug.cgi?id=304375

On Mon, Aug 22, 2011 at 5:14 PM,  bugzilla-dae...@freedesktop.org wrote:
 https://bugs.freedesktop.org/show_bug.cgi?id=865

 --- Comment #92 from youagree n3ocor...@gmail.com 2011-08-22 07:14:34 PDT 
 ---
 For Gentoo and derivatives users, a working solution for patching is described
 here:

 https://bugs.gentoo.org/show_bug.cgi?id=379827

 Bug report description includes guidance for how an ebuild file for automatic
 patching of XkbActions.c can be achieved, and an example ebuild file that
 applies Ilya's patch to Gentoo version of xorg-server-1.10.3 as attachment is
 also provided by Lance Poore.

 I am using the patched version happily now without having any problems. Please
 consider including the patch in upstream. I am sure it would make thousands of
 desktop Linux users' lives easier.

 Thanks Ilya! and thanks to Lance in the name of Gentoo Linux multilingual
 keyboard users.
 Happy patching :)

 --
 Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
 --- You are receiving this mail because: ---
 You are on the CC list for the bug.


-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Aharel
(In reply to comment #90)
 (In reply to comment #88)
  (In reply to comment #86)
   Already proven to break the XKB specification, yes.
  ...
 
 It is not in XKBproto but in XKBlib spec. You can see the only assertion
 against changing layout on release in general (and the patch in particular) in
 ftp://ftp.x.org/pub/X11R7.0/doc/PDF/XKBlib.pdf, Table 16.4 Group Action
 Types, the last item XkbSA_LockGroup, citing:
 
 
 1. If the XkbSA_GroupAbsolute is set in the flags field, key press events set
 
 2. A key release has no effect.
 
Thanks again Ilya!
First for providing the patch, and then for high-lighting exactly where the XKB 
standard made what we now know to be a bad choice. Happens. No one's perfect. 
Not even the wisdom of the Xfree86 crowd.
Anyone know whether / how the standard can be brought up to date, so it joins 
us in the new millennium?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2011-12-26 Thread Bug Watch Updater
** Bug watch added: Red Hat Bugzilla #660254
   https://bugzilla.redhat.com/show_bug.cgi?id=660254

** Bug watch added: Gentoo Bugzilla #379827
   http://bugs.gentoo.org/show_bug.cgi?id=379827

** Bug watch added: Gentoo Bugzilla #304375
   http://bugs.gentoo.org/show_bug.cgi?id=304375

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812]

2011-12-26 Thread Nick Andrik
I believe scrollLock LED is used from gnome(?) to indicate the alternative 
layout.
At least this is how it works on me with the ubuntu xorg (without the patch 
from ilya)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2011-12-26 Thread Constantine
Scroll-Lock indicator always shows correct layout

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 36812] Re: Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts

2011-11-11 Thread Curtis Hovey
** No longer affects: null

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/36812

Title:
  Keyboard layout change on hotkeys press instead of release and do not
  work well with shortcuts

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/36812/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


<    1   2   3   >