Page 1 of 1

Theme editor sometimes doesn't detect changes

Posted: Mon Oct 25, 2004 1:25 am
by dlmorgan999
Hi Scott,



I guess I'm in a bug-finding mood tonight :wink:



If you make a change to an existing control on a theme, leave focus on that control and click out of the theme, the editor doesn't ask you if you want to save your changes. Here are the steps:



- open an existing theme

- click on an existing property change control to give it focus

- change the device, property or value to something else

- click somewhere else in HouseBot (a different theme, a task, etc)



When I do this every time it doesn't ask me "Do you want to save any changes made to the Theme?". If I change other things like Position (even by one pixel) it detects the changes. If I do the steps listed above but click to another control on the theme or to the background the changes are properly detected.



-- Dave

Re: Theme editor sometimes doesn't detect changes

Posted: Mon Oct 25, 2004 3:05 pm
by ScottBot
dlmorgan999 wrote:I guess I'm in a bug-finding mood tonight :wink:
Yes, you've been busy this weekend.



The changes are only applied to the Theme when the property window loses focus.



If you just click from the Property window to another part of the HouseBot screen, it won't ask because it hasn't actually updated the Theme. If, for example, you click from the Property Window back to the Theme UI and then elsewhere, it will warn you. I used to have it apply the changes when the property window was destroyed too, but I removed that line of code because..... I don't remember. :?

Posted: Tue Oct 26, 2004 12:54 am
by Circe640
ALWAYS save your theme before doing anything else!!!!

VOICE OF EXPERIENCE