![]() |
#1 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Sigil Crashing on 2nd monitor
OK... I had Sigil crash again this morning.
This one was a little weird(er) because I didn't have any child windows open, just the main window. I had book browser, previewer, and ToC docked around the code view window. Book browser to the left, previewer and ToC tabbed to the right. On top I had a selection of the standard menu bars, both plugin bars, and both clip bars. At the bottom I had Find/Replace open. The only non-standard thing I have with Sigil is that I moved the Temp folder to a different location: C:\Ebooks\Sigil Temp Docs I normally have Sigil on my primary (number 1) monitor. This morning a dragged the main Sigil window to my second monitor and maximized it. Then I closed Sigil using the red-x in the upper right of the window. I hadn't been doing any editing...just browsing through the html files showing my daughter something about the coding. When I tried to open Sigil again with a different ePub, it tried to open on my 2nd monitor and it crashed with the "Sigil is not responding" message - the same as all my previous posts about this Sigil crash. I tried multiple ePub files (clicking on the ePub file to open Sigil with that ePub loaded) and even just opening Sigil without an ePub, with the same result. I tried removing the Sigil.ini file and forcing Sigil to recreate the ini...which it did...BUT...this time Sigil still tried to start on my 2nd monitor...with the same failure. Now I can't get Sigil to start at all without the failure message. I'll have to resort to uninstalling/reinstalling, but I thought I'd check with you first to see if there is any information you may need before I delete it. Machine: AMD Ryzen 9 5950X 16-Core Processor 64.0 GB NVIDIA GeForce RTX 3090 Windows 11 Pro 2TB SSD Sigil 1.9.2 Monitors: 2 ASUS PB287Q 3840x2160 setup side by side (primary on the right, secondary on the left) scaled to 150% .ini I had when it failed - located in C:\Users\Dion\AppData\Local\sigil-ebook\sigil Spoiler:
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,575
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Do you have a good reason for moving Sigil's temp directory? I ask because it's rarely necessary on Windows. The place you have it requires elevated privileges for writing. Plus the spaces in the folder name trouble me. They shouldn't cause issues, but why tempt fate?
|
![]() |
![]() |
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Hmm, when you removed the ini file you should have removed all window positioning info. It should have then started on your first monitor as normal? Could you have an old copy of Sigil still running in the background someplace.
Perhaps windows has a screen affinity setting or stores info on app preferred starting screen someplace? Perhaps try shutting down (not sleep) your computer and starting it up again with only one monitor connected would help? Then try connecting the other monitor. Or temporarily set your monitors to mirror each other in an attempt to get control back? I will dig up a second monitor and try this on my mac but I have never had crashing issues with Sigil before when using two monitors as macOS maps monitors into one large *contiguous* space but Windows can and does leave gaps (non-contiguous) if monitors do not have the same size and/or scale factors. Last edited by KevinH; 04-16-2022 at 11:09 AM. |
![]() |
![]() |
![]() |
#4 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
I thought it might have something to do with my monitor placement. I went in to Display Settings and changed the order of the monitors, put #2 on the right and #1 on the left, but kept the #1 monitor as my "main display". Mind: the physical position of the monitors hasn't changed - not that the computer would know that - just the graphical display of the monitors in Display Settings.
Then opened Sigil - and it worked!! Sigil opened on the right monitor (that is the monitor that is physically on the right even though it still shows the #1 monitor when I click on the Identify button in Display Settings) I attached an image to show the confusion between the #1 and #2 monitors. My point in this detail is to show that when Sigil/Windows "thinks" the 2nd monitor is to the right of the 1st monitor, then it runs. When Sigil/Windows "thinks" the 2nd monitor is to the left of the 1st monitor it doesn't work. (This may also have been the same issue I was seeing before when I had the 1st monitor below the 2nd monitor) Perhaps the choke point is the relative distance or direction from the original Sigil coordinates?? eg. if Sigil.ini initial coordinates are 10,10 but the child window is -3000,10 Sigil doesn't like the negative number. Likewise if the main window has an initial coordinate of -5000, 10 it chokes. When I swapped the graphical representation of the monitor positioning could it have changed the negative number to a positive number and made it happy????? edit: here is the picture Last edited by Turtle91; 04-16-2022 at 11:06 AM. |
![]() |
![]() |
![]() |
#5 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
The spaces in the name were set by Sigil, I just changed the root folder. ![]() |
|
![]() |
![]() |
![]() |
#6 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
Maybe??? That's definitely beyond my scope of Windows understanding. |
|
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
I wonder if the new Qt6 is any better with monitors with negative coordinate systems.
I would hope that Display Settings in Windows would automatically map all screens into one positive quadrant no matter the order of main or secondary Windows. There are so very many bug reports in Qt related to Windows Display Settings and mappings of multiple monitors. They have tried so many "fixes" to no avail but Qt seems to misunderstand how screen scaling impacts both the starting offset position and the coordinate mapping for width and height. Qt docs said that Qt will force to a QMainWindow to open on the primary monitor if the second monitor has been removed, but when the second monitor is powered down it still seems to get detected and set up even though it should not be, but this appears to be a Windows thing. |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,575
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It doesn't sound like this is the issue, but I'm fairly certain Sigil has never set a temp folder name with spaces in it. And to reiterate... there's never a good reason to access the files in Sigil's temp directory with any other programs.
|
![]() |
![]() |
![]() |
#9 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
To add to this ... you can always right click on a File in BookBrowser and Save a copy anyplace you want if that helps.
|
![]() |
![]() |
![]() |
#10 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
The biggest reason I use it is when I’m editing an image using photoshop. MOST of the time it knows which folder it is coming from and saves back to that original folder. SOMETIMES it gets lost and I have to find the folder that Sigil is editing and save it back to that folder. That’s when it is nice to have the temp folder in a my-brain-logical location. I agree with you that this is probably not the cause of this issue. |
|
![]() |
![]() |
![]() |
#11 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
I think the best way to handle this is enable a bunch of screen geometry debug output in QMainWindow of Sigil in a debug build for you to use and capture the debug info into a log file.
I did see this one QTBug screen related bug actually caused by third party software: https://bugreports.qt.io/browse/QTBUG-94217 That was tracked back to Sonic Studio 2 being installed. Please check that you do not have Sonic Studio 2 installed on your system. I will try to add some useful debug output to Sigil so we can see what is going on. KevinH Quote:
|
|
![]() |
![]() |
![]() |
#12 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Quote:
I'm more than happy to run the test build. Do I need to uninstall the current version first? |
|
![]() |
![]() |
![]() |
#13 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
You can just install over it. I won't have time to get a debug build made until Tuesday.
Sorry for the delay. Lots of family over for Easter. |
![]() |
![]() |
![]() |
#14 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
No worries! Now that I can get Sigil to recover by switching the display location there is no rush.
Happy Easter everyone! |
![]() |
![]() |
![]() |
#15 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,769
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Okay, I stole a monitor from an old linux box and attached it to my iMac dev machine.
Once plugged in, it automatically appear to be situated to the immediate right of my built in screen in my macOS Display setting. I opened Sigil on Primary and moved it to the secondary monitor and then closed out of Sigil. On next launch of Sigil, the Sigil MainWindow appeared in my second monitor right where it was left. I closed Sigil and then powered down the second monitor but did not disconnect it and tried launching Sigil. The main screen stayed blank as expected (I could use the Gather Windows button that is part of the Display Settings to see it, or just power up the second monitor). I next disconnected the second monitor and then tried launching Sigil again, and after a brief delay it appeared on the primary screen having been moved there by Qt automatically. No crashes, no bugs. It just works on macOS. I will try putting the second monitor on the left in display settings and repeat the tests. I have enabled some screen geometry debug output and will post a debug build for Windows tonight so we can see why/how Windows is different. Hopefully that may help us figure out what is going on. Last edited by KevinH; 04-18-2022 at 11:48 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
please, help me to configure pw3 as 2nd monitor | deadlykitten | Kindle Developer's Corner | 0 | 01-24-2021 01:58 PM |
Viewer and editor crashing on other than primary monitor | CarryNL | Calibre | 5 | 05-30-2020 08:06 AM |
E-reader as 2nd monitor | bobodude | Which one should I buy? | 3 | 11-09-2014 09:52 AM |
sigil 7.4 and maverick crashing crashing crashing | Carrigboy | Sigil | 103 | 09-04-2014 11:47 AM |
W1060 as wireless 2nd monitor/kbd/mouse? | Ken Herrick | Alternative Devices | 1 | 07-31-2010 05:13 AM |