microsoft / microsoft/terminal
Position the experimental, optional right-click context menu so a left click will paste
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Description of the new feature/enhancement
As a terminal user
When I right-click and get a menu
I want "Paste" to be the default option that appears directly where my mouse is
Proposed technical implementation details (optional)
The menu should always open such that the paste icon is directly below the cursor, instead of sometimes slightly above and to the right, and sometimes slightty above and to the left.
Do you realize the behavior is inconsistent?
- The first time I right click, it opens with the cursor just to the left of the the line between the buttons and the text menu items.
- If you right-click elsewhere while the menu is open, it moves to be horizontally centered on the mouse
- If you right-click on the menu (and then move your mouse off the menu), you get the window's title-bar context menu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the experimental, optional right-click context menu behavior described in the issue, including repeated right-clicks while the menu is open and clicking on the menu. Trace the context-menu positioning entry point and verify that the Paste option appears directly below the cursor consistently without triggering the title-bar menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100