Feature Request: Always On Top #4230

Closed
opened 2026-01-30 23:41:34 +00:00 by claunia · 8 comments
Owner

Originally created by @kwongtn on GitHub (Oct 3, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Description of the new feature/enhancement

Option to let terminal be always on top of all windows, just like the new calculator app. This would be useful for people learning how to do stuff, as it can be on top of the tutorial window while not suffering from text going on to the next line during resizing.

Originally created by @kwongtn on GitHub (Oct 3, 2019). Originally assigned to: @zadjii-msft on GitHub. <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Option to let terminal be always on top of all windows, just like the new calculator app. This would be useful for people learning how to do stuff, as it can be on top of the tutorial window while not suffering from text going on to the next line during resizing. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). -->
Author
Owner

@zadjii-msft commented on GitHub (Oct 3, 2019):

This seems like a good idea. Maybe it could be a setting, but I could certainly see it being something toggle-able at runtime as well. Presumably if the calulator folks can figure it out, so can we 😝

I suppose my next question would be: what happens when multiple applications want to be "always on top" - who wins?

@zadjii-msft commented on GitHub (Oct 3, 2019): This seems like a good idea. Maybe it could be a setting, but I could certainly see it being something toggle-able at runtime as well. Presumably if the calulator folks can figure it out, so can we 😝 I suppose my next question would be: what happens when multiple applications want to be "always on top" - who wins?
Author
Owner

@pingzing commented on GitHub (Oct 3, 2019):

I suppose my next question would be: what happens when multiple applications want to be "always on top" - who wins?

The docs seem to imply that you only get one stays-on-top Window at a time, and most recent wins.

@pingzing commented on GitHub (Oct 3, 2019): > I suppose my next question would be: what happens when multiple applications want to be "always on top" - who wins? [The docs seem to imply](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos) that you only get one stays-on-top Window at a time, and most recent wins.
Author
Owner

@WSLUser commented on GitHub (Oct 4, 2019):

I would add that this should be configurable to be "Always on bottom or right/left side", in which case, a setting in profiles.json would be the answer there. A UI toggle once opened would also be nice. The setting would be for setting as a default vice the toggle being good for only while open during that session. Once closed, behavior reverts back to normal when opened again.

@WSLUser commented on GitHub (Oct 4, 2019): I would add that this should be configurable to be "Always on bottom or right/left side", in which case, a setting in profiles.json would be the answer there. A UI toggle once opened would also be nice. The setting would be for setting as a default vice the toggle being good for only while open during that session. Once closed, behavior reverts back to normal when opened again.
Author
Owner

@zadjii-msft commented on GitHub (Oct 4, 2019):

@WSLUser there might be a bit of a miscommunication here - I believe this issue more means "always on top of the z-order", not literally always on the top portion of the display. Presumably, always on top (of the z-order) would be easily combined with other window positioning mechanisms (that the Windows shell provides) without us needing to create settings for those ourselves.

@zadjii-msft commented on GitHub (Oct 4, 2019): @WSLUser there might be a bit of a miscommunication here - I believe this issue more means "always on top _of the z-order_", not literally always on the top portion of the display. Presumably, always on top (of the z-order) would be easily combined with other window positioning mechanisms (that the Windows shell provides) without us needing to create settings for those ourselves.
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 8, 2019):

This is an important part of #2238 and a slightly-less-important-but-still-fairly-important part of #653. Yanking triage, leaving it on the backlog. Thanks!

@DHowett-MSFT commented on GitHub (Oct 8, 2019): This is an important part of #2238 and a slightly-less-important-but-still-fairly-important part of #653. Yanking triage, leaving it on the backlog. Thanks!
Author
Owner

@AnuthaDev commented on GitHub (Jun 21, 2020):

@DHowett Could something like this be more useful? https://blog.walterlv.com/post/dock-window-into-windows-desktop.html

@AnuthaDev commented on GitHub (Jun 21, 2020): @DHowett Could something like this be more useful? https://blog.walterlv.com/post/dock-window-into-windows-desktop.html
Author
Owner

@zadjii-msft commented on GitHub (Jul 7, 2020):

Hey so I've got this done in dev/migrie/f/3038-alwaysOnTop, but I accidentally built that branch on top of #6804. Hopefully we can get that one merged quick so we can sneak this into 1.2 😉

@zadjii-msft commented on GitHub (Jul 7, 2020): Hey so I've got this done in [`dev/migrie/f/3038-alwaysOnTop`](https://github.com/microsoft/terminal/tree/dev/migrie/f/3038-alwaysOnTop), but I accidentally built that branch on top of #6804. Hopefully we can get that one merged quick so we can sneak this into 1.2 😉
Author
Owner

@ghost commented on GitHub (Jul 22, 2020):

:tada:This issue was addressed in #6903, which has now been successfully released as Windows Terminal Preview v1.2.2022.0.🎉

Handy links:

@ghost commented on GitHub (Jul 22, 2020): :tada:This issue was addressed in #6903, which has now been successfully released as `Windows Terminal Preview v1.2.2022.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.2.2022.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4230