View Single Post
Old 06-08-2018, 10:57 AM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,617
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Forget all the creating/styling in Code View and then flipping to Book View to undo said styling. I'm not near my development machine, but here's what I'm getting:

1) Open Sigil and go directly to Book View
2) type some words
3) highlight any portion (just not the whole thing) of what you type and style it (bold, italic, strike, sub- super-script--whatever you want), then immediately unstyle it (click the same style button)
4) switch to Code View
Crash

The short of it is: styling and then immediately unstyling anything other than the entire contents of what is in Book View will result in a crash when switching to Code View.

The only exception is that you can unstyle a portion of what you originally styled and the crash doesn't happen when switching.

Select the entire contents of Book View and style/unstyle: you'll get no crash when switching.

Select a portion of the contents of Book View and style/unstyle the same portion: it crashes when switching.

Select a portion of the contents of Book View and style it and then unstyle only a portion of what you styled: no crash when switching.

It suggests some flaky QCursor behavior on Windows to me. I'll try to get some debugging output this weekend some time.

Last edited by DiapDealer; 06-08-2018 at 11:24 AM.
DiapDealer is offline   Reply With Quote