How to fix broken crosshair display?
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
How to fix broken crosshair display?
Basically the title.
I have the left crosshair, but it is shown like on the right.
The image is scaled up to see the effect I mean.
This happens with 5.8. With 5.7.x versions I do not have this issue.
Any idea how to fix that?
I have the left crosshair, but it is shown like on the right.
The image is scaled up to see the effect I mean.
This happens with 5.8. With 5.7.x versions I do not have this issue.
Any idea how to fix that?
- Attachments
-
- How it is rendered (right), and how it should be rendered (left)
- screenshot.png (6.51 KiB) Viewed 3113 times
-
- crosshair file from my texture pack
- crosshair.png (233 Bytes) Viewed 3113 times
Re: How to fix broken crosshair display?
I searched in the git history and apparently this is a new feature.
https://github.com/minetest/minetest/pull/13772
Maybe changing your hud_scaling setting will fix it.
Or maybe making the texture's height and width odd/even, such that there is/isn't a single centered pixel.
https://github.com/minetest/minetest/pull/13772
Maybe changing your hud_scaling setting will fix it.
Or maybe making the texture's height and width odd/even, such that there is/isn't a single centered pixel.
Can your read this?
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
Neither gui_scaling nor hud_scaling is set.
But the discussion linked in the PR is funny. Basically “yes, but we simply ignore it”. I guess we now have to live with broken crosshairs forever. :(
But the discussion linked in the PR is funny. Basically “yes, but we simply ignore it”. I guess we now have to live with broken crosshairs forever. :(
- Wuzzy
- Member
- Posts: 4935
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: How to fix broken crosshair display?
Write a proper bug report then. A comment in a PR doesn't count. And the discussion doesn't REALLY read like "we simply ignore it", so there is still a chance.
Especially a bug report with these screenshots would be hard to deny.
Especially a bug report with these screenshots would be hard to deny.
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
In the end, exactly THIS is the statement that is conveyed through comments, IRC discussions, and actions. I stopped caring for MT development long time ago because it is always like that – and I stopped using Microsoft services decades ago.
- LMD
- Member
- Posts: 1490
- Joined: Sat Apr 08, 2017 08:16
- GitHub: appgurueu
- IRC: appguru[eu]
- In-game: LMD
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
This is simply not true and is extremely dismissive of the efforts of all the developers who fix issues in their spare time.
I would like to remind you that we have three thousand merged pull requests. There are six thousand closed issues (and "only" one thousand open issues) - that is, the vast, vast majority of issues gets fixed eventually.
Re: How to fix broken crosshair display?
What texture pack is that crosshair from?
P.S. I must agree with LMD that you're being dismissive here - and also lazy, since you didn't even bother to create a bug report.
P.S. I must agree with LMD that you're being dismissive here - and also lazy, since you didn't even bother to create a bug report.
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
I made it myself. Original file is attached to the post..
There was a merge request and your answer to an absolutely valid, reasonable concern basically reads “this is the new behavior, deal with it”.
(Sorry, I’m just mad.)
https://github.com/minetest/minetest/pull/13772
There is also this unassigned, not approved, and not commented PR in rebase hell since a few months that would fix this issue entirely.
https://github.com/minetest/minetest/pull/14273
I do not see how an issue would help here (the fact aside that i do not use Github).
Re: How to fix broken crosshair display?
I see, didn't notice the attachment before. With fractional scaling, it indeed looks distorted in-game. A quick fix would be to set your HUD scaling so that it cancels out your DPI. These factors would work if the sizes in your screenshot were proportional to the original sizes:
121 / 198 = 0.611111
2 / (198 / 121) = 1.222222
I honestly don't understand how you read this meaning from my comment. I didn't say anything like that. I suggested a fix, which was rejected on IRC, even by erlehmann. In the end, nobody proposed an alternative fix and so the issue wasn't fixed.Linuxdirk wrote: ↑Thu Mar 28, 2024 13:57There was a merge request and your answer to an absolutely valid, reasonable concern basically reads “this is the new behavior, deal with it”.
(Sorry, I’m just mad.)
https://github.com/minetest/minetest/pull/13772
I'm probably going to propose my fix again and see what happens.
I just tried that PR, the problem is still there... I agree that having PRs in "rebase hell" is bad, but we simply have too many PRs and too few reviewers.Linuxdirk wrote: ↑Thu Mar 28, 2024 13:57There is also this unassigned, not approved, and not commented PR in rebase hell since a few months that would fix this issue entirely.
https://github.com/minetest/minetest/pull/14273
An issue would have helped because you could have shown a concrete problem case. Until now, the problem was merely a theoretical one. erlehmann reports many theoretical problems, and not all of them are relevant in practice.
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
Awesome, thanks! Let’s hope for the best.
Re: How to fix broken crosshair display?
The PR has been merged.
- Linuxdirk
- Member
- Posts: 3253
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: How to fix broken crosshair display?
Hey, that was reasonably fast and sounds awesome!
Who is online
Users browsing this forum: No registered users and 0 guests