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

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

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

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10746 **State:** closed **Merged:** Yes --- 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
claunia added the pull-request label 2026-01-31 09:27:03 +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#28213