MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009399 | VTK | (No Category) | public | 2009-08-12 01:36 | 2016-08-12 09:55 |
| Reporter | matt99 | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0009399: can't catch mouse button release events | ||||
| Description | I attached very simple dialog based MFC application. This simple application doesn't work properly with vtk 5.4.2. I added observer : m_pvtkMFCWindow->GetInteractor()->AddObserver(vtkCommand::RightButtonReleaseEvent, m_pvtkCallback); And it's callback function is also simple : class vtkCallback : public vtkCommand { public: static vtkCallback *New() { return new vtkCallback; } vtkCallback::vtkCallback() {}; vtkCallback::~vtkCallback() {}; virtual void Execute(vtkObject *caller, unsigned long, void*) { AfxMessageBox("callback"); } }; But when I click right mouse button, message box is not shown. I could see the message when I double-click my right mouse button. Also it works when I press left button, and press right button, now release left button and finally release right button. All release events of left, middle, right button don't work, and this application works well with vtk 5.0.4. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/7400/testVTK.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-08-12 01:36 | matt99 | New Issue | |||
| 2009-08-12 01:36 | matt99 | File Added: testVTK.zip | |||
| 2009-10-23 04:25 | matt99 | Note Added: 0018200 | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037095 | |||
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||