Ticket #1827 (closed bug: fixed)
crash: crash when pressing DELETE after typing in sticky
Reported by: | danvisel | Owned by: | diana |
---|---|---|---|
Priority: | major | Milestone: | M09_BETA1 |
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: | danvisel | Design_owners: | diana, meddle |
Imp._owners: | diana, meddle | Test_owners: | |
Analysis_reviewers: | diana, meddle | Changelog: | |
Design_reviewers: | meddle | Imp._reviewers: | meddle |
Test_reviewers: | Analysis_score: | 3 | |
Design_score: | 3 | Imp._score: | 3 |
Test_score: | 0 |
Description
- Open Sophie.
- Create new book.
- Add new sticky.
- Type text in sticky.
- Press DELETE/BACKSPACE.
Crash on 5, attached.
Attachments
Change History
Changed 16 years ago by danvisel
- Attachment crash when pressing delete while entering text in a sticky added
comment:2 Changed 16 years ago by diana
- Design_owners set to diana
- Status changed from s1b_analysis_finished to s2a_design_started
- Imp._owners set to diana
The exception is caused by the fact that the source of the event when deleting in sticky isn't HotTextContentView but StickyView.
It is fixed by adding try/catch block and casting the source event to HotTextView.
source code: [4824]
comment:3 Changed 16 years ago by diana
- Status changed from s2a_design_started to s2b_design_finished
comment:5 Changed 16 years ago by diana
- Owner set to diana
- Status changed from s2c_design_ok to s3a_implementation_started
comment:6 Changed 16 years ago by diana
- Status changed from s3a_implementation_started to s3b_implementation_finished
comment:7 Changed 16 years ago by meddle
- Design_owners changed from diana to diana, meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Imp._owners changed from diana to diana, meddle
- Analysis_reviewers set to diana, meddle
- Analysis_score changed from 0 to 3
- Imp._reviewers set to meddle
- Design_score changed from 0 to 3
- Design_reviewers set to meddle
- Imp._score changed from 0 to 3
This fix is a classic Exception Swallowing case, so I fix it instead : [4910].
There are other sticky bugs:
- In true runner stickies can not be inserted.
- When type text in stickies and the bottom palette is opened the text is not showed...
3p (25m)
Note: See
TracTickets for help on using
tickets.
crash after pressing backspace while entering text in sticky