![]() |
#1 |
Connoisseur
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
|
If i wouldnt fall into this "trap" constantly i wouldnt have asked.
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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". |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() 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 |
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#8 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |