AnEmortalKid / avocapture

A replay renaming overlay
3 stars 0 forks source link

Focus/move on top wonky #4

Closed AnEmortalKid closed 2 years ago

AnEmortalKid commented 2 years ago

When the dialog is hidden, the window that the dialog displayed above does not auto gain focus.

AnEmortalKid commented 2 years ago

https://stackoverflow.com/questions/60296423/how-to-focus-on-electron-window-when-it-opens-after-focussing-on-another-program

AnEmortalKid commented 2 years ago

Something with electron...... have to use something like this https://github.com/robinwassen/forcefocus/blob/master/lib/forcefocus.js

AnEmortalKid commented 2 years ago

Might need to re-build forcefocus with electron 20 or make my own... :(

https://github.com/cedricdsc/forcefocus/commit/dc879ce71e464446607b80be8d8cda61887995c5

AnEmortalKid commented 2 years ago

Able to get around the bindings problem by using https://github.com/timfish/forge-externals-plugin properly configured

AnEmortalKid commented 2 years ago

Fixed by #9