Opened 6 years ago

Closed 6 years ago

#17016 closed defect (fixed)

gfx.switchTo(newRenderer) does not update gfx.renderer

Reported by: Patrick Ruzand Owned by: Patrick Ruzand
Priority: undecided Milestone: 1.9
Component: DojoX GFX Version: 1.9.0b2
Keywords: Cc:
Blocked By: Blocking:

Description

While the gfx.renderer property is set at init time once a renderer has been found during the autodetection process, it is not updated if a gfx.switchTo() call is done later in the application lifecycle.

Attachments (2)

test_switchTo.html (1.9 KB) - added by Patrick Ruzand 6 years ago.
testcase
17016.patch (3.3 KB) - added by Patrick Ruzand 6 years ago.
patch by pruzand (IBM, CCLA)

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Patrick Ruzand

Attachment: test_switchTo.html added

testcase

comment:1 Changed 6 years ago by Patrick Ruzand

Milestone: tbd1.9
Owner: changed from Eugene Lazutkin to Patrick Ruzand
Status: newassigned

Changed 6 years ago by Patrick Ruzand

Attachment: 17016.patch added

patch by pruzand (IBM, CCLA)

comment:2 Changed 6 years ago by Patrick Ruzand

Resolution: fixed
Status: assignedclosed

In [31219]:

update gfx.renderer when switchTo() is called. fixes #17016

Note: See TracTickets for help on using tickets.