craftos2
craftos2 copied to clipboard
Strange behavior when resizing
Description:
Hello. When I try to change the size of my window, CraftOS-PC moves very strangely and resizes in width when I change the height as well as the other way around. Greetings.
To Reproduce:
- Literally just try to resize the window on Arch Linux
Expected behavior: Resizing without weird behavior.
Example:
https://user-images.githubusercontent.com/53350357/159580173-3134bb10-b7aa-4418-8199-2e00be5c78c9.mp4
Environment:
- OS: Arch Linux 64-bit
- Desktop Environment: GNOME 41.5 (x11)
- OS Version: yes (rolling distro, so up to date)
- CraftOS-PC: v2.6.5.1
- Compiled via AUR package
Other Context:
I have NVIDIA graphics drivers installed.
Does this happen on Wayland?
Is SDL_VIDEODRIVER
set? If so, what is it set to?
I have never seen this issue under Plasma - I suspect it's down to GNOME doing something weird.
Or NVIDIA.
Or NVIDIA + GNOME.
As it says there, I do not use Wayland but xorg. I have also changed nothing (or SDL_VIDEODRIVER e.g. tells me nothing) However, I believe that the NVIDIA drivers play less of a role here. Since I also only have this issue here on GNOME, I assume it has something to do with it.
The same happens on Fedora Workstation 35 with GNOME 14.4 (X11) and the proprietary NVIDIA driver. CraftOS-PC is installed via the COPR repository.
In addition, the program crashes when resizing the window too quickly. (as described in #225)
https://user-images.githubusercontent.com/24989169/159740507-0df9216b-a7ea-408f-8131-2d9d32ea2eb8.mp4
This likely has to do with snapToSize
changing the window size while resizing - I guess GNOME likes to handle resizing differently from other platforms. Try disabling the snapToSize
config option, and see if it still occurs.