-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 15w51b, Minecraft 16w36a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.16 Pre-release 5, 1.16.3, 1.16.4, 20w46a, 20w48a, 21w06a, 1.19, 1.19.2, 23w12a, 1.20.2
-
Confirmed
-
UI
The bug
The URL shown in the "Are you sure you want to open the following website?" dialog is not shortened. This causes for example the warning to unreadable.
How to reproduce
- Use the following command
/tellraw @p {"text":"Link","clickEvent":{"action":"open_url","value":"http://example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}}
- Click on the word "Link" in the chat
Expected behaviour
I would expect the link to be shortened to a maximum of two lines making sure that the protocol and domain are visible (and possibly highlighted?), replacing prefix and suffix with "..." if necessary.
- is duplicated by
-
MC-265804 Clicking on Text Message with Long Link Causes Overlapping Issue in "Are you sure you want to open the following website?" Screen
- Resolved