Giter Club home page Giter Club logo

focuslock's Introduction

Hello! ๐Ÿ‘‹

  • ๐Ÿ’– I'm a big fan of security by design. I love to write software (and plugins for other software!) to try to help people become more secure with as little effort as possible. Everything I build, I consider how to integrate security in a way which isn't too obtrusive to really use.

  • ๐Ÿง‘โ€๐Ÿ’ป My development languages of choice are C#, Python, Javascript/Typescript, and some shell scripts. When it comes to UX languages, I love the Bootstrap methodology of HTML/CSS development and use it everywhere I can.

  • ๐Ÿ’ฌ Want to strike up a conversation? Shoot me a message -- [email protected]

focuslock's People

Contributors

anthturner avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

groooty

focuslock's Issues

Focus lock doesn't always work with Outlook

Something strange is happening when I'm creating new emails or calendar appointments in the Outlook desktop app on Windows 10.

When I hit Ctrl+N to create either a new email or a new calendar appointment, the new window will pop up for a moment and then disappear - FocusLock will bring the main Outlook email/calendar window back to the front, covering up the new email/appointment.

The weird thing is that this only happens sometimes, not always. If I Alt+Tab to the new email/appointment and then Alt+Tab back to Outlook, then the behaviour corrects itself; if I press Ctrl+N again, the problem no longer occurs. In both cases, the new email/appointment window appears as a separate entry on my TaskBar, so I'm not sure what the difference is...

Input lockout after focus switch?

First let me say: this could be the greatest application ever created! Focus stealing is the devil, and this simple tool could finally put an end a lifetime of misery for millions of poor souls (ok maybe that's an exaggeration, but only a small one!). So bravo :)

Whilst the existing functionality does seem to work as intended, it does not solve the problem completely. There is still the potential to start entering input immediately after an unexpected focus-switch event... this has happened to me many times, to much wailing and gnashing of teeth.

Can you think of a way to block input to a process immediately after it gains focus? Preferably with some kind of 'flash' if input is received during this lock-out interval, to alert the user that they just dodged a bullet and should stop typing/clicking stat. The lock-out interval should also be extended each time input is received in case they are not looking at the screen, and perhaps a warning symbol should come up which remains onscreen for a few seconds.

Perhaps to achieve this your app could temporarily switch focus to itself after every non-user-initiated focus switch? (are you able to differentiate user-initiated focus switches? maybe it doesn't matter)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.