On Fri, 4 Jul 2014 07:32:30 -0700 Marc MERLIN <[email protected]> said:
> (I'm resending this to the list under the original subject line for the > archives) > > On Fri, Jul 04, 2014 at 02:00:59AM -0700, raster (Carsten Haitzler > (Rasterman)) wrote: > > raster added a comment. > > > > ok. i've taken a deep look at this. finally. and here is the problem. the > > xmodmaps above marc gave CREATE a big problem. > > > > they make ALTGR and ALT have the SAME modifier mask on the x11 side. they > > are indistinguishable from eachother. when e maps modifiers back from x's > > mask to its config, it ends up with modifiers pressed being BOTH ALT .. AND > > ALTGR.. thus this doesn't match any configured modifiers in e. this is just > > all kinds of wrong and basically a BUG in the configuration of the > > keyboard. trust the french to come up with this doosie. :) > > Oh my, that's definitely interesting. > Funny thing is that I never needed to do this with French keyboards > since he keys I'm emulating with right alt as mode switch exist on > French keyboards. > So is that basically a misfeature in Xorg/xinput? well thats what my debugging reveals. thats why i asked for the xmodmap stuff to reproduce it so i see what you see. you have right alt be altgr but produce the same modifier mask bit. this creates a collision in modifier mask space and that then leads to this (it leads to it only once we added altgr support to detect that too). > > so here is my solution. it works for me testing using those modmaps above. > > i'm putting it in ecore_x. if it detects a conflict in modifier masks of > > modifiers, it'll ERR complain and then ignore that conflicting modifier > > (ALTGR, and others). this fixes it but basically nukes the ability to have > > ALTGR as a modifier... it just ends up being alt. > > On the plus side, that's actually not as bad because keyboards that have > ALTGR typically also have extra keys to start with and their users are > less likely to use that key as a modifier. That's more for "7 bit ascii > should be enough for anybody" US keyboards :) i shall henceforth name this "the french bug". :) > > TASK DETAIL > > https://phab.enlightenment.org/T1273 > > Thanks much for the fix, I appreciate it. np. :) > Marc > -- > "A mouse is a device used to point at the xterm you want to type in" - A.S.R. > Microsoft is to operating systems .... > .... what McDonalds is to gourmet > cooking Home page: http://marc.merlins.org/ | PGP > 1024R/763BE901 > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > enlightenment-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
