[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25658] dragging a table in diagram view problem
From: |
matt rice |
Subject: |
[bug #25658] dragging a table in diagram view problem |
Date: |
Sat, 21 Feb 2009 18:53:15 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 |
Update of bug #25658 (project gnustep):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #2:
hmm, I can confirm this but not able to reliably reproduce it every time it
appears intermittently,
the way the diagram view works, is each entity has a subview, and upon
receiving a mouse event they 'order the view front' by using NSView
-sortSubviewsUsingFunction: in this case it appears that either the mouse
event is being received by the view which is not on top, or the view which was
last displayed was not on top, e.g. maybe -setNeedsDisplayInRect: was called
on it with some point which doesn't overlap the actual top view
also, note that the tables can actually overlap regardless of the amount of
tables or size of the DiagramView, it currently just gets 2 completely random
points, (and when you move them it doesn't even save them (wanted to warn you
about this before you actually go and layout by hand all 60 tables only to
find out next time you open the file it looks like crud).
I have been considering using an external library for doing all of the
layout, and most layout algorithms do not remember by-hand placement, so i may
just fix this bug by removing the ability to have overlapping entities
altogether.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25658>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/