Skip to content
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

Always on Top #13

Closed
anythingwithawire opened this issue May 7, 2019 · 62 comments
Closed

Always on Top #13

anythingwithawire opened this issue May 7, 2019 · 62 comments
Assignees
Labels
Idea-New PowerToy Suggestion for a PowerToy Needs-Spec Something needs additional thought on how we'll implement Product-Always On Top Refers to the idea of a Always on Top Powertoy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@anythingwithawire
Copy link

anythingwithawire commented May 7, 2019

crutkas: Should look at #49 also for additional feature implementation idea

And #641 for transparency

@scottven
Copy link

scottven commented May 7, 2019

If this could be made to survive windows closing and reopening, like the Outlook reminders pop-up, that would be super helpful.

@veree-ozom
Copy link

This has been long overdue and should have been standard. Wish this gets implemented.

@bergamin
Copy link

bergamin commented May 8, 2019

This is one of those things I always wondered... Why only task manager has that? Why isn't it standard for every window?

@DarylGraves
Copy link

I really hope this is implemented as a default. I might even give it a go myself if I can figure out what I'm doing!

For those who want a workaround, AutoHotKey can do this - You'd need to install AHK, paste the below to a script, save it as an .ahk file and place it in your startup folder. Then, load the script once (or restart) and then whenever you push Ctrl+Alt+A it sticks it. Push it again to unstick.

I hope this because a built in thing though - I can't really install AHK at work.

^!A:: Winset, Alwaysontop, , A
Return

@Sollace
Copy link

Sollace commented May 9, 2019

@anythingwithawire @bergamin brought this issue to my attention. I'm just going to c/p the relevant segments for what I detailed for this request:

How it works:

As I have it at the moment, pressing Ctrl+Space on any desktop window will toggle the always on top state of that window. When that's done, they effectively stay in front, even when focus changes to another window after that.

What it's for:

Doing that allows me to put some content I want to see (a video, browser tab, some instructions, or notes) on my display whilst I work/type into a different window.

When I'm done I just focus my pinned window and use Ctrl+Space to return it to normal.

What I'd change:

Admittedly, the Ctrl+Space key combination is sometimes problematic when gaming, where I might need the same combination for something else. That's why I suggest changing it to some combination with the Win key instead.

Win+Space is (annoying) used to switch keyboard layouts, so it might have to become something like Win+Alt instead.

It would also help, though, to allow the user to configure the shortcut, as well as a visible button to pin/unpin windows similar to the "Maximize to new desktop widget".

@glen-84
Copy link

glen-84 commented May 9, 2019

I'm currently using DeskPins, but it's a bit outdated and is not able to pin all types of windows.

@Sollace
Copy link

Sollace commented May 9, 2019

@glen-84 Unfortunately I can't link the tool I use. It's literally just a little 200kb exe I got from somewhere. I run it from my startup folder and it allows the key combination to work on literally any window.

Edit: lmao found it

@jaimecbernardo jaimecbernardo added the Idea-New PowerToy Suggestion for a PowerToy label May 9, 2019
@User2020
Copy link

User2020 commented May 15, 2019

This has been desperately needed for decades. A new window titlebar button or even if it was just accessible by right-clicking the titlebar. I always have to use utilities to add the ability but they either half-work or don't look good.

@hereafter
Copy link

hereafter commented May 24, 2019

you may try "Sticky Windows" modern fluent app for Windows 10
It is on the windows store,
https://github.com/hereafter/stickywindows/wiki

it not free though.

@fredskis
Copy link

fredskis commented Sep 9, 2019

Just read about PowerToys and this is definitely something Windows has needed forever.
I used DisplayFusion in the past but it doesn't feel native and doesn't work with 100% of windows.

Might give Sticky Windows a try too.

@LuminarySage
Copy link

you may try "Sticky Windows" modern fluent app for Windows 10
It is on the windows store,
https://github.com/hereafter/stickywindows/wiki

it not free though.

What a shameless plug by the dev...
Not to mention that that thing works so inconsistently as well

@DarylGraves
Copy link

I feel like, if AutoHotKey can achieve it in 2 lines of code the functionality must already be there in Windows, just hidden away somewhere... Some programs like Skype for Business have the option for it. Maybe it's a registry that gets toggled or something?

@Sollace
Copy link

Sollace commented Oct 18, 2019

@DarylGraves It's actually an attribute (sometimes called AlwaysOnTop) that can be toggled on and off for a given window.

That feature is actually used a lot for all kinds of windows programs, including media players., so a user-accessible toggle is indeed a very easy thing to do.

@DarylGraves
Copy link

@DarylGraves It's actually an attribute (sometimes called AlwaysOnTop) that can be toggled on and off for a given window.

That feature is actually used a lot for all kinds of windows programs, including media players., so a user-accessible toggle is indeed a very easy thing to do.

How do we do it boss? I was trying to see if there was a registry that's toggled or something but couldn't find it.

@Sollace
Copy link

Sollace commented Oct 18, 2019

@DarylGraves If you're looking for a way to get the feature, see my comment further up the page for a downloadable utility.

From the linked article:

The program is written in Autohotkey with a single line of code:
^SPACE:: Winset, Alwaysontop, , A

It's an attribute, so you literally just need to get a handle onto the window and do some system call to modify its state. Probably would have to be written in WinForms.

@User2020
Copy link

I prefer XtraButtons for now, but I wish Windows had this built-in:
http://www.xtrabuttons.com/

@enricogior
Copy link
Contributor

Don't tell anybody... Always On Top will arrive soon ;)

@Sollace
Copy link

Sollace commented Oct 31, 2019

@enricogior proceeds to tell everyone

@LuminarySage
Copy link

Don't tell anybody... Always On Top will arrive soon ;)

@enricogior Subtle...

@crutkas crutkas added this to the 0.14 milestone Nov 13, 2019
@enricogior enricogior modified the milestones: 0.14, 0.15 Nov 22, 2019
@crutkas crutkas added the Status-In progress This issue or work-item is under development label Dec 4, 2019
@crutkas crutkas mentioned this issue Dec 4, 2019
@crutkas
Copy link
Member

crutkas commented Dec 4, 2019

Should Always On Top be named "PowerMenu" like the original tool?

@crutkas crutkas added the Product-Always On Top Refers to the idea of a Always on Top Powertoy label Dec 4, 2019
@LuminarySage
Copy link

I mean, if you intend to add more stuff later on to the menu then yeah

@cheskote
Copy link

cheskote commented Dec 3, 2021

What I use for this function is a tiny program called TurboTop (Savard Software), from 2016, but still works great.

Maybe you can check it out for inspiration or ideas.

@franky920920
Copy link
Contributor

What I use for this function is a tiny program called TurboTop (Savard Software), from 2016, but still works great.

Maybe you can check it out for inspiration or ideas.

@cheskote Thanks for your advice. We're currently working on this feature in #14360. Hope we can release this soon! 😄

@Jay-o-Way
Copy link
Collaborator

I see the (default) hotkey is Ctrl+Space. Found a site that lists about 195 uses in different programs that may use this combination. I predict there will be many issues from people that are surprised that their usual hotkey doesn't work (as expected). Will it be customizable? And should we have the toy off to start with?

@crutkas
Copy link
Member

crutkas commented Dec 9, 2021

We will not ship with that default key

@fm-sys
Copy link

fm-sys commented Dec 14, 2021

As a workaround, you can use a small helper application called always-on-top.exe, which is a third-party program that allows you to keep windows on top using Ctrl+Space. It's only around 200kB large and seem to run fine in my tests. (No warranty though ;-))

I have it in my autostart and don't want to ever miss it... :)

https://www.labnol.org/software/tutorials/keep-window-always-on-top/5213/
Direct download link: https://www.labnol.org/files/always-on-top.zip

@ghost
Copy link

ghost commented Dec 14, 2021

Is there a version of this with a more native looking icon? One with better support for Win10's light and dark themes

@SeraphimaZykova SeraphimaZykova added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Dec 29, 2021
@crutkas
Copy link
Member

crutkas commented Jan 6, 2022

We added in 0.53. Head over to https://aka.ms/installpowertoys to try it out

@crutkas crutkas closed this as completed Jan 6, 2022
@ts-mz
Copy link

ts-mz commented Jan 9, 2022

Thanks! Extremely useful! This is probably not a bug and you're aware of it, but just in case: the added window border doesn't have rounded corners on Win 11.

@Aaron-Junker
Copy link
Collaborator

Thanks! Extremely useful! This is probably not a bug and you're aware of it, but just in case: the added window border doesn't have rounded corners on Win 11.

We're aware of it. #15284

@orbitaleccentric
Copy link

orbitaleccentric commented Mar 3, 2022

ok...

On a hunch I started Notepad++ as administrator and lo! always on top worked.

I then ran SketchUp as administrator and always on top also worked.

Notepad too.

So does this mean that I have to run all my programs as administrator?

Has this always been the intended behaviour of always on top?

oops! wrong topic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Needs-Spec Something needs additional thought on how we'll implement Product-Always On Top Refers to the idea of a Always on Top Powertoy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests