Opening a command block, then receiving a dialog, then closing the dialog to return back to the command block screen will cause the command block’s interface to be completely reset / missing.
Steps to Reproduce:
Place a pressure plate, leading into a delayed repeater chain, leaing into a command block that runs this command:
dialog show @p {type:"minecraft:notice",title:"Helloo",body:{type:"minecraft:plain_message",contents:"Hi there"}}
Step onto the pressure plate and immediately open the command block window.
✅The command block buttons are clickable and the previously saved command is displayed.
Wait for the dialog to appear (you may even try to start writing a new command), then press the “OK“ button.
❌The command block buttons are blacked out and the previously saved command or currently written command is gone.
Expected Behaviour:
The command block screen should be returned to with what was currently written in the “Console Command“ text box still there, and the buttons clickable to modify the command block type.
Or the previously saved command should appear instead of the currently written command, but saving what was just written would be ideal so that progress is not lost due to the interruption.
This is a duplicate of MC-297825.