QL-Win / QuickLook

Bring macOS “Quick Look” feature to Windows

Home Page:http://pooi.moe/QuickLook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-close windows on losing focus

Podbrushkin opened this issue · comments

Use case

  1. Add <AutoClose>True</AutoClose> to quicklook.cfg;
  2. Open QuickLook window with Space or from cmd;
  3. Alt-Tab to different window;
  4. QuickLook window is now closed.

I think it's a useful feature. It is embedded in PowerToys.Peek for example. Since it is a preview window, why make it persistent? If I switched to another window, let QuickLook window close automatically. It would be nice if this was available setting among already existing settings in xml.

I want it, too.

对,这个功能很好

This is a feature that I probably want the most. A very simple thing that would increase user experience quite a bit, IMO.

I'm assuming that the dev(s) are probably pretty busy, so I'd love to try my hand at adding a feature like this. I'm not familiar at all with coding apps of this nature, ones that interact with Windows directly.

Does anybody have any pointers as to where to even start with adding this sort of "onFocusLoss" type option?