In 2013R3, when I modify a WebStyle and just change a color for example then save the project, it’s not saved !
I’ve lost a lot of styles correction and never understood why I sometimes lost them… now I think it’s a IDE bug.
I’m experiencing the same issue.
Web styles changes are not saved, I have a lot of them and have to review them all every time I reopen the app in the IDE.
As long as the app is open in the IDE the webstyles are correct and the generated program is correct.
Closing and reopening the a
Is there at least a work around? I mean, like, saving binary, saving as new filename each time? I strongly prefer renaming each time than reviewing styles… :-/
// edit:
Wait, I just checked the bug and it says it has been fixed on 2014R2, so what am I experiencing? I changed properties (text alignment etc) and saved several times afterwards without closing the IDE but then the IDE crashed and when reopening the file the styles were not correct…
Also, checking the history of the styles (I save as xojo project, regular) there was only one version ever saved…
I actually don’t. It happens randomly from my perspective. I rarely close xojo (maybe related?) and was saving xojo project (non binary), that’s all I can think of…
I will try to make some sense of it and if I get an idea I will write a bug report.
Norman states above, about changes to webstyles not dirtying the project… But that is not the issue I am seeing.
If I change a text style property, for example, colour or font style - my project gets dirtied as expected (ie a “*” appears appended to the project name in the top left of the IDE window.
If I then click Save, the project appears to get saved ok (no errors).
However, if I then check the WebStyle code (text project, NOT binary), I can see that the style code timestamp has not been updated, and the changes have not been saved at all (ie the style code remains unchanged).
This is really annoying, as I have a number of Projects which share common code elements (that is why I use Text based projects) - but all CHANGES to WebStyles never get saved! (If I ADD a new property to a Style or REMOVE a property, then ALL changes get saved, once.)
Update… I was able to get the style change to stick by adding a parameter “dirtying” the style, so it would save. In this case, I added a Font family to any thing I needed changed.