micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.9k stars 461 forks source link

maximized windows resize to full screen and get cut off by dock #1370

Open Be-ing opened 3 years ago

Be-ing commented 3 years ago

Sometimes maximized windows get resized to the entire area of the screen so part ends up getting hidden by the dock. I can work around this by unmaximizing then remaximizing the window, but it keeps happening so this gets quite frustrating. Here the bottom of the window is cut off: Screenshot from 2021-01-10 15-45-57

This is what it looks like properly maximized: Screenshot from 2021-01-10 15-46-23

Using GNOME Shell 3.38.2 on Fedora 33 with Wayland.

daekdroom commented 3 years ago

I can confirm this happens on Arch Linux, GNOME Shell 3.38.3, Wayland, specially with Firefox, it's triggered every time I come back from the lock screen.

cjao commented 3 years ago

On my machine, this happens only in Wayland, not in an X11 session.

ghost commented 3 years ago

Same problem here with Gnome 3.38.3 and Wayland.

plumlis commented 3 years ago

same here

vanvugt commented 3 years ago

Downstream Ubuntu bug: https://bugs.launchpad.net/bugs/1917939

ghost commented 3 years ago

Same here, on archlinux

Be-ing commented 3 years ago

FWIW, this bug was annoying enough that I have since switched back to KDE.

plumlis commented 3 years ago

Seems devs fixed this in mutter https://gitlab.gnome.org/GNOME/mutter/-/issues/1627 but don't know if they will backport to 3.38 or 3.36

Be-ing commented 3 years ago

Hooray I'll give GNOME 40 a try when Fedora 34 releases soon. This issue was so annoying that I switched back to KDE.

viossat commented 3 years ago

On a fresh install of Fedora 33 with GNOME 3.38.4 it happens when I resume from sleep. Switching to Xorg solves the issue.

vanvugt commented 3 years ago

This bug can probably close. It's been fixed in mutter instead per the above links.

venteto commented 3 years ago

I hadn't noticed this in awhile, but now I see it is still present in GNOME 40 (Wayland, haven't checked X11). I think generally I've always noticed it with GNOME Terminator going behind the vertical dock, until I un-maximize it and then re-maximize it. This happened just now after my Manjaro laptop ceased screen blanking:

terminator-mutter-bug-after-screen-blank-still-present-in-gnome-40

I thought an upgraded Mutter was going to fix everything, but that doesn't seem to be the case.

PaulPlaying commented 3 years ago

same here, gnome 40.4 on fedora 34 using x11:

Screenshot from 2021-09-09 10-52-45

LuccoJ commented 2 years ago

Yes, still present with mutter-41.3-1.fc35 and current Dash to Dock as of January 2022 (not actually sure how to see the version number). My computer has a defect in that it often thinks the lid is being briefly closed, and when that happens this bug almost invariably appears. It does mean a lot of window resizing.

As of October 2022, this is still an issue with GNOME 43.

vanvugt commented 1 year ago

New downstream Ubuntu bug: https://launchpad.net/bugs/1961508

KaffeineKicks commented 1 year ago

Confirmed and constantly reproducible on Wayland, Gnome 44, gnome-shell=44.5, libwayland=1.22.0, and dash-to-dock=v87.

Only happens with windows that maximized and inactive; active maximized window is restored correctly.

Overlapping does not depend on dock mode (dock/panel) or on dock placement (any screen side), present in any case. Occurs both after screen lock/unlock, and after sleep/wakeup with disabled screen auto-lock.

Only happens on Wayland session, while on X11 session the resizing works correctly.

riffer33 commented 1 year ago

Solus, Gnome 44.3, Wayland.

At some point after some inactivity the dock just starts overlapping maximized windows.

I usually leave the extensions settings open so I can just change the position from bottom to one of the others and back and it starts working again for a while.

Lvceo commented 1 year ago

GNOME 45.1 / Manjaro

TBH, I really like this behavior, it saves me a lot of space on my poor resolution laptop. It doesn't happen just w/ Terminator but other apps too (like Zoom maximized, etc), and for me it's cool reducing wasted vertical space. I moved from X11 to Wayland just for that :-)

acuteaura commented 11 months ago

This shows up on NixOS 23.11. When waking up from suspend, all windows run through reflow before dash-to-dock loads and it remains broken until you Meta + Down and Meta + Up every window.

jtherrmann commented 10 months ago

Also seeing this on Debian 12 with GNOME 43.9 on Wayland, with the dock in the vertical-left position, set to always be visible. I have tried locking/unlocking the screen and suspending/resuming in order to intentionally reproduce it, but have not been able to. I have not yet noticed a pattern except that I'll switch back to some window and suddenly it's being overlapped by the dock. As others have stated, toggling the window's maximization state fixes it.

riffer33 commented 10 months ago

Another way is to right click on the dock near the 9 dots thing and select settings. Go to select position on screen and switch it to one of the other settings and then back.

I would note that I used Dash to Dock for Cosmic on Debian 12 and didn't have this problem.

jtherrmann commented 10 months ago

I enabled auto-hide in dash-to-dock since I realized I don't need the dock always visible anyway, but I also happened to stumble across this setting in dconf Editor and I'm curious if it resolves the issue for anyone (sorry if it's already been mentioned): mutter / wayland / auto-maximize

alba-ado commented 9 months ago

Still present in Ubuntu 22.04.3 with GNOME version 42.9 with wayland enabled. I have a dual-monitor setup and windows get left behind the dock everytime I lock and unlock the screen.

City-busz commented 9 months ago

I submitted a patch to mutter that should fix this problem: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3601

balazscseh commented 2 months ago

Still happening to me on Fedora 40 KDE, not only after sleep but from fresh boot too. If i resize to a smaller window and then back full screen it solves the problem until the next boot.