[PR #4857] Reveal the taskbar when the user has the Terminal maximized or fullscreen #25997

Open
opened 2026-01-31 09:13:12 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4857

State: closed
Merged: Yes


Summary of the Pull Request

When we are maximized or fullscreened, check for the presence of the taskbar in auto-hide mode. If the Terminal finds the taskbar on any side of the monitor, adjust our window rect by just a little bit, so that the taskbar can still be revealed by the user mousing over that edge.

References

PR Checklist

Detailed Description of the Pull Request / Additional comments

Note to future code archeologists:
This doesn't seem to work for fullscreen on the primary display. However, testing a bunch of other apps with fullscreen modes and an auto-hiding taskbar has shown that none of them reveal the taskbar from fullscreen mode. This includes Edge, Firefox, Chrome, Sublime Text, Powerpoint - none seemed to support this.

This does however work fine for maximized.

Validation Steps Performed

I'm maximized and fullscreened the Terminal a lot in the last two days.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4857 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request When we are maximized or fullscreened, check for the presence of the taskbar in auto-hide mode. If the Terminal finds the taskbar on any side of the monitor, adjust our window rect by just a little bit, so that the taskbar can still be revealed by the user mousing over that edge. ## References ## PR Checklist * [x] Closes #1438 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Detailed Description of the Pull Request / Additional comments Note to future code archeologists: This doesn't seem to work for fullscreen on the primary display. However, testing a bunch of other apps with fullscreen modes and an auto-hiding taskbar has shown that _none_ of them reveal the taskbar from fullscreen mode. This includes Edge, Firefox, Chrome, Sublime Text, Powerpoint - none seemed to support this. This does however work fine for maximized. ## Validation Steps Performed I'm maximized and fullscreened the Terminal a lot in the last two days.
claunia added the pull-request label 2026-01-31 09:13:12 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25997