View Single Post
Old 12-30-2019, 11:54 AM   #1
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Two Monitors and Preview

I got a new monitor - yay Christmas! - and thought I'd see if Sigil (v1.0.0) still had it's second monitor crashing issue....and yes, it does.

Both monitors are the same model (3840x2160) running on Windows 10 (latest version). I have the desktop extended in the vertical direction - secondary monitor above primary. Although, the crash still occurs whether its extended vertically or horizontally; and it crashes even when I reduce the resolution on both monitors down to 1024x768 (talk about unnatural! ).

The problem happens when I try and instantiate the undocked Preview Pane (PP) on the secondary monitor. This can be done either by:
1 - having Sigil main window on the secondary monitor and then double clicking the PP to undock it

or

2 - closing Sigil with the PP undocked on the secondary monitor - the next time I run Sigil the PP tries to reopen on the secondary monitor

It's important to note that undocking the PP on the primary monitor then moving it to the secondary works just fine - it only crashes when the PP is initialized on the secondary.

Once Sigil crashes the work-around is to delete (or rename) the Sigil.ini file and then Sigil opens with the PP re-docked. However - I went back and did some testing with the .ini file. I copied pieces of the original .ini into the newly generated .ini and tested by opening Sigil. It opened just fine every time. ie, It eventually opened just fine with all the original .ini information.

I've attached my .ini files (created after closing with PP undocked on the primary monitor - which works fine, and another one after closing with PP undocked on the secondary monitor - which crashes) in case that helps. I've also attached an image with the two files compared showing the small changes in the "[mainwindow] toolbars" section.

FYI - I also left the Saved Searches and the Special Character windows open on the secondary monitor when I closed Sigil. Those windows were closed when Sigil restarted, as they should be, so I think this is specific to the PP.

Does anyone have an idea? Is there an .ini setting that tells Sigil to have the PP docked on open??
Attached Thumbnails
Click image for larger version

Name:	SigilIniCompare.png
Views:	221
Size:	352.2 KB
ID:	175997  
Attached Files
File Type: txt sigil.ini.onothermonitor.txt (19.2 KB, 184 views)
File Type: txt sigil.ini.onsamemonitor.txt (19.2 KB, 188 views)

Last edited by Turtle91; 12-30-2019 at 11:57 AM.
Turtle91 is offline   Reply With Quote