View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001208 | VTK | (No Category) | public | 2004-09-28 08:32 | 2011-01-13 17:00 | ||||
Reporter | Jean-Michel Rouet | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | low | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001208: F10 and ALT keys on windows system | ||||||||
Description | F10 and ALT keys do not generate the KeyPress event on windows system. This is because windows make a special use of those keys (popup menu), and generates WM_SYSKEYUP/DOWN instead of the usual WM_KEYUP/DOWN message. A possible change is to add "case WM_SYSKEYDOWN:" and "case WM_SYSKEYUP:" in conjunction with KEYDOWN and KEYUP in the vtkHandleMessage2() function of the vtkWin32RenderWindowInteractor.cxx file. Regards, JM | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0001844) Mathieu Malaterre (developer) 2004-12-23 00:51 |
Adding patch: Index: vtkWin32RenderWindowInteractor.cxx =================================================================== RCS file: /cvsroot/VTK/VTK/Rendering/vtkWin32RenderWindowInteractor.cxx,v retrieving revision 1.89 diff -u -3 -p -r1.89 vtkWin32RenderWindowInteractor.cxx --- vtkWin32RenderWindowInteractor.cxx 15 Dec 2004 14:35:05 -0000 1.89 +++ vtkWin32RenderWindowInteractor.cxx 23 Dec 2004 05:50:48 -0000 @@ -696,10 +696,12 @@ LRESULT CALLBACK vtkHandleMessage2(HWND break; case WM_KEYDOWN: + case WM_SYSKEYDOWN: me->OnKeyDown(hWnd,wParam,LOWORD(lParam),HIWORD(lParam)); break; case WM_KEYUP: + case WM_SYSKEYUP: me->OnKeyUp(hWnd,wParam,LOWORD(lParam),HIWORD(lParam)); break; |
(0002045) Mathieu Malaterre (developer) 2005-02-07 16:42 |
Fixed in CVS: $ cvs ci -m"BUG: Fix Bug 0001208 - F10 and ALT keys on windows system. Thanks to JM Rouet for report and patch" vtkWin32RenderWindowInteractor.cxx /cvsroot/ParaView/ParaView/VTK/Rendering/vtkWin32RenderWindowInteractor.cxx,v <-- vtkWin32RenderWindowInteractor.cxx new revision: 1.90; previous revision: 1.89 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-11-29 17:59 | Mathieu Malaterre | Source_changeset_attached | => VTK master 0527d032 |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |