shell icon indicating copy to clipboard operation
shell copied to clipboard

Changing window size on certain windows causes chaotic changes in horizontal window sizes for all other windows

Open kolgza opened this issue 5 years ago • 6 comments

(1) Issue/Bug Description:

Whenever there are three or more columns of windows, resizing the windows on the far left or far right of the screen can sometimes lead to the window on the opposite end of the screen to expand in width such that it covers most of the screen. This results in windows either overlapping, or being pushed off-screen.

A screencast is included showcasing the behaviour:

pop_shell_bug.zip

(2) Steps to reproduce (if you know):

  1. Enable auto-tiling.
  2. Open three windows.
  3. Orient the windows vertically (so that they each take up the whole height of the screen).
  4. Focus the window on the far left.
  5. Enter adjustment mode.
  6. Press Shift + Left, Shift + Right, Shift + Up, and Shift + Down.
  7. If the described behaviour does not occur, focus the window on the far right, and got to step 5.

(3) Expected behavior:

When resizing any given window, all other windows should only change in size incrementally.

(4) Distribution (run cat /etc/os-release):

colin@colin-laptop:~$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="20.10"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.10"
VERSION_ID="20.10"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
LOGO=distributor-logo-pop-os
colin@colin-laptop:~$ 


(5) Gnome Shell version:

3.38.1

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

colin@colin-laptop:~$ apt policy pop-shell
pop-shell:
  Installed: 1.0.0~1605746234~20.10~5137d52
  Candidate: 1.0.0~1605746234~20.10~5137d52
  Version table:
 *** 1.0.0~1605746234~20.10~5137d52 1001
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main amd64 Packages
       1001 http://ppa.launchpad.net/system76/pop/ubuntu groovy/main i386 Packages
        100 /var/lib/dpkg/status
colin@colin-laptop:~$ 

(9) Other Installed/Enabled Extensions:

colin@colin-laptop:~/Desktop$ gnome-extensions list
[email protected]
[email protected]
[email protected]
multi-monitors-add-on@spin83
[email protected]
[email protected]
desktop-icons@csoriano
[email protected]
[email protected]
[email protected]
freon@UshakovVasilii_Github.yahoo.com
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

kolgza avatar Nov 19 '20 19:11 kolgza

for me, step 5/7 aren't necessary. just resizing using mouse whilst leftmost window is active triggers this bug.

On my ultrawide (5120x1440), assuming all three columns are roughly evenly sized at around 30% each. Resizing the active window on the left causes everything to shift closer to 15 / 15 / 70 percent ratio

DGollings avatar Dec 07 '20 23:12 DGollings

I can confirm the same bug on my ultra-wide monitor. On a normal two panel layout things work fine but on an ultra-wide, placement is erratic. Often windows won't place in rows only columns and I experience the same as above with windows overlapping or becoming really small.

-- BVS

bettyvschmartz avatar Jan 01 '21 19:01 bettyvschmartz

This also occurs on my ultrawide (3440 x 1440). The steps above reproduce the issue, but I also find that it occasionally triggers even just using my mouse to focus the left window. What this means is sometimes I may be doing something in the middle, then go to click a different tab in my web browser in the left window, and then the horizontal window sizes will all suddenly change (typically with the rightmost becoming very large).

lukehsiao avatar Jan 26 '21 21:01 lukehsiao

Occurs for me on my ultrawide 5120x1440 monitor. Usually happens if I accidentally click the edge of the window and let go immediately. Windows resize eratically when resizing vertically/horizontally from leftmost or rightmost windows. Layout is 4 side by side windows.

I think the issue is maybe caused by the code believing having a baked in understanding that there has to be a direction when resizing. This isnt true when accidentally clicking the corner of a window? But yeah this doesnt account why it would only happen on ultrawides..

lain3d avatar Apr 18 '22 14:04 lain3d

Same problem here, and also on 5120x1440 monitor.

Usually happens if I accidentally click the edge of the window and let go immediately.

And this is the most common way this occurs for me while using 3 side by side windows.

Racle avatar Jan 11 '23 08:01 Racle

I have this same problem on my 2560x1080 monitor. It looks like this is an old problem, but it's still there.

chicouskiluiz avatar Feb 24 '23 15:02 chicouskiluiz