Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-05-2021, 04:31 AM   #1
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Menu when all files are closed

Hi,

when all files are closed, the menu shrinks to two entries: Sigil and File. Inside file you have new, open and quit.

Would it be possible to have the recent files here as well?

//Binchen
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2021-09-05 at 10.24.21.png
Views:	158
Size:	95.5 KB
ID:	189121  
Binchen is offline   Reply With Quote
Old 09-05-2021, 05:47 AM   #2
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,572
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm not entirely certain that's typical behavior. On Windows and Linux, the menus don't disappear like that when no file is open. The recently opened list is always available. But then again, "all files" can never be closed on those platforms (with Sigil still running). On Windows and Linux, either an epub is open (the default empty epub if nothing else), or Sigil is not running.
DiapDealer is online now   Reply With Quote
Advert
Old 09-05-2021, 08:39 AM   #3
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,764
Karma: 6000000
Join Date: Nov 2009
Device: many
I will look into it but you do know before you close the last Window you can just open a new Window using the recent files menu on macOS, so even if doable this would be very low priority.
KevinH is offline   Reply With Quote
Old 09-05-2021, 09:54 AM   #4
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
If i wouldnt fall into this "trap" constantly i wouldnt have asked.
Binchen is offline   Reply With Quote
Old 09-05-2021, 10:27 AM   #5
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,764
Karma: 6000000
Join Date: Nov 2009
Device: many
The issue is that these underlying menus are not dynamically built, they are created once before any main window is even created. If not built dynamically then any recent files list taken from settings would not reflect any newly opened epubs since the Sigil was first launched.

When I get some free time I will look at how much work building the underlying file menu dynamically would entail. But again this is very low priority.

You can, of course just use the File "new" menu and then use its resulting main window's recent list to do what you want even if you "fall into that trap".
KevinH is offline   Reply With Quote
Advert
Old 09-05-2021, 10:44 AM   #6
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Well Sigil is the only App I've installed showing this behavior, so it's hard to remember. And I'm closing each file at the end of the day not to have an enqueue lock. But I'm not closing the app so I can start quickly next day.

But if it is too complex and I'm the only one who's bothered by it, that's OK too. Who does not ask has no chance at all for a change
Binchen is offline   Reply With Quote
Old 09-05-2021, 11:53 AM   #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,764
Karma: 6000000
Join Date: Nov 2009
Device: many
That is the way Sigil has always worked on macOS. As Sigil is crossplatform based on a single codebase, expect differences from standard macOS only dedicated programs.
KevinH is offline   Reply With Quote
Old 09-05-2021, 04:44 PM   #8
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,764
Karma: 6000000
Join Date: Nov 2009
Device: many
I spent some time looking at this and adding a recent files menu when all other windows are closed on macOS just isn't worth the effort.

You can:

- Use the recent files menu on the last MainWindow open before closing it

or

-Use File->Open to navigate to the epub you want if you know its name.

or

-Use File->New to get an empty MainWindow which will have an updated recent files menu that you can use to open a new Window. This nicely helps by leaving an empty MainWindow behind all of the others present to prevent the whole issue to begin with.

Sorry, but it would require moving the recent files list into app-level global variables as opposed to MainWindow level variables and then rebuilding it dynamically by trying to detect when the last MainWindow is closed on macOS.

And all of that just to save the use of a single File->New mouse click in the event you forget to open what you want before closing the last Main Window.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Context Menu for EPUB Files Woznet Calibre 2 03-23-2017 09:21 AM
Color Menu tree under My Files won't stay open? Sassyinkpen Nook Color & Nook Tablet 3 12-30-2011 02:58 AM


All times are GMT -4. The time now is 05:04 PM.


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