microsoft / microsoft/terminal

System menu for Terminal shows up on wrong monitor

Open
#15,421 7 comments 0 reactions 0 assignees View on GitHub
Area-Windowing Help Wanted In-PR Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

From MSFT:41390752, courtesy of @oldnewthing

> Open Terminal maximized on right-hand monitor of dual-monitor system. Press Alt+Space to open the system menu.
>
> Expect: Menu appears at the top left corner of the window.
> Actual: Menu appears at the top right corner of the wrong monitor.
>
> Screen shot shows menu opening on the wrong monitor.

> Maybe this has to do with monitor layout? I suppose each of my monitors are set up a little higher than the one on the left:
> ![image](https://github.com/microsoft/terminal/assets/18356694/a2a7aa0d-7b55-43bb-8e7a-eefc6abfab3e)
>
> Sure enough, this layout repros:
> ![image](https://github.com/microsoft/terminal/assets/18356694/98cfc266-0ce5-4d5a-a64d-41ab960a2f51)

> My monitors are nowhere near that exotically laid out.
>
> ![image](https://github.com/microsoft/terminal/assets/18356694/a70e9319-87e1-4001-8b14-baca8428c706)
>
> When maximized on monitor 3 (the primary monitor), the system menu appears in the upper right of monitor 2.

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. First reproduce the Alt+Space system-menu behavior with a maximized Terminal window on a multi-monitor layout whose displays have different vertical positions. Done means the menu opens at the top-left of the maximized window's monitor rather than on another monitor.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.