microsoft / microsoft/terminal

Add a `minimizeToNotificationArea` action

Open
#11,229 9 comments 2 reactions 0 assignees View on GitHub
Area-Windowing Help Wanted Issue-Task Needs-Tag-Fix Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement

When the `minimizeToTray` property is set to true, the window gets minimized to the tray on clicking the minimize button on top right. I feel this is not always a desirable response - people might want to minimize to taskbar (the normal behavior) or minimize to tray, separately. An action called `minimizeToTray` (and a way to set a keybinding for this) would work best - allowing for both behaviors according to what the users want.
This will also allow WT to behave similar to tmux's `detach` - where detaching and minimizing (to taskbar) are distinct behaviors.

# Proposed technical implementation details (optional)

I was reading the discussion here at https://github.com/microsoft/terminal/pull/10368#issuecomment-884294259 - was this action not implemented?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing `minimizeToTray` behavior and the discussion linked from PR 10368. Trace how window actions and keybindings are defined, then verify that the new action can minimize to the notification area independently of the normal taskbar minimize behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.