mojira.dev
MC-5269

Server list: status not updated after editing server address

The bug

In the server list, after I edit the address of an existing server, the server is not re-polled until I exit to the main menu and return to the server list.

How to reproduce

Video demonstrating the issue: https://www.youtube.com/watch?v=-_hGOuUxaJ4

Code Analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 11

Confirmed. I will provide screenshots in a sec

Pictures attached. Explanations:

FirstPic: Before a rename, proper and working server IP (Even if an outdated server)

SecondPic: After renaming the server. The server IP was changed to random characters, but still shows that it is working.

Confirmed in 13w06a.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Yup, still exists in 13w11a.

1 more comments

Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

still in the game, I quickly tested

Please link this in the description of the report.
The following is based on a decompiled version of Minecraft 1.12 using MCP 940.

This is caused because it doesn't display new gui. (Refresh)

Fix:

else if (this.editingServer)
{
    this.editingServer = false;            
    if (result && guilistextended$iguilistentry        
        instanceof ServerListEntryNormal)
    {
       ...
    }            
    //this.mc.displayGuiScreen(this);
     /* Replace this with */         
     this.mc.displayGuiScreen(new       
     GuiMultiplayer(this.parentScreen));
    }
}

Confirmed in 1.16.1.

Thue

(Unassigned)

Confirmed

Platform

Normal

UI

Minecraft 1.4.6, Snapshot 13w06a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.2, ..., 1.16.1, 1.16.4, 20w49a, 1.20.4, 24w05b

Retrieved