LaurensWeyn / Spark-Reader

A tool to assist non-naitive speakers in reading Japanese
GNU General Public License v3.0
31 stars 7 forks source link

Improve focus behavior when takeFocus true #8

Closed wareya closed 7 years ago

wareya commented 7 years ago

The window is always brought to the top, so when click-focus is enabled, it should never take focus otherwise. This is basically a java problem though.

The change in Overlay makes the window not take focus whenever it rerenders.

The change in UI makes the window not take focus when it goes from not visible to visible.

If spark reader ever gets a setting to disable always being on top, the change in UI would have to take that into account.