shell
shell copied to clipboard
Automatic re-layout when a window is resized, removed, added, etc causes more movement than necessary
(1) Issue/Bug Description: (2) Steps to reproduce (if you know):
Not quite sure how to describe this yet, so I'll provide recordings of the behavior, and then try to describe what I expect would happen per video. Each video starts from a window-less desktop so ya'll can see how the state is built. I figure if I were to just so "the problem" we'd miss out on all the important setup parts as the window/tile-tree is built.
Example A
https://user-images.githubusercontent.com/199018/225039625-681a8d6d-bb7a-44d0-9bc7-68d8460aba28.mp4
Skip to 1:40 to see the problem -- everything prior is setup
Example B
https://user-images.githubusercontent.com/199018/225039322-0e2ff056-60e3-4b76-8fad-034a398b5568.mp4
Skip to 0:47 to see the problem -- everything prior is setup
Example C (the most frustrating when this happens)
https://user-images.githubusercontent.com/199018/225726340-76080f5f-a420-45c6-b87a-066a9785b91b.mp4
(3) Expected behavior:
(working on more examples before I try to describe this)
(4) Distribution (run cat /etc/os-release
):
❯ cat /etc/os-release
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /etc/os-release
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ PRETTY_NAME="Ubuntu 22.04.2 LTS"
2 │ NAME="Ubuntu"
3 │ VERSION_ID="22.04"
4 │ VERSION="22.04.2 LTS (Jammy Jellyfish)"
5 │ VERSION_CODENAME=jammy
6 │ ID=ubuntu
7 │ ID_LIKE=debian
8 │ HOME_URL="https://www.ubuntu.com/"
9 │ SUPPORT_URL="https://help.ubuntu.com/"
10 │ BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
11 │ PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
12 │ UBUNTU_CODENAME=jammy
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────
(5) Gnome Shell version:
❯ gnome-shell --version
GNOME Shell 42.5
(6) Pop Shell version (run apt policy pop-shell
or provide the latest commit if building locally):
❯ apt policy pop-shell
N: Unable to locate package pop-shell
# I built from source, as I was not aware I could use apt
shell on master_jammy [?]
origin https://github.com/pop-os/shell.git
took 5s
❯ gl
* 3692dd4 - feat(preferences): Option to disable stacking with mouse
| (4 weeks ago) <Szymon Mikler>
| HEAD -> master_jammy, origin/master_jammy, origin/HEAD
(7) Where was Pop Shell installed from:
❯ echo $PWD
/home/nvp/Development/OpenSource/shell
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc):
1 Monitor, Horizontal
❯ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 3840 x 1600, current 3840 x 1600, maximum 3840 x 1600
default connected primary 3840x1600+0+0 0mm x 0mm
3840x1600 88.00*
(9) Other Installed/Enabled Extensions:
(10) Other Notes:
Additional info -- it appears that sometimes when this happens a window is yeeted out of the layout partially:
This terminal was behind firefox
I find the same issues really with tiling mode. Even opening a new window, minimising it/closing it and the whole layout will get messed up
Screencast from 18-01-24 00:23:45.webm
Would Pop's tiling manager benefit from pre-configured zones much like Windows powertoys and KDE's tiling manager utilise? I have actually used KDE Plasmas implementation of tiling for a while, and the pre-configured zones work well to keep everything uniform without surprise re-organisation. What it lacks is Pop Shells window stacking.