bugGNUstep - Bugs: bug #25658, dragging a table in diagram view...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #25658: dragging a table in diagram view problem

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sat 21 Feb 2009 05:52:16 PM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 21 Feb 2009 06:53:15 PM UTC, 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.

matt rice <ratmice>
Project Member
Sat 21 Feb 2009 05:54:45 PM UTC, comment #1:

forgot openbsd 4.4, i386:
libffi-3.0.8
gnustep-make-2.0.8
gnustep-base-1.18.0p0
gnustep-back-0.16.0 (using xlib)
gnustep-gorm-1.2.8
gnustep-renaissance-0.8.0
gnustep-dl2-0.12.0 (and from svn)

(file #17494)

Sebastian Reitenbach <buzzdee>
Project Member
Sat 21 Feb 2009 05:52:16 PM UTC, original submission:

Hi,

not really sure, whether this is a problem in the app, or maybe a levelling problem in -gui or my backend. However, I saw this problem in DBModeler here first:

  • start dbmodeler
  • open a postgres DB model from a database

* the database should contain many tables, so that the diagram view is not large enough to show the tables without the need of overlapping.

  • switch to the diagram view
  • try to grab a table on the headline

* below the mouse arrow, when clicking on the headline of a table to be dragged, there should be at least one another table a level below

  • after try dragging the window, and then releasing the mouse button, the window stays in its original location, and the field from the table below becomes marked and visible on top of the overlaying other table. See screenshot.

In the screenshot I clicked on the appointment_resource table and tried to drag it around. The "department" showed up, as soon as I released the mouse button.

Also dragging becomes very slow, and the diagram view nearly unusable, when there are more than a handful of tables in the model, e.g. I loaded the opengroupware database model, with about 60 tables, the diagram view is nearly unusable.

Sebastian Reitenbach <buzzdee>
Project Member

 

Attached Files
file #17494:  dbmodeler_diagram_view.png added by buzzdee (11kB - image/png - mentioned screenshot)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ratmice (Posted a comment)
  • -unavailable- added by buzzdee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Feb 2009 06:53:14 PM UTCratmiceStatusNone=>Confirmed
    Sat 21 Feb 2009 05:54:45 PM UTCbuzzdeeAttached File-=>Added dbmodeler_diagram_view.png, #17494

    Back to the top


    Powered by Savane 3.1-cleanup