Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Audience can't return previous dialog after click open_url text in AsyncPlayerConnectionConfigureEvent

Open Saros-6585 opened this issue 8 months ago • 3 comments

Expected behavior

Audience need to return to dialog that Audience was viewing, after click any open_url dialog's buttons.

Observed/Actual behavior

Audience just see frozen 'Joining world...' so they can't do anything after click button in open_url dialog.

Steps/models to reproduce

  1. Prepare dialog with open_url click event textcomponent.
  2. Show prepared dialog in AsyncPlayerConnectionConfigureEvent.
  3. Click the text with click event in dialog, so open_url dialog in this step.
  4. Click any button. it doesn't matter.
  5. finally, we can't see previous dialog. there's just frozen 'Joining world...'.

Plugin and Datapack List

not related

Paper version

Checking version, please wait... This server is running Paper version 1.21.11-92-main@e7445e1 (2026-01-11T23:38:04Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT) You are 35 version(s) behind Download the new version at: https://papermc.io/downloads/paper Previous version: 1.21.10-127-92ee2c2 (MC: 1.21.10)

Other

No response

Saros-6585 avatar Mar 17 '26 08:03 Saros-6585

We would need more reproduction info (i.e. actual code), but, dialogues are handled by the client, not the server; Adventure would not be in control of reprompting a dialogue page, that would be on you if the client doesn't do it, assuming you've not uncovered a client bug

electronicboy avatar Mar 17 '26 09:03 electronicboy

We would need more reproduction info (i.e. actual code), but, dialogues are handled by the client, not the server; Adventure would not be in control of reprompting a dialogue page, that would be on you if the client doesn't do it, assuming you've not uncovered a client bug

code matches the official example in PaperMC Docs perfectly. I only added a text with an open_url event to body of Dialog.

so I don't believe there is an issue with the code itself. however, based on what you said, it seems this is not a bug, nor is it something that can be resolved through a feature request too. then should I close this issue?

and If so, is there any recommend way to solve this problem or can you recommend something?

Saros-6585 avatar Mar 17 '26 09:03 Saros-6585

The code example on that page leaves a hole open if your dialogue interaction isn't with one of the expected buttons, so that could be your issue here

electronicboy avatar Mar 17 '26 10:03 electronicboy