Closed Bug 1038311 Opened 10 years ago Closed 10 years ago

Hit testing doesn't work correctly.

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bijan, Assigned: tschneider)

References

Details

Attachments

(2 files)

The car should stop when it's off the track.
Fixed by https://github.com/mozilla/shumway/commit/93e379e0978c07b83df9f5921441f43ebb625428

Sorry about regressing that.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Attached file acid-click-0.fla
Clicking on the lighter colored part of the shape does not work. Normally a shape like this is composed of two disjoint paths. In this case, I *think* the IDE generates two overlapping paths because of the way the SWF was authored. The hit testing algorithm probably thinks the point is outside, since it is inside of two paths.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Assignee: nobody → schneider
I think we just have to return earlier whenever we start a new sub-shape (which happens when the fill/line style changes) and the hit-test is already positive at that point.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: