[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Integrated: 8277369: Strange behavior of JMenuBar with RIGHT_TO_LEFT orientation, arrow keys behaves
From:       Prasanta Sadhukhan <psadhukhan () openjdk ! java ! net>
Date:       2022-02-24 9:56:12
Message-ID: iQJjAHtG4qc6MZ9QWVUqh3heJtwdaHl6K5mDzADBZp4=.ea92927c-9246-4042-84f9-91f88cca1b04 () github ! com
[Download RAW message or body]

On Wed, 9 Feb 2022 05:39:52 GMT, Prasanta Sadhukhan <psadhukhan@openjdk.org> wrote:

> After applying setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT) to the \
> JMenuBar the arrow keys started to behave the opposite of what expected. Right \
> arrow goes left and Left arrow goes right when trying to traverse through keyboard. \
>  Fixed to reverse the direction traversal for RTL orientation.

This pull request has now been integrated.

Changeset: 379fd859
Author:    Prasanta Sadhukhan <psadhukhan@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/379fd85932e4b82e9a8e85f8ed8e63202f3cb9bc
                
Stats:     185 lines in 2 files changed: 184 ins; 0 del; 1 mod

8277369: Strange behavior of JMenuBar with RIGHT_TO_LEFT orientation, arrow keys \
behaves opposite traversing through keyboard

Reviewed-by: prr, naoto, serb

-------------

PR: https://git.openjdk.java.net/jdk/pull/7396


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic