Closed
Bug 480637
Opened 16 years ago
Closed 15 years ago
Zooming with navbar showing causes checkerboard to appear
Categories
(Firefox for Android Graveyard :: Panning/Zooming, defect)
Firefox for Android Graveyard
Panning/Zooming
Tracking
(Not tracked)
VERIFIED
FIXED
fennec1.0b2
People
(Reporter: taras.mozilla, Assigned: Gavin)
References
Details
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
Pan such that the navbar is showing, then zoomin(F7), the rightmost part of the canvas does not get painted. I think it's because vieportVisibleRect isn't reacting to partially hidden navbar correctly.
Panning fixes things.
Assignee | ||
Comment 1•16 years ago
|
||
Oops, didn't realize you'd already filed this.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 2•16 years ago
|
||
Er, wait, I'm confused. How is this different than bug 480639?
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Blocks: 496338
Comment 4•15 years ago
|
||
viewportInnerBounds is not updated after a zoom and that's the cause of the drawing error.
It's good on dlbClick cause the click finish by calling endKinetic who do a ws.dragStop which is the only function calling _viewportUpdate.
I'm not sure if it makes sense to had a startZooming/stopZooming code to WS?
I force here a ws.dragStart/ws.dragStop but it's seems a little dirty since we are not in a dragging session. Futhermore this zooming code (F7/8 or ScrollWheel only) can lead to have partially opened sidebar which is bad (bug 470989, I need to refactor it to take that into account)
Blocks: 470989
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Created an attachment (id=384084) [details]
> dirty patch to show where the problem is
>
> viewportInnerBounds is not updated after a zoom and that's the cause of the
> drawing error.
> It's good on dlbClick cause the click finish by calling endKinetic who do a
> ws.dragStop which is the only function calling _viewportUpdate.
Maybe we should just call the function directly
> I'm not sure if it makes sense to had a startZooming/stopZooming code to WS?
Probably not
> I force here a ws.dragStart/ws.dragStop but it's seems a little dirty since we
> are not in a dragging session. Futhermore this zooming code (F7/8 or
> ScrollWheel only) can lead to have partially opened sidebar which is bad (bug
> 470989, I need to refactor it to take that into account)
WidgetStack.panBy kind of does the same thing, checking to make sure we are not already dragging.
Assignee | ||
Comment 6•15 years ago
|
||
I _think_ this is more what we want - make sure to call _viewportUpdate from setViewportSize (which also handles calling _callViewportUpdateHandler).
Comment 7•15 years ago
|
||
Comment on attachment 384158 [details] [diff] [review]
WIP
r+, but remove the parts from other patches
Attachment #384158 -
Flags: review+
Assignee | ||
Comment 8•15 years ago
|
||
Assignee: nobody → gavin.sharp
Attachment #384084 -
Attachment is obsolete: true
Attachment #384158 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #384164 -
Flags: review?(mark.finkle)
Attachment #384164 -
Flags: review?(21)
Assignee | ||
Updated•15 years ago
|
Attachment #384164 -
Flags: review?(mark.finkle)
Comment 9•15 years ago
|
||
Comment on attachment 384164 [details] [diff] [review]
patch
Merci! :)
Attachment #384164 -
Flags: review?(21) → review+
Assignee | ||
Comment 10•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago → 15 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → B2
Comment 11•15 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20090821
Fennec/1.0b3pre
and
Mozilla/5.0 (Macintosh; U; Intel Mac OSX 10.5; en-US; rv:1.9.2a2pre)
Gecko/20090808 Fennec/1.0b3pre
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Component: General → Panning/Zooming
You need to log in
before you can comment on or make changes to this bug.
Description
•