felixcatx / google-desktop-sdk

Automatically exported from code.google.com/p/google-desktop-sdk
0 stars 0 forks source link

Incorrect overImage button refresh #96

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Define a button object with overImage and disabledImage alternate images
2. At runtime disable it (e.g. buttonName.enabled="false") while the mouse
cursor is over it (e.g. in the onclick event function)
3. Later on at runtime re-enable the button (e.g.
buttonName.enabled="true") while the mouse cursor is NOT over it (e.g. in
the onclick event function of another button)

What is the expected output? What do you see instead?
The overImage will incorrectly be the current image for the button (i.e. it
retains the last image displayed before it was disabled).

What version of the product are you using? On what operating system?
Google Desktop 5.8.809.23506 on Windows XP/Server 2003.

Please provide any additional information below.
You can try this with the Currency Converter by Currency System, Inc.
(http://desktop.google.com/plugins/i/currencysystemconver.html): it
initially starts with a dual display, and if you press the "+" button to
add a third unit the "-" button will be in white background instead of
black background. Both buttons should consist of the white symbol in a
black circle. The white highlight is only for mouseover purposes. If it
doesn't happen on first try, try adding/removing rows a few times.

Original issue reported on code.google.com by cloa...@gmail.com on 4 Mar 2009 at 3:23