#12561 closed defect (fixed)
[patch][ccla]dojox.gfx.canvas.Surface.setDimensions performs unnecessary resizing resulting in blinking effect on mobile
Reported by: | Patrick Ruzand | Owned by: | Chris Mitchell |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX GFX | Version: | 1.6.0 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description
The current implementation of Surface.setDimensions() does not check the new size wrt the current size. If the sizes are the same, this unnecessary resizing results in blinking effects on mobile.
Attachments (3)
Change History (10)
Changed 10 years ago by
Attachment: | 12561.patch added |
---|
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Summary: | dojox.gfx.canvas.Surface.setDimensions performs unnecessary resizing resulting in blinking effect on mobile → [patch][ccla]dojox.gfx.canvas.Surface.setDimensions performs unnecessary resizing resulting in blinking effect on mobile |
---|
comment:3 Changed 10 years ago by
new patch: fix patch base directory (base dir. was dojox/gfx/, now root of dojox/)
Changed 10 years ago by
Attachment: | 12561.3.patch added |
---|
improve fix to avoid the makeDirty() call if no resize has been done
comment:4 Changed 10 years ago by
Note: in case the patch 7782 (add input events support to canvas) is applied, this patch (12561) must be applied *after* 7782
comment:5 Changed 10 years ago by
Owner: | changed from Eugene Lazutkin to Chris Mitchell |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Code by Stephane Lizeray (IBM, CCLA)