Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kolgza opened this issue Nov 19, 2020 · 6 comments

Comments

@kolgza
Copy link

kolgza commented Nov 19, 2020

(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
extendedgestures@mpiannucci.github.com
nightthemeswitcher@romainvigier.fr
TopIcons@phocean.net
multi-monitors-add-on@spin83
ding@rastersoft.com
dash-to-dock@micxgx.gmail.com
desktop-icons@csoriano
weeks-start-on-monday@extensions.gnome-shell.fifi.org
unredirect@vaina.lt
gsconnect@andyholmes.github.io
freon@UshakovVasilii_Github.yahoo.com
places-menu@gnome-shell-extensions.gcampax.github.com
cpupower@mko-sl.de
EasyScreenCast@iacopodeenosee.gmail.com
alt-tab-raise-first-window@system76.com
always-show-workspaces@system76.com
batteryiconfix@kylecorry31.github.io
pop-shell@system76.com
pop-shop-details@system76.com
system76-power@system76.com
ubuntu-appindicators@ubuntu.com
@DGollings
Copy link

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

@bettyvschmartz
Copy link

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

@lukehsiao
Copy link

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).

@lain3d
Copy link

lain3d commented Apr 18, 2022

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..

@Racle
Copy link

Racle commented Jan 11, 2023

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.

@chicouskiluiz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants