drowe67 / freedv-gui

GUI Application for FreeDV – open source digital voice for HF radio
https://freedv.org/
GNU Lesser General Public License v2.1
211 stars 52 forks source link

Add config file name to main and reporter window headings if not default. #737

Closed barjac closed 3 months ago

barjac commented 3 months ago

Problem: When using multiple instances of both freedv-gui and it's linked freedv reporter on one machine on different desktops it can be difficult to easily identify which instance is on the screen.

Possible solution: Since both instances will be using different configuration files the config file name could be used to act as identification if it was added to the header message. It could be excluded if the default config file name was in use.

tmiw commented 3 months ago

Do you mean the titlebar should say something like

"FreeDV 1.9.10 (~/config-file.conf)"

if called as freedv -f ~/config-file.conf? If so, that should be pretty straightforward. Let me know if that's the case and I'll look into this further.

barjac commented 3 months ago

Yes that's it. (for both main and reporter titlebars)

I was thinking to just show the base file names without extension or path.

I use config file names that include the rig name or SDR like "FreeDV_TS450S" or "FreeDV_SDR" however I can see that using the full path and extension would make it more self explanatory for new users (but only once!).

Maybe add an option to only show the base file name to keep it looking tidy?

Of course I would remove the "FreeDV_" from my file names once this is implemented so the title bar would show e.g. "FreeDV 1.9.10 (TS450S)".

tmiw commented 3 months ago

See https://github.com/drowe67/freedv-gui/pull/738.