View Single Post
Old 08-27-2025, 10:38 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,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by streetcatfighter View Post
Hello Sigil community,

I am using a plugin (Template2) to open eBook templates. In Sigil 2.4.2 and earlier, when I opened a template using the plugin, the "Save As" dialog would automatically suggest the template/plugin name (e.g., "Template2_.epub") as the default filename.

Since Sigil 2.6.0, however, the save dialog always shows "untitled" as the default, even though the tab title correctly displays the template/plugin name.

Steps to reproduce:
1. Install the Template2 plugin (or any similar plugin that opens a template and sets a book name).
2. Open a template using the plugin.
3. Observe that the tab shows the correct name (e.g., "bald_").
4. Click "Save As" for the first time.
5. The suggested filename is "untitled" instead of the plugin-specified name.

Expected behavior:
- The save dialog should suggest the plugin/template filename as default, like in Sigil 2.4.2.

Actual behavior:
- The save dialog ignores the plugin name and shows "untitled".

Is there a way to force Sigil 2.6.0 to use the plugin-specified filename for the initial save, or is this no longer possible with the current version?

Thank you for your advice!
One quick workaround is to edit the template's OPF to set the book title to "Template2_" then save it.

Then when you pull in the template, it should get assigned the name you want.
Please give that a try.
KevinH is online now   Reply With Quote