### Godot version

v4.0.beta15.official [4fa6edc88] and v4.0.beta.custom_build [1bf7b84fb]

### System information

openSUSE Tumbleweed 20230125, KDE Plasma 5.26.5, Wayland session

### Issue description

https://user-images.githubusercontent.com/110809639/214688115-ce2c8f95-3849-4ee5-b6be-f8e58dbd8036.mp4

It's not possible to rename any node while using wayland session under my linux distro. Using Godot 4 beta15. Tried changing keyboard layout and same result. If I swith to X11 session then it works. Also beta14 doesn't have this problem with wayland session.

### Steps to reproduce

Literally try to rename any node under wayland session with beta15

### Minimal reproduction project

n/a
Vector<String> components = String(p_name).split("/", true, 2);
	if (components.size() >= 2 && components[0].begins_with("item_") && components[0].trim_prefix("item_").is_valid_int()) {
		int item_index = components[0].trim_prefix("item_").to_int();
		String property = components[1];
		if (property == "text") {
			r_ret = get_item_text(item_index);
			return true;
		} else if (property == "icon") {
			r_ret = get_item_icon(item_index);
			return true;
		} else if (property == "checkable") {
			r_ret = this->items[item_index].checkable_type;
			return true;
		} else if (property == "checked") {
			r_ret = is_item_checked(item_index);
			return true;
		} else if (property == "id") {
			r_ret = get_item_id(item_index);
			return true;
		} else if (property == "disabled") {
			r_ret = is_item_disabled(item_index);
			return true;
		} else if (property == "separator") {
			r_ret = is_item_separator(item_index);
			return true;
		}
	}
	return false;
}
void PopupMenu::_get_property_list(List<PropertyInfo> *p_list) const {