5.02: Title bar doesn't update when closing worlds

Posted by Tspivey on Sat 23 Jul 2016 12:28 AM — 2 posts, 14,778 views.

Canada #0
Sometime in the past, MUSHclient used to change the title of the world and append [Closed] to it.
Now the following happens.
1. I open aard.MCL and maximize both windows (alt+space x, alt+- x).
My title bar says: MUSHclient - [aard.MCL]
2. Connect to the world.
Title: MUSHclient - [aard]
3. Disconnect.
Title: MUSHclient - [aard]
4. $SetTitle("")
Title: MUSHclient - [aard [Closed]]
None of my plugins are setting the title.
I'm using MUSHclient on Windows 8.1. What could be going wrong here?
USA Global Moderator #1
Bug introduced in 4.87.

Looks like here
https://github.com/nickgammon/mushclient/commit/5f3b03b22c8fb2f996671262717fdf18a739e504/mushview.cpp?diff=unified

Because pDoc->m_strWindowTitle isn't empty, it's set to the world name (demonstrable with GetInfo(88)).