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

List:       openjdk-swing-dev
Subject:    Re: RFR: 8155030: The Menu Mnemonics are always displayed for GTK LAF [v3]
From:       Abhishek Kumar <abhiscxk () openjdk ! org>
Date:       2024-05-15 18:17:20
Message-ID: tiq9lt0psFsHDA-4GiyE_S2maUxl-ZLGxFJaVZQrzWI=.65281ceb-b6fd-41bd-bea1-bd8a62e6d80e () github ! com
[Download RAW message or body]

> In GTK LAF, the menu mnemonics are always displayed which is different from the \
> native behavior. In native application **(tested with gedit**), the menu mnemonics \
> toggle on press of `ALT` key. Menu mnemonics are hidden initially and then toggles \
> between show/hide on `ALT` press.  Proposed fix is to handle the `ALT` key press \
> for GTK LAF and mimic the native behavior. Fix is similar to the `ALT` key \
> processing in  Windows LAF. Automated test case is added to verify the fix and \
> tested in Ubuntu and Oracle linux. 
> CI testing is green and link attached in JBS.

Abhishek Kumar has updated the pull request incrementally with one additional commit \
since the last revision:

  Alt press property added for GTK L&F

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18992/files
  - new: https://git.openjdk.org/jdk/pull/18992/files/fa18d524..d097dcdd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18992&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18992&range=01-02

  Stats: 18 lines in 3 files changed: 10 ins; 8 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18992.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18992/head:pull/18992

PR: https://git.openjdk.org/jdk/pull/18992


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

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