Skip to content

On Wayland, trying to use a main menu accelerator always opens the "File" menu #2963

@guss77

Description

@guss77

Describe the bug
When running Eclipse on Linux under a the kwin Wayland compositor, trying to access the main menu entry using the the entry's menu accelerator (ALT+letter) always opens the "File" menu, but doesn't pre-select any entry. Pressing the letter again opens the correct menu.

To Reproduce
Steps to reproduce the behavior:

  1. Open Eclipse under KDE Plasma 6 on Wayland
  2. Press (for example) ALT+A to access the "Search" menu

Expected behavior
The "Search" menu should be opened with the first item selected. Instead, the "File" menu is opened, with no item pre-selected.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.14.8-061408-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
  1. JRE/JDK version
openjdk 21.0.9 2025-10-21
OpenJDK Runtime Environment (build 21.0.9+10-Ubuntu-124.04)
OpenJDK 64-Bit Server VM (build 21.0.9+10-Ubuntu-124.04, mixed mode, sharing)

Workaround (or) Additional context

I could not reproduce this problem under mutter (GNOME).

I could not reproduce this problem with the SWT_GTK4=1 environment flag, though there were a lot of other problem and the GTK4 implementation is quite unusable.

I could not reproduce the problem under XWayland (setting GDK_BACKEND=x11 environment variable) - as mentioned in issue #938 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions