Bug 442384 - Make KDE's keyboard layout match X's layout by default
Summary: Make KDE's keyboard layout match X's layout by default
Status: RESOLVED DUPLICATE of bug 385064
: 336639 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: KDE4 Workspace (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.1
: P3 - Medium : Enhancement (vote)
Target Milestone: ---
Assignee: Lubos Lunak
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 17:48 UTC by Zsolt Sági
Modified: 2009-06-04 16:45 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Sági 2008-11-06 17:48:27 UTC
There is no effect of these keys. The mute key has an inbuilt LED wich changes its state when pressing the key but doesn't mute. No OSD popup window indicates that I pressed any of these keys and volume level remains unchanged too. It worked in openSUSE 10.3 but went wrong in 11.0 (but only in KDEs gnome still worked).

The codes of the mentioned keys extracted by showkey -s :

pressing mute: 0xe0 0x20
releasing mute: 0xe0 0xa0

pressing volume decrease: 0xe0 0x2e
releasing volume decrease: 0xe0 0xae

pressing volume increase: 0xe0 0x30
releasing volume increase: 0xe0 0xb0
Comment 1 Lubos Lunak 2008-11-11 17:00:17 UTC
Please try with Beta5. In case it still doesn't work, does 'xev' report KeyPress events for the key, with valid keysym (i.e. no NoSymbol)?
Comment 2 Zsolt Sági 2008-11-12 20:38:20 UTC
I'm still running Beta-4 but:

KeyRelease event, serial 34, synthetic NO, window 0x4600001,
    root 0x9c, subw 0x0, time 29014032, (-340,507), root:(877,532),
    state 0x0, keycode 160 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:                                               
    XFilterEvent returns: False                                                

KeyPress event, serial 34, synthetic NO, window 0x4600001,
    root 0x9c, subw 0x0, time 29015037, (-340,507), root:(877,532),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:                                                      
    XmbLookupString gives 0 bytes:                                                    
    XFilterEvent returns: False                                                       

KeyRelease event, serial 34, synthetic NO, window 0x4600001,
    root 0x9c, subw 0x0, time 29015146, (-340,507), root:(877,532),
    state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:                                                      
    XFilterEvent returns: False                                                       

KeyPress event, serial 34, synthetic NO, window 0x4600001,
    root 0x9c, subw 0x0, time 29015910, (-340,507), root:(877,532),
    state 0x0, keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:                                                      
    XmbLookupString gives 0 bytes:                                                    
    XFilterEvent returns: False                                                       

KeyRelease event, serial 34, synthetic NO, window 0x4600001,
    root 0x9c, subw 0x0, time 29015969, (-340,507), root:(877,532),
    state 0x0, keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:                                                      
    XFilterEvent returns: False
Comment 3 Zsolt Sági 2008-11-14 09:48:07 UTC
Still applies to Beta-5, but with some improvements. The mute key works, but th volume increasing and decreasing keys still don't. Beside this I dowscovered, that kmix'es master channel is the PCM channel by default. Wouldn't it be better to control the master (Front ?) channel instead?
Comment 4 Lubos Lunak 2009-01-09 12:46:17 UTC
Does it work if you change the master channel?
Comment 5 Zsolt Sági 2009-01-09 13:03:09 UTC
Good idea! I've just installed the final (64bit) version of 11.1, and both the mouse scroll wheel (when the pointer is over the kmix icon in systray) and the multimedia keys control the selected master channel. I can select either front or pcm, the multimedia keys work well! I'we thested that on the 32 bit version too, but not in the final, but in beta5 with updates. That worked too. So, this problem can be considered as fixed except that there are no OSD popup windows reflecting the results.

I've also left gnome KDE3 and other environments untested.
Comment 6 Lubos Lunak 2009-01-09 13:50:21 UTC
The OSD popup is bug #450328. And there actually is feedback in the systray KMix icon. Closing this issue as fixed.
Comment 7 Zsolt Sági 2009-01-26 11:11:43 UTC
OK, feedback from the KMix icon is sufficient, but:

This problem revived in a slightly modified form: Volume control works in KDE4, but only until I enable the handling of keyboard layout management in the country and region section of KDE settings. Just enabling the keyboard layout management immediately disables the volume keys, so that they remain disabled even after disabling the layout management. I have to restart X after disabling layout management in order to re-enable the multimedia keys.
Comment 8 Zsolt Sági 2009-01-28 11:30:14 UTC
OK, I've found a workaround: I had to change the keyboard model to microsoftpro, just like in xorg.conf. In the distant future, KDE might be aware of the current X configuration, and select the appropriate keyboard model as default.
Comment 9 Forgotten User vXTZVacoSi 2009-05-25 14:44:23 UTC
*** Bug 336639 has been marked as a duplicate of this bug. ***
Comment 10 Forgotten User vXTZVacoSi 2009-05-25 14:45:43 UTC
Upstream report by Tamás (next time please link to it)

https://bugs.kde.org/show_bug.cgi?id=189066

Seli it's up to you if you want it resolved here and only on bko or keep it open for reference.
Comment 11 Zsolt Sági 2009-05-25 15:27:24 UTC
(In reply to comment #10)
> Upstream report by Tamás (next time please link to it)
> 
> https://bugs.kde.org/show_bug.cgi?id=189066

Was it me, who reopened it? Sorry for that, I can't remember. Anyway, nowadays I only report KDE bugs upstream, as you asked us, and in fact I don't consider this issue a serious bug anymore, but a request for improvement instead.
Comment 12 Lubos Lunak 2009-05-25 16:00:27 UTC
I'll keep this one open. KDE's config module for keyboard layout should default to the same layout like configured by Yast for X, although that may be not that simple.
Comment 13 Lubos Lunak 2009-06-04 16:45:11 UTC
.

*** This bug has been marked as a duplicate of bug 385064 ***