-
Notifications
You must be signed in to change notification settings - Fork 36
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
Zooming in too far causes display to become blank #993
Comments
Hey @brta-jc, thanks for posting the issue! First of all, nice to see that RAFCON generally runs in your Ubuntu22 environment and even in combination with Wayland. We are quite limited here in what environments we can test so it is good that other envs work as well (at least mostly). I think I have noticed a similar bug on our setup as well in the past but it was very rarely and in combination with some very unusual zooming level. The problem is that it's kind of hard to reproduce this on our side and properly debug it further on. I will try to investigate a little bit more but cannot promise anything. For further information, I think it would be nice to know what screen resolution you are running (we noticed at least some performance issues with 4k screens), how frequently this happens for you (also after reloading the state machine?) and if it persists if you zoom in even further. The latter would indicate that there is some kind of upper limit, how large the font can be scaled until it causes an error. Otherwise, it is the very specific font scale that creates the error.
If you want to investigate it more, I can at least for now suggest the following:
I hope this helps at least a little bit, keep us updated! |
Hi @JohannesErnst, Thanks for the suggestions above. I have tried the font replacement (by pointing the This seems to have resolved the error about
As for the visual issue in the GUI, it remains. The state machine window still goes blank at that highly zoomed in level, and the terminal logs a lot of (I am also running in X11 mode on WSL2 as per @brta-jc message above) |
I experience the same issue in the "99_bugs" included tutorial state machine, if that helps to reproduce on your end. Just zooming in a lot on any one of the internal blocks causes the errors to appear, this time the font called out is Once the initial error occurs, I get the following Gtk-WARNING errors indefinitely when changing the zoom or moving the view around:
|
Hi @brta-hj, okay, thanks for testing it. From that I conclude that it has nothing to do with the font directly. Although I cannot reproduce the same behavior that you experience, even with the
Right now I cannot spend more time on this, feel free to investigate yourself. The lines above can serve as a reference on where to continue debugging. My suspicion is that the |
Hi @JohannesErnst, Great, thanks for investigating it a bit further for us. I will have a look at the sections you mention above and try to debug further. If possible, can you please share what your environment setup is like? |
Just a small update: I've replaced all occurrences of As a sanity check, I have tried RAFCON in Ubuntu 20.04 on a VM I had and get only the |
Hi @brta-hj, good to know that you experience the same issue in a "normal" Linux environment without the additional Wayland layer. Currently, I am running on a openSUSE Leap 15.5 but without any virtual machine or WSL. I expect to test more on Ubuntu also in the future. Interesting to know that the As the original "blank display issue" does indeed seem to be connected to WSL2, maybe it is worth trying some different fonts or tweaking the env variables for this... |
Hi all,
Thank you for any help in advance.
My team is having an issue with the GUI editor when we zoom. At one zoom level we have this:
Once we zoom in one more level / tick on the scroll wheel, the state machine representation / window goes blank. The rest of RAFCON is fine, like so:
When you zoom back out, the display recovers and is normal again. RAFCON continues to run fine, with no glitches other than the error log and visual element disappearing.
It looks like RAFCON is having trouble scaling the fonts? As above, the scale was 59622.3349609375, at a certain threshold it fails to scale and errors.
One thing to note:
Thanks again!
The text was updated successfully, but these errors were encountered: