Regression: Blender creates unexpected selection areas when using Select Box or Select Lasso which can lead to crashes #109532
Operating system: ArchLinux (Plasma Wayland)
Graphics card: RX 580 8GB | 23.1.3-1
Short description of error
When returning to Blender after it not being the focused window trying to Select Box it'll produce a selection area that goes to the right and the bottom of the cursor, completing the selection will cause Blender to freeze and crash.
Same thing will happen in Select Lasso, but with Select Lasso the direction of the selection area appears to be random and it doesn't crash when letting go.
Opening Blender from the terminal and making it crash as explained gives a
Segmentation fault (core dumped) error
This seems to be a Wayland-only issue as the unusual selections didn't happen on Xorg
Exact steps for others to reproduce the error
- Turn on Select Box or Lasso in selection
- Switch focus to another window
- Return to Blender and try to initiate a selection as your first click to refocus on it.
Make Blender run under Xwayland (On Flatpak this can be done by revoking Blender's access to Wayland)
Example is shown in attached video.
Unable to confirm on Windows (3.6)
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 532.03
I suspect it's a problem with Flatpak packaging, it might have messed up 1 or more graphics related libraries, recently we have seen a few graphics-related bug reports that doesn't quite make sense nor having any reasonable connections to each other.
It happens with the native Pacman build of Archlinux as well the official binaries from the Blender website.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?