View Single Post
Old Today, 01:21 PM   #18
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,393
Karma: 6686152
Join Date: Nov 2009
Device: many
@odamizu

Quote:
Originally Posted by odamizu View Post
I gave the first beta a very quick try and didn't notice anything (which could be because my very quick try wasn't thorough enough), but with this RC, I've come across a possible bug on macOS Sequoia 15.7.4.
  • Open epub
  • Open an html page in Code View and see it reflected in Preview window
  • Open css stylesheet in external editor (in my case, BBEdit)
  • Make edits to stylesheet using external editor
  • Save (but do not close) stylesheet in external editor
In previous Sigil versions, including 2.7.0, the Preview window would automatically update to reflect the changes made to the stylesheet every time I save it in the external editor.

In 2.7.5 RC, the open Preview window does not automatically update. Instead, I have to click the Update Preview Window button. Alternatively, I can open a different html page and it will accurately reflect the stylesheet, then go back to the previously open html page.

Please let me know if there is further information I can provide, and if this is just me and I'm doing something weird.

Thank you
Okay, I think I have this fixed in master. To test, I opened the Alice epub and navigated to an xhtml file to show things in Preview.

Next I used "Open With" to open the styles.css file with BBEdit. In BBEdit I changed the css to start with "body { background: red;} " then did a File Save in BBEdit which writes the changes to the file.

Sigil detected this external change on Disk and told Preview to force clear the cache so that the upcoming update to Preview will start fresh.

The nice red background appeared almost immediately in Preview with no need to hit the Reload button.

So we should be back to normal for external editing.

Thank you for your bug report!
KevinH is offline   Reply With Quote