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

Add hot corners functionality to PowerToys #1305

Open
widersky opened this issue Feb 17, 2020 · 49 comments
Open

Add hot corners functionality to PowerToys #1305

widersky opened this issue Feb 17, 2020 · 49 comments
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-New PowerToy Suggestion for a PowerToy
Milestone

Comments

@widersky
Copy link

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
@LRitzdorf
Copy link

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.

@widersky
Copy link
Author

@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.

@LRitzdorf
Copy link

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.

@widersky
Copy link
Author

@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).

@LRitzdorf
Copy link

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

@crutkas crutkas added the Idea-New PowerToy Suggestion for a PowerToy label Feb 19, 2020
@crutkas
Copy link
Member

crutkas commented Feb 19, 2020

neat idea.

@crutkas crutkas added the Help Wanted We encourage anyone to jump in on these and submit a PR. label Feb 19, 2020
@crutkas
Copy link
Member

crutkas commented Feb 19, 2020

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.

@n18l
Copy link

n18l commented Feb 22, 2020

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!

@yllekz
Copy link

yllekz commented Apr 20, 2020

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

@tps125
Copy link

tps125 commented May 21, 2020

Would love to see this idea implemented as well.

@gpproton
Copy link

gpproton commented Jul 5, 2020

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

@Admin-A-LLC
Copy link

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.

@sacameron
Copy link

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.

@Jay-o-Way
Copy link
Collaborator

@widersky You mean like Windows 8 had?

@widersky
Copy link
Author

widersky commented Sep 5, 2020

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

@cangulo
Copy link

cangulo commented Sep 5, 2020

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/

@gczark
Copy link

gczark commented Sep 7, 2020

I just want to mention the tool OneQuick that we've been used as a reference here #3690.

There's a similar feature as shown here.
image

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

@ghost
Copy link

ghost commented Nov 1, 2020

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?

@youngsavage1
Copy link

I would like to see hot corners for functions like Turn screen off. Screen saver start. Lock screen.

@crutkas crutkas mentioned this issue Nov 9, 2022
@atrauzzi
Copy link

Top left hotcorner in gnome is incredible.

@RDhar
Copy link

RDhar commented Jan 24, 2023

There's a fair few implementations of hot corners for Windows already, even recently updated ones like this: https://github.com/timrobertsdev/hotcorners.

Here's a global search of relevant results written in languages varying from Rust to Python and, of course, C#.

It's a great productivity feature which'd a perfect fit for PowerToys (maybe extending the existing Mouse Utilities) and partnering with an existing open-source dev in this space could be a great way to deliver it: just like Den Delimarsky's Awake.

@3dWrecker
Copy link

3dWrecker commented Apr 30, 2023

Would be incredibly useful for switching virtual desktops with mouse.

@tiktaalik-dev
Copy link

tiktaalik-dev commented Jun 9, 2023

Just to add some perspective from the point of view of a long time Linux user here... We have had this feature for many years in many different desktop environments, but as a KDE Plasma user myself, I find that one to be the most well polished implementation.

For starters, we can choose which action we want to trigger by touching with the mouse pointer on any corner as well as on any edge, like in this capture below:

image_2023-06-09_173435893

As you can see there, clicking on each white dot lets me choose what I want to do on that edge or corner, or not doing anything at all. On the top right corner I have enabled "Present Windows", which is similar to the Task Switcher in Windows:

image_2023-06-09_173950300

In particular, this is the productivity hack I miss the most when I have to work on a Windows operating system. The sheer convenience of touching on the corner and switching immediately to another window is amazing.

Another useful one is when I touch on the lower right corner, which displays all the virtual desktops laid out as a Desktop Grid. Bonus points because each display (laptop screen and External Display) shows the virtual desktops with the windows that are open on that screen instead of along both screens. The image below shows both displays side by side:

image_2023-06-09_174703117

I hope this helps a bit to bring these features to Windows as well :-) ** fingers crossed **

Cheers!

@LisaJackson24-2
Copy link

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.

From what I can see, it seems that this feature is not a priority for you, despite the significant number of requests from users and the constant duplication of the topic.

Perhaps this project will help you kick-start the implementation of this feature. It is written in C#, which makes it suitable for this project, unlike many others. The only thing missing in its implementation is that the hot corner remains active even in fullscreen applications, leading to false positives. As for everything else, in my opinion, it is well suited as a foundation for implementing this excellent feature.

https://github.com/LucaReggiannini/winycorners

And as for the implementation principle of hot corners as a whole, you can take this excellent project as a basis:

https://github.com/kruizer23/hotframefx

@iamhazel
Copy link

I opened PowerToys assuming this feature was included but not yet I guess! Seems a natural fit. Still miss hot corners from growing up on Macs.

@alshdavid
Copy link

After using hot corners on Gnome 4x to scatter my desktop and pick the window I want to focus on, I am craving this feature on Windows.

It's so great for productivity. All it essentialy is is detecting the mouse hitting the top left of the screen and opening the "Task View" (same as super+d keyboard shortcut).

@shirkerohit
Copy link

I had opened a similar request in 2020 and its end of 2023 and still finding this feature missing from is kind of a sad. Not sure what stopping the development of this feature. :(

@valterm
Copy link

valterm commented Nov 9, 2023

It's too bad this is not implemented yet, as the feature is immensely useful. It's something that has nearly completely replaced alt+tabbing for me on my gnome environment.
Every couple of months this gets raised in duplicate issues, and this issue still regularly gets comments, so there's definitely interest in this.

@RDhar
Copy link

RDhar commented Feb 24, 2024

GitHub's search results for "hot corner windows" still returns a number of highly-starred projects in a variety of languages, including:

I suppose the difficulty comes from time spent integrating with the existing C#/C++ codebase for any of these project maintainers/contributors.

@timrobertsdev
Copy link

timrobertsdev commented Mar 8, 2024

Author of https://github.com/timrobertsdev/hotcorners (the Rust implementation) here, I'm more than willing to put in the research and work required to polish up my own project and how it could integrate/package with PowerToys, if there's sufficient interest.

A C++ port isn't out of the question either, I just prefer Rust for what was intended to be a personal project :) It was actually inspired by the same functionality present in GNOME and was the only thing I missed when I came back to Windows.

@Espionage724
Copy link

Espionage724 commented May 9, 2024

I'm used to the top-left mouse fling for GNOME overview on Linux, and would love this on Windows!

I'll look at the projects mentioned, but I would prefer this to be as-native or official as possible; I have history with explorer/shell modifiers not being ideal or getting outdated/broken with Windows updates.

Edit: Went with https://github.com/timrobertsdev/hotcorners as it looked the most minimal and it works great!

@RDhar
Copy link

RDhar commented May 10, 2024

@Espionage724:
Edit: Went with https://github.com/timrobertsdev/hotcorners as it looked the most minimal and it works great!

And wouldn't you know it, the author of that repo (@timrobertsdev) is the immediate comment before yours!

@marecl
Copy link

marecl commented Jun 23, 2024

Fat +1 on this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-New PowerToy Suggestion for a PowerToy
Projects
Status: ⚠️Needs Walkthrough
Development

No branches or pull requests