Ticket #6286 (new defect)

Opened 4 months ago

Last modified 2 weeks ago

Toaster does not work with Dialog up

Reported by: guest Owned by: dante
Priority: normal Milestone: tbd
Component: DojoX Widgets Version: 1.0
Severity: normal Keywords: dojox Toaster Dialog
Cc: josh@…

Description (last modified by dante) (diff)

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

  Changed 4 months ago by guest

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

Johs

  Changed 4 months 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

  Changed 4 months 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

follow-up: ↓ 5   Changed 3 months 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.

in reply to: ↑ 4   Changed 3 months 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

  Changed 2 weeks ago by bill

  • milestone set to tbd

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

Note: See TracTickets for help on using tickets.