Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
panni
2 discussion posts
Hey,

I love your software. It fits all my needs and despite certain struggles with new Windows versions, you tend to fix those pretty fast.

I've been searching for one particular feature over years now, since Windows 7: prevent focus stealing.
When any windows input/text control is active (with blinking cursor) there's no sane reason why any other starting application which sets focus should be able to steal the input focus of my current window. It also tends to happen often with installers that take a certain amount of time - I'm typing in Chrome in some messageboard, the installer asks me something, and I trigger the default action because I'm typing.

This is especially awful when using stuff like Pageant on Windows startup, which requires me to enter several private key passwords - while Skype is starting two instances and constantly stealing focus while I'm trying to enter my passwords.

Judging by the depth that the DF display hooks seem to go, would that be something you'd be willing to try? Try searching for "focus stealing" to measure the possible popularity of this feature.

Thank you very much!
Nov 10, 2016 (modified Nov 10, 2016)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Unfortunately this isn't really possible to do. Windows doesn't send a message that the focus has changed until after it's actually changed, so the best we could do is hook that message and give focus back to the other application, but by that time you've already dropped a few keystrokes :(

Sorry!
Nov 11, 2016  • #2
User Image
panni
2 discussion posts
Quote:
Unfortunately this isn't really possible to do. Windows doesn't send a message that the focus has changed until after it's actually changed, so the best we could do is hook that message and give focus back to the other application, but by that time you've already dropped a few keystrokes :(

Sorry!


Thank you for your answer!

Hmm. I guess you've got globally injected hooks, am I right? Wouldn't it be possible to globally hook the API events, listen for common keystrokes (and retain them perhaps) and apply a timed threshold after a keystroke has happened, to ignore the next/previous WM_ACTIVATE, or reactivate the previous window automatically and replaying the retained keystrokes? (While maintaining ALT+TAB and mouse actions)

First thing that jumped me: http://superuser.com/a/404246
Nov 11, 2016 (modified Nov 11, 2016)  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We do indeed use global hooks. I'll create a feature request with that info. If we're able to make something like this work in a future version, we'll be sure to let you know.

Thanks!
Nov 16, 2016  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)