gawindx / WinNUT-Client

This is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
GNU General Public License v3.0
395 stars 70 forks source link

Window Title Not the Same After Open And 'In Focus' #61

Closed FileCity closed 3 years ago

FileCity commented 3 years ago

WinNut window title is not the same after being just opened and when selected and in focus. This is an aesthetic issue. See the two screens below.

Capture1 Capture2

Running: v2.0.7710.35866

gawindx commented 3 years ago

I think I know where it came from. And personally I prefer to see "Windows NUT Client" than just "WinNUT".

I'll see to change that.

FileCity commented 3 years ago

@gawindx, running latest 2.0.7721 and this cosmetic issue is still present. Upgrade and clean install tested. Windows title shows WinNUT and changes itself to Windows NUT Client seconds after.

gawindx commented 3 years ago

Yes, the name "WinNUT" is a translatable string and for some reason that I haven't figured out yet, the window is displayed first with the untranslated string, then it is replaced by its translation. It doesn't happen with the different controls and I don't know why it behaves this way.

I also don't want to replace the name of the Form in the code because it matches the name of the VB file and the corresponding class.