Open kcbrown opened 7 months ago
Same here with Fedora 39
I'm using Fedora 39 as well and came here for a similar reason. I think, a) the settings should have an option on whether to preserve the last time size b) there should be also options to define custom size or launching as maximized c) there should also be command line options for using custom geometry and to launch maximized - there's only one for launching fullscreen according to the man-page. If I'm wrong, the man page is wrong and doesn't list all the options.
When you close cool-retro-term, it stores the current window positioning and dimensions in the app settings structure (a sqlite3 database). The intention behind this is to restore those settings at startup so that when you re-open the application, it picks up where it left off as regards size and positioning.
Under Ubuntu 23.04 (and, really, all of the recent versions of Ubuntu I've used this on), this doesn't work.
The reason is that the ordering of object initialization isn't guaranteed by the underlying Qt framework, and the end result is that, at least on the platforms I've used it, the main window initializes before the settings are loaded from the database. This results in the defaults being used.
Here's the fix: