PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Add hot corners functionality to PowerToys

Open widersky opened this issue 5 years ago • 48 comments

Summary of the new feature/enhancement

Operating systems such as macOS or some Linux distributions have hot corners option in their functionality. It would be great to have something like that in Windows. Although there are third party applications that provide such functionality (e.g. WinX Corners), they are sometimes limited.

Proposed technical implementation details (optional)

For example, you can set one of the default options:

  • Opening the task view
  • Opening the start menu
  • Opening of the action centre
  • Opening Cortana (?)
  • Opening the Alt-tab interface
  • Execution of own powershell / cmd command

widersky avatar Feb 17 '20 05:02 widersky

One thing to note: the Windows 10 interface already includes actions for three of the four screen corners. Clockwise from top right, we have Close Window, Show/Peek At Desktop, and the Start Menu. In addition, for apps with their icon in the upper left corner (and Chrome, before receiving Material Design tabs), clicking there gives options like Restore, Move, Minimize, and Maximize.

To summarize: your idea is appealing, but it seems that (most of) the screen corners are already full.

LRitzdorf avatar Feb 17 '20 23:02 LRitzdorf

@LRitzdorf thanks. But I meant the actions that are done when you get to the corner with your mouse, without click. This could speed up work in certain situations. For example, after reaching the upper left corner, a view of tasks would show up.

widersky avatar Feb 18 '20 08:02 widersky

Task View from the upper left corner would definitely be useful, but what happens when you try to close a window from the upper right corner and accidentally trigger the associated hot corner action? Just trying to avoid counterproductive results here.

LRitzdorf avatar Feb 19 '20 00:02 LRitzdorf

@LRitzdorf Some tools of this type allow you to set a slight delay (500ms for example) to prevent this behavior. Others trigger the action only when "pressure" on a corner is detected (similar to showing a hidden dock in macOS).

widersky avatar Feb 19 '20 05:02 widersky

@widersky Excellent point, both of those would certainly help.

LRitzdorf avatar Feb 19 '20 18:02 LRitzdorf

neat idea.

crutkas avatar Feb 19 '20 18:02 crutkas

adding help wanted sticker as it isn't something that we're planning for v1.0. If a community member would love to work with us, happy to spend time with everyone help out with design.

crutkas avatar Feb 19 '20 18:02 crutkas

I use an AutoHotKey script to do this exact thing—touching the mouse to the upper left-hand corner of my screen triggers the Task View. It's immensely useful to me, and a habit I picked up from macOS where I do the same gesture to trigger its Task View equivalent, "Mission Control".

I think it's a perfect fit for PowerToys!

For what it's worth, it was previously suggested under #1003 in December, so I know there's been some interest in it for awhile.

Edit: Here's a gist of my AHK hotcorners script. I've tried to document it well so you can customize it to suit your needs, but feel free to comment on the gist with any questions!

n18l avatar Feb 22 '20 22:02 n18l

Love this idea and sorely miss this feature from macOS. Would love to see this come to Windows as a PowerToy.

yllekz avatar Apr 20 '20 16:04 yllekz

Would love to see this idea implemented as well.

tps125 avatar May 21 '20 15:05 tps125

This totally would make life easier whenever 1 use my windows PC

gpproton avatar Jul 05 '20 02:07 gpproton

It would be so useful to have one of the corners prevent sleep/screen saver by default since that feature doesn't seem to exist in windows by default and even 3rd party is clunky at best. It might need to use the same sleep prevention mechanism that media playback apps use, but I'm not sure how that might affect notifications. In any case, sleep prevention is so desperately needed for those who utilize external devices, like microscopes and watching on the screen. The damn computer eternally attempts to sleep because there's no need to touch the keyboard or mouse for extended periods and turning off sleep isn't a very power conservation way to go either.

Admin-A-LLC avatar Jul 07 '20 19:07 Admin-A-LLC

Would love to see this! This is one clear usability perk that macOS has over Windows today that I would love to see Windows gain. Seems like a good fit for Power Toys.

sacameron avatar Jul 08 '20 20:07 sacameron

@widersky You mean like Windows 8 had?

Jay-o-Way avatar Sep 05 '20 13:09 Jay-o-Way

@Jay-o-Way I don't know how it was in Windows 8, I almost don't use this version of Windows.

widersky avatar Sep 05 '20 13:09 widersky

If anyone wants a temporal workaround, you can use AutoHotkey as I explain in the following post:

https://carlosangulo.es/blog/productivity/2020-08-02-setting-hot-corners-in-windows-10-with-autohoykey/

cangulo avatar Sep 05 '20 19:09 cangulo

I just want to mention the tool OneQuick that we've been used as a reference here https://github.com/microsoft/PowerToys/issues/3690.

There's a similar feature as shown here. image

You can set a command in the stay(beta) to open an app.

gczark avatar Sep 07 '20 09:09 gczark

but it seems that (most of) the screen corners are already full.

Why are current the screen corners fixed? This feel narrow minded.

What if the windows user do not use this current corners feature because they wish for other actions to increase their productivity?

ghost avatar Nov 01 '20 10:11 ghost

Why are current the screen corners fixed?

@HWilleboordse Because you have a Start button in the bottom-left and every window that is maximized or on the right side will have it's [X] close button in the top-right and you have the Aero Peek function in the bottom right.

Jay-o-Way avatar Nov 01 '20 10:11 Jay-o-Way

Why are current the screen corners fixed?

@HWilleboordse Because you have a Start button in the bottom-left and every window that is maximized or on the right side will have it's [X] close button in the top-right and you have the Aero Peek function in the bottom right.

1 - The start button position depends on the location of the windows bar (the user can drag the windows bar to different screen locations) 2 - Area peek is a feature the user can turn on/off. (Like many I have all visual windows effects turned to speed performance of the OS) 3 - Moving the mouse pointer to a hot area / corner (and not click there) does not effect the windows feature you mentioned and should work fine (as is proven by many other 3rd party utilities and their users)

ghost avatar Nov 01 '20 11:11 ghost

For now I switched to Samsung Easy Setting Box software. Dell desktop management is also a good alternative.

ghost avatar Nov 11 '20 07:11 ghost

Any update regarding this Hot Corners from Linux/MacOS feature? It would absolutely change my workflow. I've grown tired from troubleshooting WinX Corners (written in pascal ew)

prysmanta avatar Dec 24 '20 17:12 prysmanta

Would also really love to see Hot Corners. As far as I'm concerned that's the primary advantage Mac has over Windows and its something I use constantly on my work machine (a company issued Mac.) I would love a well implemented hot corners function to allow user to set the behavior for each corner.

Cryptic318 avatar Jul 16 '21 14:07 Cryptic318

Just wanted to add my voice of support for this feature. With the introduction of the windows 11 centered start button, one of the bigger complaints has been its disregard for Fitt's Law and the left aligned start menu button. Whatever your thoughts on that, there is no denying that a lot of people are used to going there for the start menu. I would see this as the perfect opportunity to keep that start menu muscle memory active, by enabling Start to open once they 'slam' the mouse into that corner. A real productivity boon. I think the best approach is to speed up actions that are already designed to be productivity enhancers. So things like show desktop, snap assist, snipping tool and even enabling lock screen could all be enhanced by enabling the user to 'slam' the mouse into these corners.

h38d7v avatar Aug 05 '21 13:08 h38d7v

I second this. The fact that Windows 11 has now moved the start button over to the middle of the screen now has completely left open for user ALL corners of the screen. I'd take advantage of the muscle memory now and setup something like the PowerToys "Shortcut Guide" or maybe the "PowerToys Run" feature to come up on dragging the mouse to the bottom-left corner. Heck, might as well have it come up on every bottom-left corner of all monitors (in case of multiple monitors) cementing PowerToys into an absolute necessity.

Admin-A-LLC avatar Aug 05 '21 17:08 Admin-A-LLC

I am personally using WinXcorners (https://github.com/vhanla/winxcorners) which also works on Windows 11.

It looks very clean, but was last updated two years ago. This would be a perfect addition PowerToys. Since this issue is tagged with Help wanted, maybe someone would be inclined to fork this and update to use modern PowerToys approaches.

DennisGaida avatar Nov 30 '21 09:11 DennisGaida

WinXcorners

I think @crutkas would be the right one to connect with those.

Jay-o-Way avatar Nov 30 '21 09:11 Jay-o-Way

I would LOVE to see this feature! If anybody has any questions about it, take a look at how it is implemented on Mac OS.

On my Mac, I love using the upper right corner to immediately put the screen to sleep! My upper left corner is used to show the desktop, much like Win-d does.

Has there been any further progress, consideration, or interest?

breadteam avatar Mar 01 '22 12:03 breadteam

I've been reading through the contribution guidelines and working through C# courses to see if I can try to work on an implementation. I'm just not too familiar with C# and Visual Studio so there's a bit of a learning curve.

D-Arora avatar Mar 01 '22 22:03 D-Arora

I just realized that my previous response in this thread committed one of the internet's cardinal sins: Stating I had a solution without sharing it. So for you other hot-corner enthusiasts (at least those comfortable with AutoHotKey), here's a gist of my AHK hotcorners script.

I've tried to document it well so you can customize it to suit your needs, but feel free to comment on the gist with any questions!

Edit: Changing my username awhile back broke the gist link. It's fixed now!

n18l avatar Mar 01 '22 23:03 n18l