mattDavo / Yippy

macOS open source clipboard manager
MIT License
364 stars 26 forks source link

Yippy Taking Focus #43

Open karlhorky opened 3 years ago

karlhorky commented 3 years ago

Hi @mattDavo ! 👋

I realize that in the last few versions of Yippy there has been a regression in terms of the focus:

  1. In previous versions, when Yippy was opened, it did not steal focus from whatever had it
  2. In new versions, the focus is stolen from the current window

This new focus stealing is causing a few weird problems, especially with applications such as Chrome and VS Code in the current versions, where Chromium has a bug in stable versions where the wrong window is focused, causing pastes in the wrong place (this is fixed in Canary).

Even without this bug in Chromium, it causes unfortunate issues such as triggering of automated actions that happen on blur (eg. in VS Code, running a code formatter, potentially messing up your paste location).

Wonder if this has anything to do with the new Yippy search field...

gagarine commented 3 years ago

On multi-screen I have similar problem. Yippy take focus and when I select the entry I want to past, Yippy past it in the wrong windows (two word document open, each in different screen).