OpenSolaris

Printable Version Enter a New Search
Bug ID 6759510
Synopsis dispswitch: need to adapt to key mapping changes
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:programs
Keywords
Responsible Engineer Henry Zhao
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_103
Fixed In snv_103
Release Fixed solaris_nevada(snv_103)
Related Bugs
Submit Date 15-October-2008
Last Update Date 14-November-2008
Description
While dispswitch application is running, the hot key defined by user (deault
is "Shift + F5") should remain unchanged even though the key mapping for
the hot key changed.
Work Around
N/A
Comments
In SNV X_b103 test cycle:
Developer, could you provide a test case to QA team to verify this bug?

Thanks
--Ava
Here is the test Procedures provided by developer:



Test Procedures:

Suppose dispswitch is running and "Shift + F5" is used as hotkey to
switch display devices (default).

Run following commands to redefine keycode for F5 to be 72:

xmodmap -e "keycode 72 = F5"
xmodmap -e "keycode 71 = F6"

and you will find:

xmodmap -pk | grep F5
    72         0xffc2 (F5)  
Now "Shift + F6" becomes hotkey for display device switching, and
"Shift + F5" is no longer the hotkey.

Run these commands again:

xmodmap -e "keycode 71 = F5"
xmodmap -e "keycode 72 = F6"

Now "Shift + F5" is restored to hotkey again.
In snv X_103 test cycle:
We verified the bug on ASUS W5F laptop with 'snv_101 + snv X_103'.
Passed above test case.