Bug 1195010

Summary: Keyboard layout messed up when adding multiple german layouts
Product: [Fedora] Fedora Reporter: samuel.vonbaussnern
Component: xkeyboard-configAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: extras-orphan, i18n-bugs, negativo17, peter.hutterer, psatpute, samuel.vonbaussnern
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-09 07:58:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description samuel.vonbaussnern 2015-02-21 23:05:11 UTC
Description of problem:

When adding multiple keyboard layouts (I used German and German (Switzerland)) the pipe (key 94) is not available. It prints \ instead of |. This only happens if the Swiss layout is added first. 

If the German layout is added first, the problem does not appear.


How reproducible:

Every time.


Steps to Reproduce:
1. Add German (Switzerland) to keyboard layouts
2. Add German to keyboard layouts
3. Press Altgr + <.
4. Observe printed character: \

1. Add German to keyboard layouts
2. Add German (Switzerland) to keyboard layouts
3. Press Altgr + <.
4. Observe printed character: |

Actual results:
Character printed: \

Expected results:
Character printed: |

Comment 1 Peter Hutterer 2015-02-23 04:12:16 UTC
reproduced

setxkbmap -layout "ch,de"
setxkbmap -layout "de,ch"

Can't quite tell what's going wrong here yet, this may be an xkbcomp issue.

Comment 2 Fedora End Of Life 2015-11-04 15:40:14 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Pravin Satpute 2015-11-25 11:59:51 UTC
Ping !!

Is this bug still reproducible in Fedora 23?  If not lets close else move to Fedora 23.

Comment 4 samuel.vonbaussnern 2015-11-25 12:40:18 UTC
I can reproduce the bug in Fedora 22. I don't have a Fedora 22 machine right now to test with Fedora 23.

Comment 5 Peter Hutterer 2015-12-02 02:59:16 UTC
is it only not available in the de layout, or in both layouts?

Comment 6 samuel.vonbaussnern 2015-12-04 09:57:31 UTC
It is only not available in the DE layout. In the DE_CH layout the pipe character on a different key (Alt-Gr + 1).

Comment 7 Peter Hutterer 2015-12-09 04:59:19 UTC
I just tried to reproduce this and it seems everything works correctly:

in the gnome config panel add German, then German (Switzerland).
* use the input switcher in the top corner to make sure de1 is selected (German) - key produces the pipe
* use the input switcher in the top corner to make sure de2 is selected (Swiss) - key produces backslash

in the gnome config panel add German(Switzerland), then German
* use the input switcher in the top corner to make sure de1 is selected (Swiss) - key produces backslash
* use the input switcher in the top corner to make sure de2 is selected (German) - key produces the pipe

The last selected input is assigned the first xkb group and selected by default, so immediately after switching the behaviour is dependent which one was added last. but by changing between the group you can get the right behaviour. Now either we're talking about intended behaviour here or I'm missing something obvious - what is it?

Comment 8 samuel.vonbaussnern 2015-12-09 07:58:52 UTC
Alright, weird. I am sure it wasn't working as intended. But currently everything is working as intended behaviour.

I'll close this issue then. Thanks for your time.