Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in formspecs are forced to use real_coordinates, but haven't been converted #8932

Closed
LoneWolfHT opened this issue Sep 14, 2019 · 3 comments
Labels
Bug Issues that were confirmed to be a bug

Comments

@LoneWolfHT
Copy link
Contributor

Minetest version
Compiled master a few minutes ago
Summary

image

Steps to reproduce

Compile the latest master, join a world, and press [Esc]

@LoneWolfHT LoneWolfHT added the Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible label Sep 14, 2019
@Desour
Copy link
Member

Desour commented Sep 14, 2019

Related: #8923
(I can confirm.)

@rubenwardy rubenwardy changed the title Buttons in the escape menu are messed up Built-in formspecs are forced to use real_coordinates, but haven't been converted Sep 14, 2019
@rubenwardy rubenwardy added Bug Issues that were confirmed to be a bug and removed Unconfirmed bug Bug report that has not been confirmed to exist/be reproducible labels Sep 14, 2019
@Desour
Copy link
Member

Desour commented Sep 14, 2019

The same happens in death formspecs.
Links that might help fixing:


minetest/src/client/game.cpp

Lines 3983 to 3989 in 9acd36b

static std::string formspec_str =
std::string(FORMSPEC_VERSION_STRING) +
SIZE_TAG
"bgcolor[#320000b4;true]"
"label[4.85,1.35;" + gettext("You died") + "]"
"button_exit[4,3;3,0.5;btn_respawn;" + gettext("Respawn") + "]"
;

#ifdef __ANDROID__
#define SIZE_TAG "size[11,5.5]"
#else
#define SIZE_TAG "size[11,5.5,true]" // Fixed size on desktop
#endif

@SmallJoker
Copy link
Member

1de4ca1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that were confirmed to be a bug
Projects
None yet
Development

No branches or pull requests

4 participants