-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Always On Top #3038
Comments
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? |
The docs seem to imply that you only get one stays-on-top Window at a time, and most recent wins. |
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 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. |
@DHowett Could something like this be more useful? https://blog.walterlv.com/post/dock-window-into-windows-desktop.html |
Hey so I've got this done in |
This PR adds support for always on top mode, via two mechanisms: * The global setting `alwaysOnTop`. When set to true, the window will be created in the "topmost" group of windows. Changing this value will hot-reload whether the window is in the topmost group. * The action `toggleAlwaysOnTop`, which will toggle the `alwaysOnTop` property at runtime. ## Detailed Description of the Pull Request / Additional comments All "topmost" windows maintain an internal z-ordering relative to one another, but they're all always above all other "non-topmost" windows. So multiple Windows Terminal windows which are both `alwaysOnTop` will maintain a z-order relative to one another, but they'll all be on top of all other windows. ## Validation Steps Performed Toggled always on top mode, both in the settings and also at runtime, and verified that it largely did what I expected. Closes #3038
🎉This issue was addressed in #6903, which has now been successfully released as Handy links: |
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.
The text was updated successfully, but these errors were encountered: