Ticket #11 (closed Bug: fixed)

Opened 17 years ago

Last modified 11 years ago

Several bugs related to precedences graph (2)

Reported by: Jerome Legrand Owned by:
Priority: minor Milestone: 3.1
Component: graphical_editor Version: trunk
Keywords: Cc:

Description (last modified by jlegrand) (diff)

The precedences graph component edition (add/delete) capabilities should be suppressed in order to limit bugs and make add/update dialog boxes independent from this graph.

These bugs has been found and non resolved in ticket 10 fixes.

Bug 1

"new item" dialog box is modal but does not remain visible if the user click on another Cheddar window.

Bug 2

2 structures (an array and a list) are used to manage item in "dependences graph" dialog box. A variable represents last item added index. When an item is added, this variable is incremented (Ok) but when an item is removed, it is not decremented...

Furthermore, the use of the 2 structures is not clear in the source code...

Bug 3

One can find the following string hard coded : "message", "buffer" and "task"...

Bug 4

When a user add an item, a new_item_object is allocated. If the item creation is canceled, this object is not freed...

Bug 5

When an item is created, its location on the precedences graph is on coordinate (0, 0). It should be located on mouse click coordinate.

Bug 6

When an item is deleted in the "add/update" dialog box, the corresponding graphical representation in the "dependences graph" is deleted as well (should be on close).

If this operation is canceled ("cancel" button), the graphical representation does not reappear and the item has been removed from the internal array, so if one try to remove the same item, Cheddar crashed...

Furthermore, if to many delete operation occur, Cheddar can crash.

Bug 7

After the "Limit creation" test, the project cannot be saved (buffer coordinate pb).

Change History

comment:1 Changed 17 years ago by jerome

  • Description modified (diff)

comment:2 in reply to: ↑ description Changed 17 years ago by jerome

Replying to Jerome Legrand:

When an item is added, this variable is incremented (Ok) but when an item is removed, it is not decremented...

Last_Item is now decremented.

comment:3 Changed 17 years ago by jlegrand

  • Description modified (diff)

comment:4 Changed 17 years ago by jlegrand

  • Description modified (diff)

comment:5 Changed 17 years ago by jlegrand

  • Description modified (diff)

comment:6 Changed 17 years ago by jlegrand

  • Description modified (diff)

comment:7 Changed 11 years ago by singhoff

  • Status changed from new to closed
  • Resolution set to fixed

the dependency window has been deleted to fix this issue

comment:8 Changed 11 years ago by jlegrand

  • Milestone changed from Unknown to 3.0

comment:9 Changed 11 years ago by jlegrand

  • Milestone changed from 3.0 to Cheddar Kernel 3.0.2
Note: See TracTickets for help on using tickets.