Opened 10 years ago

Closed 9 years ago

#10257 closed defect (duplicate)

Dialog: underlay disappear during consecutive hide and show

Reported by: jefimm Owned by:
Priority: high Milestone: 1.5
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

The following problem happens to me when using dijit.Dialog when using several dialogs that imitate series of questions to the user:

  1. open dialog1
  2. in the dialog press a button that closes this dialog (dialog1) and opens dialog2.

Problem: the dialog2 is shown but the dialog underlay disappears. If the window is re-sized then the underlay is shown.

Attachments (1)

test.html (1.6 KB) - added by jefimm 10 years ago.
sample demonstrating the problem

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by bill

Description: modified (diff)
Milestone: tbd1.4
Resolution: duplicate
Status: newclosed
Summary: dialog underlay disapperDialog: underlay disappear

Version 1.3 didn't support multiple dialogs. Version 1.4 does.

If this is still failing in 1.4, then as usual please attach a test case using the Attach file button. Also, list what browser/OS it fails on?.

comment:2 in reply to:  1 Changed 10 years ago by jefimm

Resolution: duplicate
Status: closedreopened

Replying to bill:

Version 1.3 didn't support multiple dialogs. Version 1.4 does.

If this is still failing in 1.4, then as usual please attach a test case using the Attach file button. Also, list what browser/OS it fails on?.

This fails on FF 3.5.4/WindowsXP. Does showing a sequence of dialogs (only one active at a time) means multiple dialogs ?

comment:3 Changed 10 years ago by bill

Resolution: duplicate
Status: reopenedclosed

I guess that's a bit different, still might be fixed in 1.4.

Anyway this is a dup of #2238.

comment:4 in reply to:  3 Changed 10 years ago by jefimm

Resolution: duplicate
Status: closedreopened

Replying to bill:

I guess that's a bit different, still might be fixed in 1.4.

Anyway this is a dup of #2238.

This is different that the #2238 as the dialog itself is displayed, the background is not.

comment:5 Changed 10 years ago by bill

Milestone: 1.41.5

OK, then, as I said above, you need to attach a test case using the attach file button.

Changed 10 years ago by jefimm

Attachment: test.html added

sample demonstrating the problem

comment:6 Changed 9 years ago by Karl Tiedt

this is because calling dlg1.hide(); dlg2.show() use the same underlay... dlg1._hideAnim (made up name) is still playing when dlg2._showAnim (made up name) starts... so you have a race condition and 2 animations fighting over what to do... one of them probably ends up failing (the dlg2._showAnim would be my guess)

comment:7 Changed 9 years ago by bill

Resolution: duplicate
Status: reopenedclosed
Summary: Dialog: underlay disappearDialog: underlay disappear during consecutive hide and show

OK, I'll handle it along with #2238. Yes, I understand it's a problem with the underlay.

Note: See TracTickets for help on using tickets.