Closed
Bug 981840
Opened 12 years ago
Closed 12 years ago
crashing the image cropping tool
Categories
(Webmaker Graveyard :: Popcorn Maker, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thecount, Assigned: thecount)
Details
Attachments
(1 file)
STR:
1. start a blank project
2. add an image event from the events tab
3. save and name the project
4. copy that image event
5. paste it
6. open the crop tool on the newly pasted event
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → scott
| Assignee | ||
Comment 1•12 years ago
|
||
This was a fun one.
After looking deeper in the code, I can now give better strs:
1. new project
2. open project editor
3. add image event
4. go to crop it
Expected: should see the cropping tools, and only one set of them. Using them should not crash things.
Actual: looks like we now have two cropping tools, and using it causes crashes.
This is because when we make a new editorHelper, we add a trackeventupdated event that sets up the cropping tools. When the app first loads, it does this.
However, when we load the project editor, we setup a second editor helper using the same butter instance, which causes duplicate events. So if you add or update a track event, it gets two sets of editor helpers listening to it.
The fix is to get the project editor to use the previous editorHelper.
Attachment #8388787 -
Flags: review?(jon)
Updated•12 years ago
|
Attachment #8388787 -
Flags: review?(jon) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Staged: https://github.com/mozilla/popcorn.webmaker.org/commit/f164edfa7c8fa3632ac6e0c25e37da008819ecbc
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(scott)
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Flags: needinfo?(scott)
You need to log in
before you can comment on or make changes to this bug.
Description
•