RFR: 8254841: Enter or Exit events are shouldn't be displayed while resizing
Pankaj Bansal
pbansal at openjdk.java.net
Tue Sep 14 21:05:49 UTC 2021
On Mon, 13 Sep 2021 18:03:39 GMT, Alisen Chung <github.com+90066231+alisenchung at openjdk.org> wrote:
> Added a resizing flag when the window is currently being resized to block mouseEntered and mouseExited events from being posted to that window.
I have some suggestion for test
1. Access the swing components only on EDT thread.
2. The test java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter.java is added against the current bug in ProblemList. Please have a look at this test also. It is a manual test and it should also pass after your fix. If it does pass, remove it from the ProblemList and if does not, please look into it.
3. Looks like the bug is a confidential bug, it should be made public for github review.
test/jdk/java/awt/event/MouseEvent/SpuriousExitEnter/ResizeMouseExitEnterMisfire.java line 36:
> 34: * @bug 8254841
> 35: * @summary Tests spurious firing of mouseEntered and mouseExit on resize
> 36: * @author Alisen Chung: area=MouseEvent
The author tag is not added to the newly added tests. Infact, this is generally removed as part of cleanup while fixing something else in an old test
-------------
PR: https://git.openjdk.java.net/jdk/pull/5497
More information about the client-libs-dev
mailing list