Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6286 closed defect (invalid)

Toaster does not work with Dialog up

Reported by: guest Owned by: dante
Priority: high Milestone: tbd
Component: DojoX Widgets Version: 1.0
Keywords: dojox Toaster Dialog Cc: josh@…
Blocked By: Blocking:

Description (last modified by dante)

I was trying out the Toaster widget and I noticed that it doesn't work when a dialog is up. The toaster always moves to the upper left corner of the dialog's title bar, underneath the dialog's Title text.

Tested with 1.0 and 1.1b3.

<div dojoType="dojox.widget.Toaster"

id="PB_Toaster" jsId="PB_Toaster" positionDirection="tr-down" style="display:hide" duration="2500"></div>

Thanks!

Josh

Change History (7)

comment:1 Changed 11 years ago by guest

I meant to say "The text always moves to the upper left"

Johs

comment:2 Changed 11 years ago by guest

ok - this is still a bug, but works as described above if you forget to load dojox/widget/Toaster/Toaster.css (which isn't mentioned on the dojo book page). When loading the CSS the wiget appears in what can only be described as "odd" positions.

Can the book page:

http://www.dojotoolkit.org/book/dojo-book-0-9/part-5-dojox-extensions-dojo/experimental-widgets/toaster

be updated to show inclusion of Toaster.css?

Josh

comment:3 Changed 11 years ago by guest

Little more info - seems like if the Toaster widget is declared in the page content returned by the dialog (via an href for example) then the above behavior happens. If I move the Toaster div to the main page what also defines the dialog then the Toaster appears where it should (though it is grayed out). I'm not sure what an "ideal" solution would be - it'd be nice I guess if the Toaster appeared in the Dialog's corners but I can see cases with small dialogs where that is not desirable.

Josh

comment:4 Changed 11 years ago by dante

Description: modified (diff)

Can you possibly attach a testcase demonstrating this not working? There seems to be varying levels of "bug" in this ticket.

comment:5 in reply to:  4 Changed 11 years ago by guest

Replying to dante:

Can you possibly attach a testcase demonstrating this not working? There seems to be varying levels of "bug" in this ticket.

I'm confused because something changed in my page and now the Toaster does appear in the corners of the Dialog popup instead of greyed out in the main content. I would say close the bug. I will re-open if I can find a definitive case where not working as expected. Might be good to update Toaster docs/test page to have a Toaster from a Dialog test case though?

Josh

comment:6 Changed 11 years ago by bill

Milestone: tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

comment:7 Changed 11 years ago by dante

Resolution: invalid
Status: newclosed

no testcase available. one thing it might be is a simple z-index issue in the CSS, placing the toaster above the Dialog underlay (setting toasters z-index to the same as Dialog should work), but would still love a testcase. please reopen if you can track it down.

Note: See TracTickets for help on using tickets.