LINUX.ORG.RU

Wine и постоянно зажатый shift


0

0

Есть такая проблема, под wine запущен SQLYog, работает хорошо до тех пор пока не нажмешь шифт (shift), после его нажатия он остается зажатым навсегда и все символы в вехнем регистре. Может знает кто и как решить трабл (гугл ответа не дал).

P.S. Самое интересное то, что если начинаешь вводить текст, потом нажал шифт, он остается зажатым, но как только кликнешь мышью, он опять отжатый.

Ответ на: комментарий от edigaryev

Нет не установлен.

Моя система:

Linux vostro 2.6.31-gentoo-r6 #1 SMP PREEMPT Sat Nov 28 22:08:39 EET 2009 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
+ Fluxbox

satsura
() автор топика
Ответ на: комментарий от edigaryev

Пробовал, не помогло (версия wine такая же). Может дело в иксах?

Section "ServerLayout"
    Identifier     "Dell Vostro 1500"
    Screen      0  "Screen" 0 0
    InputDevice    "Mouse" "CorePointer"
    InputDevice    "TouchPad" "SendCoreEvents"
    InputDevice    "Keyboard" "CoreKeyboard"
    Option         "StandbyTime" "8"
    Option         "SuspendTime" "15"
    Option         "OffTime" "30"
    Option         "AIGLX" "True"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath 	    "/usr/share/fonts/terminus/"	
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts/cyrillic"    
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "Module"
    Load           "type1"
    Load           "glx"
    Load           "extmod"
    Load           "wfb"
    Load           "xtrap"
    Load           "record"
    Load           "dbe"
    Load	   "ddc"
    Load	   "bitmap"
    Load 	   "i2c"
    Load	   "vbe"         
    Load	   "dri"
#    Load           "freetype"
EndSection

Section "ServerFlags"
    Option         "AutoAddDevices" "False"
    Option	   "DontZap" "False"    
EndSection

Section "InputDevice"
    Identifier     "TouchPad"
    Driver         "synaptics"
    Option         "SendCoreEvents" "true"
    Option         "Protocol" "auto-dev"    
    Option         "HorizEdgeScroll" "on"
    Option	   "VertTwoFingerScroll" "on"
    Option         "SHMConfig" "on"
EndSection

Section "InputDevice"
    Identifier     "Mouse"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier     "Keyboard"
    Driver         "kbd"    
    Option 	   "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option 	   "XkbLayout" "en_US,ru"
    Option 	   "XkbVariant" ",winkeys"    
    Option 	   "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,compose:ralt"
EndSection

Section "Monitor"
    Identifier     "Notebook Monitor"
    Option         "UseEdidDpi" "false"
    Option         "DPI" "98 x 98"
    Option         "DPMS" "TRUE"
#    Modeline 	   "1280x800_60.00"
EndSection

Section "Device"
    Identifier     "nVidia GeForce 8600GT"
    Driver         "nvidia"
    Option 	   "NoLogo" "TRUE"
    Option 	   "TripleBuffer" "true"
    Option 	   "XAANoOffscreenPixmaps"
    Option 	   "RenderAccel" "true"
    Option 	   "AllowGLXWithComposite" "true"
    Option 	   "AddARGBGLXVisuals" "True"
    Option 	   "NvAgp" "3"
    BusId	   "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen"
    Device         "nVidia GeForce 8600GT"
    Monitor        "Notebook Monitor"
    Option         "AddARGBGLXVisuals" "True"    
    SubSection     "Display"
        Viewport    0 0
	#Modes 	    "1280x800_60.00"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"	
    Option         "Composite" "Enable"
EndSection

satsura
() автор топика
Ответ на: комментарий от satsura

Попробовал продебагить:

fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:menu:SetMenuInfo MNS_NOTIFYBYPOS partially implemented
trace:key:X11DRV_KeyEvent type 2, window 2c0004e, state 0x0010, keycode 0x0026
trace:key:X11DRV_KeyEvent nbyte = 1, status 0x4
trace:key:X11DRV_KeyEvent KeyPress : keysym=61 (a), # of chars=1 / "a"
trace:key:EVENT_event_to_vkey e->keycode = 26
trace:key:X11DRV_KeyEvent keycode 0x26 converted to vkey 0x41
trace:key:X11DRV_send_keyboard_input  wParam=0090, lParam=01450001, InputKeyState=0
trace:key:X11DRV_send_keyboard_input  wParam=0090, lParam=c1450001, InputKeyState=c1
trace:key:X11DRV_KeyEvent bScan = 0x1e.
trace:key:X11DRV_send_keyboard_input  wParam=0041, lParam=001e0001, InputKeyState=0
trace:key:TranslateMessage Translating key VK_NUMLOCK (0090), scancode 45
trace:key:X11DRV_ToUnicodeEx (0090, 0145) : faked state = 0x0010
trace:key:EVENT_event_to_vkey e->keycode = 4d
trace:key:X11DRV_ToUnicodeEx type 2, window 2c0004e, state 0x0010, keycode 0x004d
trace:key:X11DRV_ToUnicodeEx nbyte = 0, status 0x3
trace:key:X11DRV_ToUnicodeEx KeyPress : keysym=FF7F (Num_Lock), # of chars=0 / ""
trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 0 with char 0 
trace:key:TranslateMessage Translating key VK_A (0041), scancode 1e
trace:key:X11DRV_ToUnicodeEx (0041, 001E) : faked state = 0x0010
trace:key:EVENT_event_to_vkey e->keycode = 26
trace:key:X11DRV_ToUnicodeEx type 2, window 2c0004e, state 0x0010, keycode 0x0026
trace:key:X11DRV_ToUnicodeEx nbyte = 1, status 0x4
trace:key:X11DRV_ToUnicodeEx KeyPress : keysym=61 (a), # of chars=1 / "a"
trace:key:X11DRV_ToUnicodeEx Translating char 0x61 to unicode
trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 1 with char 61 
trace:key:TranslateMessage 1 -> PostMessageW(0x1004a,WM_CHAR,0061,001e0001)
trace:key:X11DRV_KeyEvent type 2, window 2c0004e, state 0x0010, keycode 0x003e
trace:key:X11DRV_KeyEvent nbyte = 0, status 0x3
trace:key:X11DRV_KeyEvent KeyPress : keysym=FFE2 (Shift_R), # of chars=0 / ""
trace:key:EVENT_event_to_vkey e->keycode = 3e
trace:key:X11DRV_KeyEvent keycode 0x3e converted to vkey 0x1a1
trace:key:X11DRV_KeyEvent bScan = 0x36.
trace:key:X11DRV_send_keyboard_input  wParam=00a1, lParam=01360001, InputKeyState=0
trace:key:TranslateMessage Translating key VK_SHIFT (0010), scancode 36
trace:key:X11DRV_ToUnicodeEx (0010, 0036) : faked state = 0x0011
trace:key:X11DRV_KeyEvent type 2, window 2c0004e, state 0x0010, keycode 0x0026
trace:key:X11DRV_KeyEvent nbyte = 1, status 0x4
trace:key:X11DRV_KeyEvent KeyPress : keysym=61 (a), # of chars=1 / "a"
trace:key:EVENT_event_to_vkey e->keycode = 26
trace:key:X11DRV_KeyEvent keycode 0x26 converted to vkey 0x41
trace:key:X11DRV_KeyEvent bScan = 0x1e.
trace:key:X11DRV_send_keyboard_input  wParam=0041, lParam=401e0001, InputKeyState=c1
trace:key:TranslateMessage Translating key VK_A (0041), scancode 1e
trace:key:X11DRV_ToUnicodeEx (0041, 401E) : faked state = 0x0011
trace:key:EVENT_event_to_vkey e->keycode = 26
trace:key:X11DRV_ToUnicodeEx type 2, window 2c0004e, state 0x0011, keycode 0x0026
trace:key:X11DRV_ToUnicodeEx nbyte = 1, status 0x4
trace:key:X11DRV_ToUnicodeEx KeyPress : keysym=41 (A), # of chars=1 / "A"
trace:key:X11DRV_ToUnicodeEx Translating char 0x41 to unicode
trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 1 with char 41 
trace:key:TranslateMessage 1 -> PostMessageW(0x1004a,WM_CHAR,0041,401e0001)
trace:key:X11DRV_send_keyboard_input  wParam=00a1, lParam=c1360001, InputKeyState=c1

Тут я нажал шифт:

trace:key:X11DRV_KeyEvent type 2, window 2c0004e, state 0x0010, keycode 0x003e
trace:key:X11DRV_KeyEvent nbyte = 0, status 0x3
trace:key:X11DRV_KeyEvent KeyPress : keysym=FFE2 (Shift_R), # of chars=0 / ""
trace:key:EVENT_event_to_vkey e->keycode = 3e
trace:key:X11DRV_KeyEvent keycode 0x3e converted to vkey 0x1a1
trace:key:X11DRV_KeyEvent bScan = 0x36.
trace:key:X11DRV_send_keyboard_input  wParam=00a1, lParam=01360001, InputKeyState=0
trace:key:TranslateMessage Translating key VK_SHIFT (0010), scancode 36

А вот тут (после шевеления мышкой) шифт отжался:

trace:key:X11DRV_send_keyboard_input  wParam=00a1, lParam=c1360001, InputKeyState=c1

Почему он не отжался сразу?

satsura
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.