Bug 161727

Summary: Selection tool allows selection of objects in compartments that are not being shown.
Product: [Modeling] GMF-Runtime Reporter: Syed Atif <syedatif>
Component: GeneralAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: usability
Version: 2.0   
Target Milestone: 2.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot that shows the problem. none

Description Syed Atif CLA 2006-10-20 10:39:47 EDT
To reproduce:
1. Create a new logic diagram.
2. Create a circuit on the diagram.
3. Create an LED inside the circuit and place it in the bottom-right corner.
4. Resize the circuit from the bottom-right handle such that the LED cannot be seen.
5. Try clicking in the region of the diagram surface where the LED is supposed to be -> the hidden LED cannot be selected.
6. Now make a selection rectangle around the region the LED is supposed to be -> the LED gets selected.
Comment 1 Syed Atif CLA 2006-10-20 10:43:28 EDT
Created attachment 52396 [details]
Screenshot that shows the problem.

Drawing a selection rectangle around the region of the hidden LED in the compartment selects the LED.
Comment 2 Alex Boyko CLA 2007-04-16 14:52:26 EDT
I had a fix for this prototyped somewhere. Assigning it to myself.
Comment 3 Alex Boyko CLA 2007-04-17 11:36:15 EDT
Committed to head for 2.0
Comment 4 Eclipse Webmaster CLA 2010-07-19 12:29:49 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug