linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.45k stars 733 forks source link

Resizing two "sticky" windows works incorrectly #11169

Open spamegg1 opened 1 year ago

spamegg1 commented 1 year ago

Issue

Horizontally resizing two half-screen windows that are opened side-by-side results in the right window vertically shrinking by itself.

Steps to reproduce

  1. Login to Guest account
  2. Open a Nemo window with Super+E
  3. Tile it to the left with Super+Left arrow
  4. Open a Nemo window with Super+E
  5. Tile it to the right with Super+Right arrow
  6. Click and drag the mouse left-to-right on the separator between the two windows.
  7. See issue. Here's a video: cinnamon-2022-09-15T092541+0300.webm

Notice that at the end of the video, the right window (which has now shrunk vertically) does not have a "resize cursor" at the bottom edge of it. So the window still "thinks" that it is vertically maximized.

Expected behaviour

Resizing horizontally should not shrink the window vertically.

Elliot4444 commented 1 year ago

Same bug here. It does not matter if I use the Nvidia or Nouveau drivers.

Graphics: Device-1: NVIDIA GA106 [GeForce RTX 3060] driver: nvidia v: 520.56.06 Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution: 1920x1080~60Hz OpenGL: renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2 v: 4.6.0 NVIDIA 520.56.06

6630507 commented 1 year ago

I can reproduce this issue on Intel integrated graphics.

This issue (which I can also confirm) may be related:

https://github.com/linuxmint/muffin/issues/659

anaximeno commented 1 year ago

I also had this problem.

mbeardwell commented 1 year ago

This is still the case in Cinnamon 5.6.8 on my Mint 21.1 x86-64 machine with AMD GPU. I don't agree that this is a Nemo-exclusive issue. This happens to me for any Cinnamon windows snapped side-by-side. In my case, it is exactly as the original screen recording above shows. https://github.com/linuxmint/cinnamon/issues/11169#issue-1374008463

kantastisk commented 4 months ago

Seeing this behavior on LMDE6 as well - Cinnamon 6.0.4. Happens in all apps, not specific to Nemo.

Elidon007 commented 1 month ago

I'm also seeing this. I also noticed that the bug occurs when I resize while the right window is active, but not if the active window is the left one. Also only the right window ever shrinks in size. I also tried creating the windows in different orders and tiling them in different orders, and I found that it doesn't matter. The only thing that matters is that the right window is active.