Bug 204549 - When switching keyboard layouts, shortcuts are not moved
Summary: When switching keyboard layouts, shortcuts are not moved
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard_layout (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-20 18:12 UTC by Gaël de Chalendar (aka Kleag)
Modified: 2010-05-13 05:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gaël de Chalendar (aka Kleag) 2009-08-20 18:12:27 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Mandriva RPMs

I use two keyboard layouts, default French Azerty and French Dvorak Bépo. The problem is that when switching from the primary one to the second one, shortcuts are not moved. 

For example, the Azerty "A" becomes "B" in Bépo. Thus if I hit Ctrl+A in Azerty to select all, I have to type Ctrl+B in Bépo.

So, probably shortcuts should be associated to the character typed and not to the physical keyboard key ?

This can be related to bug #83732, but I'm not sure it is exactly the same.
Comment 1 Bruno Léon 2009-08-29 18:43:21 UTC
Hi,

I can confirm thih behaviour under Kubunty Jaunty update to KDE 4.3.
The correct layout is not set when switching:

Setup:
- Kubuntu English default install
- Add French keyboard layout
- Switch to FR layout

Symptom:
- Press the letter A on the French keyboard correctly generates a A (Ok)
- Keyboard shortcut like CTRL+A will quit an application instead of doing
select all. So it is understood as CRTL+Q

Conclusion
I first believed this to be a bug in shorcuts but when I checked in system
settings, when you select the FR layout, what is actually done is:
setxkbmap -layout us,fr
when it should be
setxkbmap -layout fr,fr (This command fixed the problem for me)

I even do not understand how I can write in French with the default comman
d that is executed...
Comment 2 Andriy Rysin 2010-05-13 05:10:47 UTC
Unfortunately the shortcuts are handled by Qt so not much keyboard module or even KDE can do about it. You may file a bug against Qt. I actually think there was already a report for this problem but I could not find it quickly now.