Giter Club home page Giter Club logo

Comments (6)

mrembisz avatar mrembisz commented on August 23, 2024 2

Works perfectly. Also the window shows up immediately, with stock gpg it took like 10 seconds to appear. Thanks a lot!

from pass-winmenu.

geluk avatar geluk commented on August 23, 2024

Thanks! This is indeed an issue that I'm aware of, although I have not yet been able to track down why this happens (it seems to be mostly random as far as I can tell). I'll look into this a little further.

from pass-winmenu.

JarnoStark avatar JarnoStark commented on August 23, 2024

I have the same issue while using the tool. I startet du use first the only Passwort Copy Hotkey to type in my passphrase for one time, and then use the Auto Fill Hotkey. Its just one more Hotkey so its not that bad.

Is it possible that the window hasnt focus because of multible Monitors? Just an Idea...

from pass-winmenu.

geluk avatar geluk commented on August 23, 2024

I have been looking into it further, and I came to the same conclusion that it only occurs on a multi-monitor setup. For whatever reason, Pinentry (the application used by GPG to prompt for passphrases) does not place itself in the foreground properly. I actually wrote a helper method quite a while ago to see if I could make pass-winmenu force it to the foreground (using a direct call to SetForegroundWindow) which still fails (you'll see a log message saying "Failed to send pinentry window to foreground" whenever it happens).

It seems like Windows does not allow the window to be moved to the foreground, but it's still unclear to me why that is.

from pass-winmenu.

gnugnug avatar gnugnug commented on August 23, 2024

For me it is the other way round with v1.11.1: When 2 monitors are connected, the passphrase dialog has focus. With only 1 monitor, the window is displayed in the foreground, but has no focus.

from pass-winmenu.

geluk avatar geluk commented on August 23, 2024

One solution I've found to work so far is to switch to Gpg4Win, which uses a different pinentry window where this issue is not present.

from pass-winmenu.

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.