Closed ukscid closed 8 months ago
Thanks. I optimized your suggestion. ::notify::DatabaseChanged is added to update the database name in the window title.
Filename without extension: This filename without extension (for .si5 files) is set by https://github.com/benini/scid/blob/ec4db186c16e93b6b50c9dd35fc9480f8d5cd4ce/tcl/file.tcl#L185 then later on https://github.com/benini/scid/blob/ec4db186c16e93b6b50c9dd35fc9480f8d5cd4ce/tcl/file/bookmark.tcl#L159 stores the database filename without the extension in the bookmark. When the bookmark is used there is the filename without extension.
It's a mess. I'll think about it
Bookmarks from database si5 causes double entries in recent file list like"filename" and "filename.si5". If this bookmarks are opened then this causes entries with wrong filenames like "filename.si4"
This fix has the disadvantages that the extension si5 is not hidden. Maybe you find a better solution. I do not know when and how the si5 extension can or should be dispensed.