Open Nucanot opened 3 months ago
Thanks. I will try to include it for next release (don't have time for the today's one, sorry).
Although there might be side effects, I know on some OS' there is a notification when window title changes (think it was default gnome desktop? might want to test it there to see if it's causing any issues or not)
Thanks. I will try to include it for next release (don't have time for the today's one, sorry).
Although there might be side effects, I know on some OS' there is a notification when window title changes (think it was default gnome desktop? might want to test it there to see if it's causing any issues or not)
I've only tested on macOS. I will try to spin up a Linux VM when I have time and test there.
I would be surprised if the GNOME window manager fires notifications on title change though (haven't seen this when I was using Linux before).
When you have multiple fits open, the names of the fits in the tabs get truncated and it's hard to tell which fit is which (especially when looking at different variations of the same fit).
This PR solves the issue by adding extra information to the window's title—the ship and the fit name.
Format is
<ship name> "<fit name>" — <default title>
<default title>
is the title, either "pyfa" or "pyfa v1.2.3 - Python Fitting Assistant"The title is update when the active fit changes (via the tab switcher) or the current fit is renamed.