RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
787 stars 259 forks source link

Fix onChangeSelection and related events for inactive tabbed frames #4810

Closed kwvanderlinde closed 4 months ago

kwvanderlinde commented 4 months ago

Identify the Bug or Feature request

Fixes #4709

Description of the Change

As an AWT component, inactive tabbed frames are considered not visible, so the existing check did not accomodate these. As a JIDE component they are considered not hidden, so we use that property instead.

Possible Drawbacks

If anyone is counting on inactive tabs not generating events, this will shock them.

Documentation Notes

Frames can generate onChangeSelection, onChangeToken, and onChangeImpersonated even when not the active tab.

Release Notes


This change is Reviewable