Closed Bug 981840 Opened 12 years ago Closed 12 years ago

crashing the image cropping tool

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

x86_64
Linux
defect
Not set
normal

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: nobody → scott
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)
Attachment #8388787 - Flags: review?(jon) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(scott)
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: needinfo?(scott)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: