RFR: 8306119: Many components respond to a mouse event by requesting focus without supplying the MOUSE_EVENT cause [v4]
Jayathirth D V
jdv at openjdk.org
Mon May 29 06:41:56 UTC 2023
On Mon, 29 May 2023 05:58:24 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Many Swing components request a focus transfer in response to a mouse event, but fail to supply a Cause when requesting focus. A focus event listener will find the cause to be UNKNOWN, but MOUSE_EVENT would be more appropriate.
>> Fixed by adding MOUSE_EVENT cause to requestFocus() when it is called for mouse events...
>>
>> All jtreg/jck tests are ok..
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Keep mouse only focus events
Marked as reviewed by jdv (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/14004#pullrequestreview-1448955231
More information about the client-libs-dev
mailing list