View Single Post
Old 08-17-2011, 09:19 AM   #29
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by weedfreak View Post
Now it does not matter if you have the auto correct on or off so you may as well delete that button. The page for selecting now whether to auto or manually correct seems to be doing the same thing whichever you select, that is reverting to the last version of the file, when you last changed view. Selecting manual correction does show the code for the 'error' but as soon as you try to edit it it reverts to the last version again. I have not yet seen any instance of auto correct doing anything like even attempting a fix, it only reverts the file.
I have been able to recreate this issue. It will be fixed for 0.4.1.

When the code view loses focus it checks for structural errors. If you click manual fix it puts you back in the code view. When the code view gains focus after the book view is selected it updates the contents of the code view with the contents of the book view. These two actions along with updating the book view from the code view are handled via signals. The order signals are processed is not guaranteed. So in your case you're unluckily having one signal overwrite the contents of the code view with old data.
user_none is offline   Reply With Quote