Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2025, 10:12 AM   #1
Senior47
Junior Member
Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.
 
Posts: 7
Karma: 394
Join Date: Mar 2019
Device: Kindle
Question Preview window at startup?

When I close Sigil with the "X" in the title bar and then open Sigil, the preview window also opens.(which is my desired behavior...)
If I close Sigil through "File", "Quit" I have to open the preview window manually - which I think is the default behavior?
Why this difference, doesn't clicking the "X" and using the menu option do the same job?

I haven't noticed this before, the preview window has always opened when I start Sigil.
But now I use a script (AHK) that opens and closes Sigil, and when closing it uses "File", "Quit" the preview window is gone next time Sigil start.
Just a keystroke to bring it up (F10) but I was just wondering about this difference.
Senior47 is offline   Reply With Quote
Old 01-24-2025, 10:15 AM   #2
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: 8,748
Karma: 5706256
Join Date: Nov 2009
Device: many
Use View menu to set your preferences on which windows to open on launch.
KevinH is online now   Reply With Quote
Advert
Old 01-24-2025, 04:56 PM   #3
Senior47
Junior Member
Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.
 
Posts: 7
Karma: 394
Join Date: Mar 2019
Device: Kindle
Smile

Quote:
Originally Posted by KevinH View Post
Use View menu to set your preferences on which windows to open on launch.
Yes, I'm aware of that. The problem is/was that the selected settings were not saved - depending on how the program was terminated.
Now it looks like it is remembered - so hopefully it will continue like that.
Thanks for the answer anyway!
Senior47 is offline   Reply With Quote
Old 01-24-2025, 05:02 PM   #4
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: 8,748
Karma: 5706256
Join Date: Nov 2009
Device: many
My guess is your script AHK is the culprit. Sigil always starts up with Preview showing if checked in View unless you have detached it and possibly moved it to another monitor.

It works like that from the X or using File Quit. Closing Sigil is when the settings are updated. So the settings that are remembered are when you close the very last open Sigil MainWindow if you are on a Mac or you have multiple instances of Sigil launched on Linux or Windows.

So I would look to see if your script is doing something strange when either starting up Sigil or closing it.

Last edited by KevinH; 01-24-2025 at 05:04 PM.
KevinH is online now   Reply With Quote
Old 01-31-2025, 04:38 PM   #5
Senior47
Junior Member
Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.Senior47 has a complete set of Star Wars action figures.
 
Posts: 7
Karma: 394
Join Date: Mar 2019
Device: Kindle
Quote:
Originally Posted by KevinH View Post
My guess is your script AHK is the culprit. Sigil always starts up with Preview showing if checked in View unless you have detached it and possibly moved it to another monitor.

It works like that from the X or using File Quit. Closing Sigil is when the settings are updated. So the settings that are remembered are when you close the very last open Sigil MainWindow if you are on a Mac or you have multiple instances of Sigil launched on Linux or Windows.

So I would look to see if your script is doing something strange when either starting up Sigil or closing it.
From what you wrote, the problem may be that I am using the preview window detached. Maybe the preview window is closed first (and thus disabled in the menu) when I close the program with "Quit"?
The strange thing is that it does not have the same behavior every time.
Senior47 is offline   Reply With Quote
Advert
Old 01-31-2025, 04:53 PM   #6
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by Senior47 View Post
From what you wrote, the problem may be that I am using the preview window detached. Maybe the preview window is closed first (and thus disabled in the menu) when I close the program with "Quit"?
The strange thing is that it does not have the same behavior every time.
I can confirm this behavior with the Preview window detached.
Windows 10, Sigil 2.4.0
BeckyEbook is offline   Reply With Quote
Old 01-31-2025, 05:06 PM   #7
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: 8,748
Karma: 5706256
Join Date: Nov 2009
Device: many
Yes if you close a floating QDockWidget (technically hiding it from visibility) then exit the app (assuming only one instance of Sigil is running) Sigil should remember that state and geometry of that QDockWidget Window when exiting Sigil. And when restoring it that way (hidden) when relaunched (just like it will restore a floating QDockWidget that is left open (assuming the monitor it was on is still available).

Last edited by KevinH; 01-31-2025 at 05:12 PM.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preview window retrieval theducks Editor 4 09-13-2024 04:41 AM
Preview window not quite in sync with code window. jwes Sigil 7 06-21-2024 01:59 PM
Independent File Preview Window resizes when moving File Browser WIndow GregTheGrate Library Management 4 12-12-2023 07:02 AM
Blank preview window tamaracks Sigil 5 06-05-2022 08:03 PM
Preview Window Zoom GrannyGrump Sigil 16 06-16-2013 10:23 PM


All times are GMT -4. The time now is 07:19 PM.


MobileRead.com is a privately owned, operated and funded community.