cyd01 / KiTTY

:computer: KiTTY, a free telnet/ssh client for Windows
https://www.9bis.com/kitty
Other
1.58k stars 136 forks source link

Window title gets blank after window resize #458

Open CWempe opened 1 year ago

CWempe commented 1 year ago

Since a few days (maybe weeks) I noticed the window title disappears after I change the windows size.

20230201-1544_44

There is no issue if the window title is defined manually. (WinTitle\A-08-LoRa02\)

20230201-1542_kitty_41

I guess this is related to https://github.com/cyd01/KiTTY/issues/451.

And https://github.com/cyd01/KiTTY/issues/451#issuecomment-1377561908:

Well, the release notes say: Switch back to original window title managment, prior to major refacto.

It would be much apprichiated if this would be fixed soon, because missing window titles make working with many kitty windows very hard.

Kitty version: 0.76.1.3p Windows 10

isdr-jonathan-pike commented 1 year ago

I noticed a similar, probably related issue when resizing or minimizing the window. The title that was previously set by the remote machine is lost and the title reverts back to hostname. The remote machine would need to set the title again for it to be restored.

Here's the patch I made that appears to solve it: https://github.com/cyd01/KiTTY/compare/master...diolemo:KiTTY:not-a-good-fix-but-it-works