Coder Social home page Coder Social logo

Comments (4)

cbo100 avatar cbo100 commented on June 15, 2024

I've only had a quick look at this, but to me it seems possible it's Windows not sending the Key Up message. Not really a bug, more like a limitation. Possibly a side effect of the secure desktop?

The winKeyPressed flag gets stuck on in KeyProvider.DetectWindowsKey as it seems the InterceptKeys.HookCallback is never notified of the Win key being released in some cases.

Reproducible:

  1. Press Win + L
  2. Ensure to hold the Win key down until the "Press CTRL+ALT+DEL to Unlock" screen appears
  3. Upon unlocking the desktop again all keystrokes are reported as Win+[KEY]

If you very quickly release the Win key before the secure desktop is loaded then it does not have the problem.

from carnac.

peteraritchie avatar peteraritchie commented on June 15, 2024

Okay, I see what's happening. I had originally thought it was a bug in Windows (which I was going to use a fuel for something else...) but it does seem to be something in Carnac. I've submitted a pull request with a change for this to simulate a key up event on the unlock of the desktop (if needed).

from carnac.

JakeGinnivan avatar JakeGinnivan commented on June 15, 2024

Thanks for this. @shiftkey any thoughts on when you can migrate to squirrel and how we do deployment? Or should I just push clickonce update on the weekend?

from carnac.

shiftkey avatar shiftkey commented on June 15, 2024

@JakeGinnivan let's just push a ClickOnce update for now

from carnac.

Related Issues (20)

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.