Ticket #2237 (closed bug: obsolete)
Drag over some palettes causes exception.
Reported by: | kyli | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | X3 |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | kyli | Design_owners: | deni |
Imp._owners: | deni | Test_owners: | |
Analysis_reviewers: | deni | Changelog: | |
Design_reviewers: | pap | Imp._reviewers: | pap |
Test_reviewers: | Analysis_score: | 5 | |
Design_score: | 4 | Imp._score: | 3.5 |
Test_score: | 0 |
Description
- Start Sophie2.
- Go to the "Library" tab, make sure no template is selected there.
- Click with the left mouse button on any of the palettes and drag the mouse. Exception occurs.
- Close the bug report form, switch to the desktop book.
- Select the "All resources" palette, click and drag. Exception occurs again.
Attachments
Change History
comment:2 Changed 15 years ago by deni
- Design_owners set to deni
- Status changed from s1b_analysis_finished to s2a_design_started
- Imp._owners set to deni
- Analysis_reviewers set to deni
- Analysis_score changed from 0 to 5
comment:3 Changed 15 years ago by deni
- Status changed from s2a_design_started to s3b_implementation_finished
- Add a check whether the first selected item in the palette is null (and if so, do not handle the event) in the following operations:
- ON_FRAME_TEMPLATE_DND_EXPORT in LibraryTabLogic
- ON_PAGE_TEMPLATE_DND_EXPORT in LibraryTabLogic
- ON_BOOK_TEMPLATE_DND_EXPORT in LibraryTabLogic
- ON_DND_EXPORT in AllResourcesPaletteLogic
comment:4 Changed 15 years ago by pap
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Design_score changed from 0 to 4
- Design_reviewers set to pap
- Imp._score changed from 0 to 3.5
- Imp._reviewers set to pap
- "assert myObeject instanceof myClass; assert myObject != null;" makes no sense as if myObject is null the first assertion will fail.
- I am not so sure you should add all those assertions.
- Commited to trunk in [8426].
Note: See
TracTickets for help on using
tickets.