Closed Bug 491874 Opened 15 years ago Closed 15 years ago

When mouse up during pan ends up on the title bar, painting ends

Categories

(Firefox for Android Graveyard :: Panning/Zooming, defect)

x86
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dougt, Assigned: blassey)

Details

Attachments

(1 file, 1 obsolete file)

During panning around, if you pan from the bottom of the screen to the top and let go on the windows mobile title bar, we do not repaint over the checkerboard.  Once in this state, we do not recover.
If you see checkboard, that's usually a sign that the canvas element has moved to the wrong position.  I see this sometimes with zooms.
From discussion on IRC, seems to be a problem with mouseout events causing panning to never stop, which doesn't allow the screen to update.
Attached patch treats a mouse out as a mouse up (obsolete) — Splinter Review
This fixes this bug for me.
Assignee: nobody → bugmail
Attachment #376410 - Flags: review?(combee)
Comment on attachment 376410 [details] [diff] [review]
treats a mouse out as a mouse up

I accept this as long as you remove the "mouseover" addEventListener, since that doesn't seem to be used.
Attachment #376410 - Flags: review?(combee) → review+
As I understand it, the point of the InputHandler is to have generic modules plug into it.  Given that we should allow those modules to handle mouseovers.
Attachment #376410 - Attachment is obsolete: true
Attachment #376442 - Flags: review?(pavlov)
Attachment #376442 - Flags: review?(pavlov) → review+
I'm cool with this... I don't think performance will be hurt too much by mouseover.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
verified FIXED on build:

Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090818 Fennec/1.0a3pre
Status: RESOLVED → VERIFIED
Component: General → Panning/Zooming
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: