Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16996 closed defect (fixed)

SpinWheel not working when created declaratively in a SimpleDialog

Reported by: Sebastien Brunot Owned by: Eric Durocher
Priority: undecided Milestone: 1.9
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

initial report:

When declaratively instantiated, SpinWheel doesn't work correctly in SimpleDialog instances - touch overlays, etc. do not hide correctly.

This is caused by internal variables, which are initialized at startup, having incorrect values. This is down to the widget being hidden, as it's a child of a hidden SimpleDialog.

The advised solution for this class of problem is to call resize() on the SimpleDialog after show()ing it. This doesn't work for SpinWheel as its resize() implementation doesn't exist.

Attachments (2)

ticket16996-1.8.patch (4.0 KB) - added by Sebastien Brunot 7 years ago.
Patch for branch 1.8: add resize capability to SpinWheel?, and a manual test case for the ticket (IBM CCLA).
ticket16996-trunk.patch (4.0 KB) - added by Sebastien Brunot 7 years ago.
Patch for trunk: add resize capability to SpinWheel, and a manual test case for the ticket (IBM CCLA).

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Sebastien Brunot

Attachment: ticket16996-1.8.patch added

Patch for branch 1.8: add resize capability to SpinWheel?, and a manual test case for the ticket (IBM CCLA).

comment:1 Changed 7 years ago by Sebastien Brunot

Solution provided by initial reporter.

Changed 7 years ago by Sebastien Brunot

Attachment: ticket16996-trunk.patch added

Patch for trunk: add resize capability to SpinWheel, and a manual test case for the ticket (IBM CCLA).

comment:2 Changed 7 years ago by Eric Durocher

Resolution: fixed
Status: newclosed

In [31221]:

fixes #16996. Implement resize() on SpinWheel? and SpinWheelSlot? so they work inside hidden nodes like SimpleDialog?, + new test case for SpinWheel? in SimpleDialog?. Thanks Nick Maynard & Sebastien Brunot (IBM, CCLA) !strict

comment:3 Changed 7 years ago by Eric Durocher

Milestone: tbd1.9
Note: See TracTickets for help on using tickets.