FooSoft / anki-connect

Anki plugin to expose a remote API for creating flash cards.
https://foosoft.net/projects/anki-connect/
Other
1.94k stars 219 forks source link

Bring Edit dialog to foreground more reliably #323

Closed oakkitten closed 2 years ago

oakkitten commented 2 years ago

When user clicks on “View added note” in Yomichan, the Browser dialog is show. The Edit dialog is meant to be shown as an alternative to Browser. Currently, in some cases, the dialog would show but, unlike Browser, would not come into focus or even flash the taskbar button. This remedies the situation to some extent.

See also the conversation in https://github.com/FooSoft/yomichan/issues/2070 and the comment in the code.

Edit: the checks fail as the tests on master fail I guess