Blondazz / KeyOverlay

A simple key overlay for osu! streaming
GNU General Public License v3.0
197 stars 26 forks source link

Getting a white box, but only when running my own build. (More of a help thread) #56

Open Menotdan opened 1 year ago

Menotdan commented 1 year ago

I downloaded the source for this project and added a feature to save key counts because I am curious how many times I press my keys in total. I used Visual Studio to edit the code, and to create my build. When I built the version I intend to use, I made sure to set my build target to Release as well. After some time, my window will for a seemingly unknown reason cover roughly half the window with just white pixels. I've tried changing fade to on and off since it seemed like the area for fading could cause that but idk. I saw someone else who opened an issue with the same problem, but it was a while ago. I hope you can help with this lol If you want me to send my code I can but I don't think my code is the issue since I don't think I'm editing any drawing parts of the code. I think it might be with how I'm building the code.

Blondazz commented 1 year ago

To be honest with you, the releases I put up on github are actually debug builds because of this very reasons. I used to do it on release build but then some people started reporting this exact problem which does not happen on debug build. The reason is unknown to me, I cannot find was is causing this and the only way to circumvent that was using the debug build.

Blondazz commented 1 year ago

I might actually look into it more in a few weeks after I finish uni and will have a bit more time for that, I'll leave this issue open for now as I might have a hint where the problem lies in code, but for some reason I wasn't able to reproduce this bug.

Menotdan commented 1 year ago

Alright, interesting. I will build my code as debug then, I guess. If I remember that this exists, I will come back and maybe help you out with letting you know if specific changes fixes it for me. Btw, GL with finishing uni! Hope it goes well for you.