err:keyboard:X11DRV_ToUnicodeEx Please report:

Walt Ogburn reuben at ugcs.caltech.edu
Fri Nov 5 12:55:39 CST 2004


Hi Jon,

It looks to me like shift-tab works fine when it's used to navigate around
dialogs.  It's only in things like text input that it tries to get
converted to Unicode and doesn't match anything.

Do you know what shift-tab does under such circumstances in Windows?  If
it's the same as regular tab, you could just map ISO_Left_Tab onto tab,
like below.

- Walter

diff -urN wine-cvs/dlls/x11drv/keyboard.c wine/dlls/x11drv/keyboard.c
--- wine-cvs/dlls/x11drv/keyboard.c     2004-10-27 20:11:23.000000000 -0700
+++ wine/dlls/x11drv/keyboard.c 2004-11-05 08:23:28.557190200 -0800
@@ -2143,6 +2143,12 @@
         ret = XLookupString(&e, lpChar, sizeof(lpChar), &keysym, NULL);
     wine_tsx11_unlock();

+    if (keysym == XK_ISO_Left_Tab)
+    {
+        ret = 1;
+        lpChar[0] = 0x09;
+    }
+
     if (ret == 0)
         {
         BYTE dead_char;


On Fri, 5 Nov 2004, Jon Griffiths wrote:

> Hi,
>
> Duly reporting:
>
> err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym
> FE20 (ISO_Left_Tab) :
> err:keyboard:X11DRV_ToUnicodeEx
> (virtKey=9,scanCode=F,keycode=17,state=1)
>
> This happens when I shift-tab in any Wine app. System is mdk
> 10.0/wine cvs and this message has been there for several months at
> least (when I first noticed).
>
> I'm happy to provide more info on request if someone knows how to fix
> this.
>
> Cheers,
> Jon
>
>
> =====
> "Don't wait for the seas to part, or messiahs to come;
>  Don't you sit around and waste this chance..." - Live
>
> jon_p_griffiths at yahoo.com
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>



More information about the wine-devel mailing list