I have ubuntu 22.04 running inside a virtualbox VM running on windows 10.
I am using joined screens: I have enabled a second virtual screen form the VM menu > view > virtual screen 2, and I have moved each window on a different physical monitor.
As you can see in the picture below (please note the configuration the settings window), I am using my PC screen (on the right) as screen 1 and my external monitor (on the left) as screen 2.
![drawed screens](https://i.stack.imgur.com/0YK2J.jpg)
![windows of displays settings](https://i.stack.imgur.com/ohLdp.png)
When I move the cursor from screen to screen ("through the blue line"), everything works fine.
But when I try to drag a window the same way, I get a weird behaviour:
- when the window is in screen 1 (right), as I try to move it toward screen 2, on the left, the cursor "passes through", but the window gets blocked "against the blue line", and then it passes into the screen two only when I release the mouse left button. This is weird, but still okay for me.
![enter image description here](https://i.stack.imgur.com/dL66j.jpg)
when the window is in screen 2 (left), as I try to move it toward screen 1, on the right, it works fine, it "crosses the blue line" and goes to screen 1.
when the window is in screen 2 (left), as I move the window toward the left, the window "crosses the green line" and appears in screen 2 "from the yellow line".
The same happens when the window is in screen 1 (right) and I try to move it toward right: it "crosses the yellow line" and appears in screen 2 (left) from the green line (see the picture below: the window marked with the red 'X' is the same).
This is weird.
![enter image description here](https://i.stack.imgur.com/caJce.jpg)
Is it a bug or maybe could it be that I have enabled some sort of settings checkbox "allow windows drag from screen to screen in double edge" ?