Wednesday, February 1, 2017

windows 10 - Desktop Shortcut Key takes too much time to open


I just found out that you can set a key combination to open a particular shortcut on your desktop. However, when I do this, it takes four to five seconds to open, consistently. How do I make this delay go away and make the shortcut open instantly?


For anyone wondering, the way to set the key combination is to right click the shortcut, select properties, go to the shortcut tab and set the Shortcut key property by selecting the field and pressing a key.


It seems you can only use ctrl+alt+key to open shortcuts, but I don't find that to be a problem.


Answer



When you press the key combination, explorer will query all opened windows to check if one of them has this shortcut associated (so it can give the focus to this window)
So, if you have a frozen window/program, explorer will wait for an answer until the ~4 second timeout is reached, and then give up.


It's explained by Raymond on this blog:
https://blogs.msdn.microsoft.com/oldnewthing/20120502-00/?p=7723


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...