Bug 14765

Summary: X. org xkb latvian layout bug - accented characters in some cases not working
Product: xkeyboard-config Reporter: Arnis Voitkans <arnivoit>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact: Arnis Voitkans <arnivoit>
Severity: normal    
Priority: medium CC: arnivoit, sndirsch
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Possible patch to fix the bug
Fixed file, which is working

Description Arnis Voitkans 2008-03-01 11:53:07 UTC
Created attachment 14740 [details] [review]
Possible patch to fix the bug

In some cases it was not possible to write latvian accented characters. For example, when saving html pages from Firefox, it was not possible to enter accented characters in filename, or to make a new folder (from Firefox save menu) with accented Latvian characters. It was also not possible to enter accented characters in Inkscape. Combinations like Ctrl+Alt+F1 was not working, eather.

Solution (a very simple one). Problem was with RALT modifier key. I replaced this with include from level3 file:
include "level3(ralt_switch)"

This part of file gets included:
default partial modifier_keys
xkb_symbols "ralt_switch" {
  key <RALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};

After the fix it is possible to enter latvian accented characters also in Inkscape and all other mentioned places, combinations like Ctrl+Alt+F1 are working as well.
Comment 1 Arnis Voitkans 2008-03-01 11:55:11 UTC
Created attachment 14743 [details]
Fixed file, which is working
Comment 2 Sergey V. Udaltsov 2008-03-03 01:57:49 UTC
Sorry, just to simplify my life a bit - could you please make it a patch? Thanks.
Comment 3 Arnis Voitkans 2008-03-03 02:19:42 UTC
But I already added the proposed patch:
https://bugs.freedesktop.org/attachment.cgi?id=14740

But, if necessay, I can attach it more one time.
Comment 4 Stefan Dirsch 2008-03-03 02:29:37 UTC
Sergey, the patch is part of the bugreport description. I think that's a feature of the new Bugzilla version, that you now can attach patches already together with the initial description. :-)
Comment 5 Sergey V. Udaltsov 2008-03-03 03:07:29 UTC
Sorry, I just got confused - I thought the "full file" contains something new, comparing to the original patch. Duplication frustrates;)
Comment 6 Sergey V. Udaltsov 2008-03-03 12:39:22 UTC
Committed, thank a bunch!

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.