Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#15092 closed defect (fixed)

View should be hidden when loaded via ViewController#openExternalView with noTransition option

Reported by: Atsushi Ono Owned by: ykami
Priority: low Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

When you load fragments by using ViewController#openExternalView function, the loaded view becomes visible even if specifying "noTransition:true" option. Please try the attached test case, and you can see two visible views in the screen when clicking the button to load fragment.

I think this option would be used to load fragments in background, so it would be preferred that the view should be hidden when loaded with "noTransition:true" option.

Attachments (2)

test_openExternalView.html (1.3 KB) - added by Atsushi Ono 8 years ago.
test case
patch15092-test_data-handlers.patch (607 bytes) - added by Adrian Vasiliu 7 years ago.
Adrian Vasiliu, IBM, CCLA

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Atsushi Ono

Attachment: test_openExternalView.html added

test case

comment:1 Changed 8 years ago by ykami

Milestone: tbd1.8
Priority: undecidedlow
Status: newassigned

You can simply hide the view by yourself, but you may be right, probably it should be hidden by default. Thanks.

comment:2 Changed 8 years ago by ykami

Resolution: fixed
Status: assignedclosed

In [28257]:

Fixes #15092 !strict. Hide the externally loaded view when the noTransition option is specified.

Changed 7 years ago by Adrian Vasiliu

Adrian Vasiliu, IBM, CCLA

comment:3 Changed 7 years ago by Adrian Vasiliu

The attached patch15092-test_data-handlers.patch modifies a label in dojox/mobile/tests/test_data-handlers.html to make clear that now the button "Load view2" doesn't have any visible effect anymore (this button uses viewController.openExternal() with no transition). This is to avoid the confusion when running the test.

comment:4 Changed 7 years ago by cjolif

In [28711]:

refs #15092. Improve the test documentation. Thanks Adrian Vasiliu (IBM, CCLA).

Note: See TracTickets for help on using tickets.