[PR #10746] [MERGED] Shift the island up by 1px when maximized #28208

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10746
Author: @zadjii-msft
Created: 7/21/2021
Status: ✅ Merged
Merged: 7/28/2021
Merged by: @undefined

Base: main ← Head: dev/migrie/b/7422-HAX


📝 Commits (3)

  • 21d9764 Shift the island up by 1px when maximized
  • 493d3de okay fine spellbot, thank you
  • c79401c math is hard sometimes

📊 Changes

2 files changed (+16 additions, -1 deletions)

View changed files

📝 .github/actions/spelling/allow/allow.txt (+1 -0)
📝 src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp (+15 -1)

📄 Description

For inexplicable reasons, the top row of pixels on our tabs, new tab
button, and caption buttons is totally unclickable. The mouse simply
refuses to interact with them. So when we're maximized, on certain
monitor configurations, this results in the top row of pixels not
reacting to clicks at all.

To obey Fitt's Law, we're gonna hackily shift the entire island up one
pixel. That will result in the top row of pixels in the window actually
being the second row of pixels for those buttons, which will make them
clickable. It's perhaps not the right fix, but it works.

After discussion, we think this is a fine fix for this. We don't think
anyone's going to miss the top row of pixels on the TabView. The original
bug is painful enough for the subset of users it impacts that this is an
acceptable trade. Should a better fix be found, we can absolutely do that
instead.

Closes #7422


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10746 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 7/21/2021 **Status:** ✅ Merged **Merged:** 7/28/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/7422-HAX` --- ### 📝 Commits (3) - [`21d9764`](https://github.com/microsoft/terminal/commit/21d9764b7a52cfb6e1212e18a928170b91f94e53) Shift the island up by 1px when maximized - [`493d3de`](https://github.com/microsoft/terminal/commit/493d3dea482b3ccab4c562d19e72ead787e0c58e) okay fine spellbot, thank you - [`c79401c`](https://github.com/microsoft/terminal/commit/c79401ce06e2c51fe81032ecce574af796c25703) math is hard sometimes ### 📊 Changes **2 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/spelling/allow/allow.txt` (+1 -0) 📝 `src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp` (+15 -1) </details> ### 📄 Description For inexplicable reasons, the top row of pixels on our tabs, new tab button, and caption buttons is totally unclickable. The mouse simply refuses to interact with them. So when we're maximized, on certain monitor configurations, this results in the top row of pixels not reacting to clicks at all. To obey Fitt's Law, we're gonna hackily shift the entire island up one pixel. That will result in the top row of pixels in the window actually being the _second_ row of pixels for those buttons, which will make them clickable. It's perhaps not the right fix, but it works. After discussion, we think this is a fine fix for this. We don't think anyone's going to miss the top row of pixels on the TabView. The original bug is painful enough for the subset of users it impacts that this is an acceptable trade. Should a better fix be found, we can absolutely do that instead. Closes #7422 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27:01 +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#28208