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

Hide minetest version string #2138

Closed
wants to merge 1 commit into from
Closed

Hide minetest version string #2138

wants to merge 1 commit into from

Conversation

SmallJoker
Copy link
Member

Version is still visible in the debug view.

Source of this idea:
Ugly

@ShadowNinja ShadowNinja added @ Client / Audiovisuals enhancement Won't add The feature request was rejected and will not be added. labels Jan 16, 2015
@ShadowNinja
Copy link
Member

This is intentional. It's helpful to determine what version of Minetest a screenshot showing a bug was taken in. You can still remove it by disabling the hud and chat, if you want to take a screenshot with no extras.

@KenneyNL
Copy link

Could hiding the version number be added as an option to minetest.conf then? By default on.

@sapier
Copy link
Contributor

sapier commented Jan 17, 2015

release versions don't show this string for dev version hiding is NOT an option because to be able to check bugs we actually need it. And dev versions only purpose is finding bugs.

@MoNTE48
Copy link
Contributor

MoNTE48 commented Jan 17, 2015

Good idea :)
Edit: on code error:

jni/../jni/src/game.cpp: In member function 'void Game::updateGui(float*, const RunStats&, const GameRunData&, irr::f32, const VolatileRunFlags&, const CameraOrientation&)':
jni/../jni/src/game.cpp:3938:52: error: 'VERSION_EXTRA_STRING' was not declared in this scope
  } else if ((flags.show_hud || flags.show_chat) && VERSION_EXTRA_STRING != "") {

@SmallJoker
Copy link
Member Author

@MoNTE48 Sorry, I can't reproduce this error. I successfully compiled it with msbuild.

EDIT: Fixed.

@rubenwardy
Copy link
Member

It does look unprofessional.

I'd considered a method of encoding the Minetest version in a way that can't be visibly seen, but you could retrieve it with a piece of software, but that would decrease rendering times and could be a pain to find out the version. When pressing f12 you could encode the Minetest version in the file as metadata.

@sapier
Copy link
Contributor

sapier commented Jan 19, 2015

rubenwardy various image paste sites do reencode and drop metadata. I don't see any reason to rely on a possibly broken mechanism if someone uses a debug build.

@rubenwardy
Copy link
Member

When pressing f12 you could encode the Minetest version in the file as metadata.

Yes that is the problem of above.


I'd considered a method of encoding the Minetest version in a way that can't be visibly seen, but you could retrieve it with a piece of software, but that would decrease rendering times and could be a pain to find out the version

But when I was talking about that, I meant rendering an invisible watermark to tell which version it is. Like this: http://en.wikipedia.org/wiki/Digital_watermarking Of course this isn't a good solution as it decreases rendering times.


The version string looks very unprofessional. It says something about this game that we keep text on the screen, even though it decreases how the game looks, because it is 'helpful' when debugging crashes (and this is only if the reporter doesn't tell us the Minetest version.) Sure, show them in dev versions, just not release versions.


@SmallJoker: please change the title to be the same as the commit. (ie: only show minetest version string on dev builds)

@ShadowNinja
Copy link
Member

Only put the version string in debug builds.

Most users don't run debug builds, so this doesn't help. On the contrary, if you're using a debug build you probably know enough to report the version as part of the issue.

In official builds this is just Minetest 1.2.3 or similar. It's definitely not a big ugly overlay. In fact, that seems helpful to users too. At longest it's Minetest 1.2.3-extra-123-g012345678-dirty, but that's for a modified dev build with VERSION_EXTRA set.

@rubenwardy
Copy link
Member

Who were you quoting, @ShadowNinja ?

@ShadowNinja
Copy link
Member

@rubenwardy Multiple people, that's why I didn't specify.

@SmallJoker
Copy link
Member Author

Okay I see this has no potential because it's needed to see which Minetest version is used in bug reports.

@SmallJoker SmallJoker closed this Jan 20, 2015
@SmallJoker SmallJoker deleted the hide_version branch April 2, 2015 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Client / Audiovisuals Low priority Won't add The feature request was rejected and will not be added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants