Opened 16 years ago

Closed 15 years ago

#470 closed defect (fixed)

Toolbar: Icon toolbar button can cause Firefox Throbber to start

Reported by: [email protected] Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.2
Keywords: Cc:
Blocked By: Blocking:


If I load the HTML below into Firefox 1.501 in either OSX or Windows XP, then click on the 'g1' button in the toolbar, the throbber spins for no reason that appears obvious.

Doesn't happen if the button isn't in a button group. Doesn't happen if there are no icon buttons in the group. Doesn't happen if I create the HTML layout procedurally.

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xmlns:svg="" xmlns:xhtml="" xmlns:xlink="">
html, body{	
  width: 100%;	/* make the body expand to fill the visible window */
  height: 100%;
  overflow: hidden;	/* erase window level scrollbars */
  padding: 0 0 0 0;
  margin: 0 0 0 0;
.toolbarCanvas {

<script type="text/javascript">
var djConfig = {
    isDebug: false,
    debugAtAllCosts: false,
    ieClobberMinimal : true

<script type="text/javascript" src="javascripts/dojo/dojo.js"></script>

<script type="text/javascript">

<body id="root">

<div dojoType="LayoutPane" layoutChildPriority="top-bottom" id="editor">
<div dojoType="ToolbarContainer" id="toolbarLayout" layoutAlign="top">
<div dojoType="Toolbar" id="tb"></div>
<div dojoType="ContentPane" layoutAlign="client" id="drawing"></div>

<script type="text/javascript">
function img(name) {
	return dojo.uri.dojoUri("src/widget/templates/buttons/" + name + ".gif").toString();

function throbTest()
  var tb = new xdhToolbar();

function xdhToolbar()

dojo.lang.extend(xdhToolbar, {
      initToolbar: function() {
      if (!dojo) {
      var body = document.getElementById('root');
      var tc = dojo.widget.getWidgetById("toolbarLayout");
      var tb = dojo.widget.getWidgetById("tb");

      var bg = dojo.widget.createWidget("ToolbarButtonGroup", {
        name: "tools",
                                            defaultButton: "g2",
                                            preventDeselect: true
      bg.addChild('no image here');
      var tbi = dojo.widget.ToolbarItem.make(img("delete"));


Change History (3)

comment:1 Changed 16 years ago by dylan

Component: GeneralWidgets
Milestone: 0.5
Owner: changed from anonymous to bill

comment:2 Changed 15 years ago by bill

Component: WidgetsDijit
Milestone: 0.91.0
Summary: Icon toolbar button can cause Firefox Throbber to startToolbar: Icon toolbar button can cause Firefox Throbber to start

comment:3 Changed 15 years ago by bill

Milestone: 1.00.9
Resolution: fixed
Status: newclosed

The toolbar has been completely rewritten for 0.9 so this is no longer an issue.

Note: See TracTickets for help on using tickets.