Bug 344180 - [diagram] View doesn't scoll when dragging a node out of the visible area
Summary: [diagram] View doesn't scoll when dragging a node out of the visible area
Status: REOPENED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Shenxue Zhou CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2011-04-28 14:50 EDT by Troy Beecroft CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Troy Beecroft CLA 2011-04-28 14:50:21 EDT
Build Identifier: 

If you drag a node beyond the edge of the editor frame the canvas grows accordingly.  However, the view isn't scrolled to keep the node visible - which is the more common behavior in this circumstance.

Another side effect is that you're limited in how far you can drag the node - by the Windows desktop tracking of the mouse - rather than the typically unlimited movability (or limited by the max canvas size, if there is one).

Reproducible: Always
Comment 1 Konstantin Komissarchik CLA 2011-06-03 17:26:57 EDT
In the future, we should compare GEF semantics on this to semantics in other graph editing tools, but deferring for now.
Comment 2 Konstantin Komissarchik CLA 2011-11-02 22:10:04 EDT
Bulk deferral of diagram-related items to the 0.5 release.
Comment 3 Shenxue Zhou CLA 2012-05-24 15:44:21 EDT
OK, I've spent a couple of hours investigating the behaviors of other GEF based editors (Graphiti based editors, sample GEF editors etc). They all exhibit the same behavior when dragging nodes outside the diagram's visible area, which is, they don't scroll the canvas accordingly.

I've also investigated a possible fix for this but after 2 hours, I didn't find any.

Since this seems to be inherent with GEF based editors, let's not spend more time on this unless there is a customer outcry for a remedy.
Comment 4 Konstantin Komissarchik CLA 2012-05-24 16:08:58 EDT
This seems like a legitimate usability issue even if it is an issue that affects all GEF editors. I don't want to just let this go. Have you tried discussing this with GEF team?
Comment 5 Shenxue Zhou CLA 2012-05-24 16:28:06 EDT
I've opened this GEF bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=380586

Let's see what the GEF team say about this.