Public bug reported:
## Description
On Ubuntu 24.04, when "Auto-hide the Dock" is enabled, maximized windows
may be unexpectedly restored (unmaximized) when switching to another
application.
## Steps to reproduce
1. Enable "Auto-hide the Dock" in Settings → Ubuntu Desktop
2. Open an application (e.g., Visual Studio Code)
3. Maximize the window
4. Switch to another application (e.g., Settings)
5. Return to the original application
## Expected behavior
The window should remain maximized after switching between applications.
## Actual behavior
The window is restored to a smaller (non-maximized) size after switching
applications.
In some cases (e.g., VS Code), the maximize button still shows the
"restore" state, indicating that the window state and UI are out of
sync.
## Workaround
Disabling "Auto-hide the Dock" prevents this issue.
## Environment
- Ubuntu version: 24.04
- Desktop: GNOME Shell 46.0
- Session type: Wayland
- Affected applications: Observed in Visual Studio Code (may affect other
applications)
- Visual Studio Code version: 1.108.1 585eba7c0c34fd6b30faac7c62a42050bfbc0086
x64
- Panel Mode: enabled.
- Enhanced Tiling: enabled.
- Tiling Popup: enabled.
- Tile Groups: enabled.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell-extension-ubuntu-dock 90ubuntu3
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 8 16:25:17 2026
InstallationDate: Installed on 2025-05-14 (329 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
PackageArchitecture: all
ProcEnviron:
LANG=zh_CN.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-shell-extension-ubuntu-dock
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gnome-shell-extension-ubuntu-dock (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2147519
Title:
Auto-hide Dock causes maximized window to be restored with stale
maximize button state in Ubuntu 24.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2147519/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs