Theme editor sometimes doesn't detect changes

Have an idea for a new feature? Voice your opinion here.
Post Reply
dlmorgan999
HouseBot Special Member
Posts: 409
Joined: Tue Jul 13, 2004 9:13 am
Location: Tigard, OR

Theme editor sometimes doesn't detect changes

Post 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
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Theme editor sometimes doesn't detect changes

Post 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. :?
Scott
Circe640
Advanced Member
Posts: 206
Joined: Tue Oct 07, 2003 10:01 am
Location: Columbus, OH
Contact:

Post by Circe640 »

ALWAYS save your theme before doing anything else!!!!

VOICE OF EXPERIENCE
Post Reply