-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
The window switches between maximization and minimization. The window does not render, or only partially renders #13461
Comments
Are you using a High DPI display by any chance? Avalonia does not always render at the correct scale and can look fairly weird. See here: #4826 |
This is my displays setting. Is there a way I can make Avalonia re-render and fill in the empty space? @thevortexcloud Thank you for your patient help! |
Hmm, looks like a fairly standard 1080p screen. Have you tried using X11? I personally have never run into this issue using X11 and KDE (and I have made many apps). Avalonia currently uses XWayland on Wayland sessions. I also noticed you seem to have a lot of Nvidia stuff installed. While I doubt it's causing this, is it possible to try a non Nvidia GPU if you are using one? Nvidia's driver does not always play nice on Linux. Can you also please upload the project so I can make sure it's not some weird version problem? |
I did the same validation on a virtual machine, and my virtual machine didn't install any Nvidia stuff, it was the same issue. I use vs2022. Attached is my project. Thank you very much for your help ! @thevortexcloud |
@zeke202207 can you test release mode (without debugger) on an actual Linux device? |
I just tried running the app on a real Linux machine myself (in debug mode) and it works fine. Something strange is happening here. Have you tested another DE besides gnome/Wayland? This might still be a scaling issue too. Try setting that environment variable mentioned in that issue I linked before. |
Thank you very much for your help @thevortexcloud @timunie 09-26-45.mp4 |
First of all thx for the great video. It shows the issue quite well.
Okay what happens then in Debugmode? I wonder if it makes any difference. I've trimming /AOT issue in mind here. Can you do me that favor and also quick double-check?
I have neither at hand, so still you can debug it better than me. Thx for confirmation both are affected. |
I checked with DebugMode and the issue is the same as ReleaseMode. |
Describe the bug
The window switches between maximization and minimization. There is a problem in the window rendering.
The window does not render, or only partially renders
To Reproduce
Steps to reproduce the behavior:
Screenshots
Environment
A short bug video
15-44-00.mp4
The text was updated successfully, but these errors were encountered: