fvpolpeta / devide

Automatically exported from code.google.com/p/devide
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Selection rectangle "sticks" when the cursor leaves the canvas during dragging #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click and hold the left mouse button in an empty area on the canvas
2. Drag to form a selection rectangle
3. While dragging, move the cursor outside the canvas window
4. Release the mouse button while the cursor is outside the canvas window
5. Move the cursor back onto the canvas

What is the expected output? What do you see instead?
The selection rectangle is still following the mouse, even though the mouse 
button has been released. During a dragging operation, DeVIDE should also 
capture mouse events outside the canvas window.

Original issue reported on code.google.com by stef.bus...@gmail.com on 18 Sep 2008 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 18 Sep 2008 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 4 Dec 2008 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 23 Dec 2008 at 5:36

GoogleCodeExporter commented 9 years ago
Confirmed in r3302 on Windows, but no problems on Linux x86_64.

Original comment by cpbotha on 27 Jan 2009 at 10:21

GoogleCodeExporter commented 9 years ago
wxVTKRWI activates capturing on Windows but NOT on Linux, which is strange.

The slice3dVWR behaves like I would expect: correctly on Windows (perfect mouse
capture) and not on Linux.

This seems to point at a problem in the canvas rubberbanding code.

Original comment by cpbotha on 27 Jan 2009 at 10:32

GoogleCodeExporter commented 9 years ago
Looks like devide_canvas is overriding the usual wx event handlers in the 
wxRWI, but
it's not doing any capturing.  Fix this.

Original comment by cpbotha on 27 Jan 2009 at 10:37

GoogleCodeExporter commented 9 years ago

Original comment by cpbotha on 28 Jul 2009 at 12:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3770.

Original comment by cpbotha on 10 Aug 2009 at 1:59