Bug 10736 - When using tifinagh layouts, AltGr does not work
Summary: When using tifinagh layouts, AltGr does not work
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 05:05 UTC by Mohammed Adnène Trojette
Modified: 2007-04-28 16:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch (untested) (2.37 KB, patch)
2007-04-24 13:05 UTC, Denis Barbier
Details | Splinter Review
Make AltGr work again (2.08 KB, patch)
2007-04-24 14:22 UTC, Mohammed Adnène Trojette
Details | Splinter Review
output of xkbcomp :0 (62.55 KB, application/octet-stream)
2007-04-28 16:09 UTC, Mohammed Adnène Trojette
Details

Description Mohammed Adnène Trojette 2007-04-24 05:05:07 UTC
Hi again and thanks for including tifinagh layouts in xkeyboard-config (I am preparing a Debian package with a CVS snapshot to make this available in our experimental distribution).

Here is my setxkbmap -print output:

xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc(pc105)+fr(latin9)+il(phonetic):2+ma(tifinagh-extended-phonetic):3+ara(buckwalter):4+group(shifts_toggle)+compose(rctrl)"   };
        xkb_geometry  { include "pc(pc105)"     };
};

In this case, AltGr does not work, which makes it impossible to use many characters in the French (fr-latin9) layout.

When I remove the tifinagh layout, everything is back to normal.

What can I do to help you debug this?

(BTW: are you planning to release soon?)
Comment 1 Denis Barbier 2007-04-24 13:05:06 UTC
Created attachment 9722 [details] [review]
Proposed patch (untested)

Here is a proposed patch.  I also dropped key definitions for <SPCE> since there are new nbsp:* options.
Comment 2 Mohammed Adnène Trojette 2007-04-24 14:20:22 UTC
(In reply to comment #1)
> Created an attachment (id=9722) [details]
> Proposed patch (untested)

It almost worked directly for me. Actually, I had to remove the "include level3(...)" lines to make AltGr work again.

Thank you Denis.

Updated patch attached.
Comment 3 Mohammed Adnène Trojette 2007-04-24 14:22:57 UTC
Created attachment 9724 [details] [review]
Make AltGr work again
Comment 4 Sergey V. Udaltsov 2007-04-24 14:58:25 UTC
Mohammed, I like Denis's patch better. The standard approach is to include level3 ralt switching into all layouts which have 3rd layout and above. For people who want their ralt back, there is an option lv3:ralt_alt. So I am committing Denis's patch.

Comment 5 Mohammed Adnène Trojette 2007-04-24 15:06:20 UTC
(In reply to comment #4)
> Mohammed, I like Denis's patch better. The standard approach is to include
> level3 ralt switching into all layouts which have 3rd layout and above. For
> people who want their ralt back, there is an option lv3:ralt_alt. So I am
> committing Denis's patch.

Oh, ok, I found it in my layout switching applet :-)
Comment 6 Denis Barbier 2007-04-24 23:58:06 UTC
> It almost worked directly for me. Actually, I had to remove the "include
> level3(...)" lines to make AltGr work again.

I am confused by this statement.  Adnène, do you really mean that your
AltGr key does not work as expected with these lines?  If so, can you
please check that xev tells that its keycode is 113, put these include
lines back, run
  xkbcomp :0
and attach the server-0.xkb file generated by this command.
Thanks.
Comment 7 Mohammed Adnène Trojette 2007-04-28 16:09:17 UTC
Created attachment 9774 [details]
output of xkbcomp :0

Here is my server-0.xkb file.
And indeed, AltGr is 113.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.