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
[V2 only bug] Borders not properly filled with black when maximized #88
Comments
Also hijacking this issue with another one - for V1 on Wine, the language is forced to be system language (Simplified Chinese in my case) - changing them to any other language just doesn't work. Sounds are like trash, music also doesn't work, but it should be expected to, I guess. If you think this can be considered as an issue (as running V1 on Wine isn't supported scenario, right?), and if necessary, I can create another one for it. |
V1 on WINE is a mixed bag. You need a MIDI daemon running and configured for music. Sounds are always going to be a miss with how WINE handles the old odd sample rate. Pretty much not worth trying to maintain V1 in WINE since the native port exists now. The border issue may be due to SDL turning off your compositor on launch. Trying launching with it already off (if possible) to see if that issue persists. Maximizes and fullscreens fine on Plasma for what it's worth. |
Good point, this is also why I didn't create a separate issue for it.
I'm using Ubuntu 20.04 with GNOME as DE. How do I manually turn off the compositor? |
Looks like Gnome doesn't have a manual option. https://www.reddit.com/r/leagueoflinux/comments/e0c6n5/how_can_i_disable_compositor_on_gnome_to_improve/ That's about my extent of knowledge on that front. Hope you can get that solved. |
In fact I read the same Reddit post too. ;)
Thank you. |
On leftovers in void: I use clear on every frame, if that doesn't work I don't know what will. |
So for further testing, I've installed vanilla Debian 11 on Hyper-V with LXQt as DE (update: also TinyCoreLinux 12.0, but with another dependency bug), and that bug doesn't appear. P/S: Compositing seems to be not enabled here (because in Session Settings I don't even see anything about compositing), even when querying with Update 2: I've managed to reproduce the same bug on Ubuntu WSLg (Windows 11). |
We can summarize that this void issue is exclusive to Ubuntu DE. I doubt that buffer clear is not working, hard to imagine OpenGL failing like that. I am not adding any hacks just yet, I need more information. |
Alright, it is time to address this issue. Running two clears might lower the performance. Source ports are advised to stick to one clear operation, probably original SDL_RenderClear. |
The fix was released as part of 2.0.1 |
Finally got the chance to test whether this bug is fixed on Ubuntu (because I was too busy) - it's now fixed. Thank you! |
On Ubuntu 20.04.
Notice the left part, there are some remnants in the supposed black border area after maximizing and clicking on menus.
The text was updated successfully, but these errors were encountered: