Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329986 - Cannot resize figure beyond canvas limits on Mac Cocoa
Summary: Cannot resize figure beyond canvas limits on Mac Cocoa
Status: RESOLVED FIXED
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.6.1   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.7.1 (Indigo) M5   Edit
Assignee: Alexander Nyßen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 332599
Blocks:
  Show dependency tree
 
Reported: 2010-11-11 06:44 EST by CLA
Modified: 2011-01-31 10:52 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CLA 2010-11-11 06:44:05 EST
Build Identifier: M20100909-0800

On Mac Carbon you can resize a figure on the canvas by dragging the resize handle beyond the limits of the canvas and releasing the mouse button. However, this is not possible on Mac Cocoa, the figure remains the same size.

Reproducible: Always
Comment 1 CLA 2010-12-04 13:03:53 EST
Is there a clue as to what causes this?
Comment 2 Alexander Nyßen CLA 2010-12-15 01:34:39 EST
It seems to be an SWT regression. 

When leaving the viewer with the mouse pressed and releasing it outside, on MacOSX Cocoa, the mouse release event is received after the mouse exited event, which causes the drag tracker to be set to null before the mouse release event could complete the resize.

While I do not have have Carbon at hand, I verified that on win xp, where the mechanism is still working, the respective events occur in inverse order, so the mouse release is received before the mouse exited and the drag tracker is thus still available when the mouse release is processed.
Comment 3 Alexander Nyßen CLA 2010-12-15 02:42:40 EST
Created new SWT bug #332599 to keep track of this.
Comment 4 Alexander Nyßen CLA 2010-12-19 06:06:07 EST
Verified that with Eclipse 3.7 N20101218-2000 resizing beyond canvas is operable on MacOSX Cocoa.
Comment 5 CLA 2011-01-31 10:52:03 EST
Tested on Eclipse 3.7 I20110127-2034 and GEF 3.7 I201101272050. I can confirm that this works as expected.

Thanks.