Description
What steps will reproduce the problem?
1. Create a PushButton with a tooltip
2. Wire up a Swing file chooser dialog to the button (see code below)
3. Click the button
{{{!
pivot.wtk.PushButton button = (pivot.wtk.PushButton)serializer.getObjectByName("button");
button.getButtonPressListeners().add(new pivot.wtk.ButtonPressListener() {
@SuppressWarnings("deprecation")
public void buttonPressed(pivot.wtk.Button button)
});
}}}
What is the expected output? What do you see instead?
The display host does not see any mouse activity after the [modal] file
dialog is opened, and as such, the tool-tip timer activates the tool-tip
incorrectly. The button also does not repaint itself as it should.
See attached screen shot.
We don't want to cater to deprecated use cases, but I'm wondering if there
isn't a native event we could listen for in DisplayHost (like
enabledChanged) that could allow us to easily solve this problem.