Opened 16 years ago

Closed 15 years ago

#1666 closed defect (fixed)

Button disabled/enabled mouseover

Reported by: guest Owned by: Douglas Hays
Priority: high Milestone: 0.9
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


When using a button widget, first disabling it programatically by setDisabled(true) and afterwards enabling it by setDisabled(false), the mouseover cursor remains the 'no.gif' image, as defined in the ButtonTemplate?.css, instead of becoming the default cursor. This behavior is not occuring all the time, sometimes it's OK. A run through the code of Button.js did not reveal any errors... Issue noticed on nightly build of 2006-09-28.

Change History (6)

comment:1 Changed 16 years ago by dylan

Milestone: 0.4.1

comment:2 Changed 16 years ago by bill

Owner: changed from bill to Douglas Hays

comment:3 Changed 16 years ago by Douglas Hays

Resolution: worksforme
Status: newclosed

I made several attempts to recreate this and was unsuccessful using both IE6 and FF1.5 on WinXP. I need to know the platform, browser, and browser version that this happens on. A testcase would be nice if its not tests/widget/test_Button.html that has programmatic button disable/enabled baked in.

comment:4 Changed 16 years ago by [email protected]

Resolution: worksforme
Status: closedreopened

I was able to recreate the error on test_button.html (both FF2.0 and IE6 with latest SVN code):

  • click the "disable all" button
  • click the "change caption" button
  • click the first button again (is now "enable all")

it looks like the cursor and the button content keep their "disabled" style

comment:5 Changed 15 years ago by Douglas Hays


comment:6 Changed 15 years ago by Douglas Hays

Resolution: fixed
Status: reopenedclosed

(In [7083]) Fixes #1987, #1666, #2148.

Note: See TracTickets for help on using tickets.