Skip to content

[GTK][Wayland] Click outside a grabbing ON_TOP shell is swallowed, editor drop-down list does not close #3738

Closed

Description

@vogella

On Linux GTK3 under native Wayland, a click outside a focusable SWT.ON_TOP shell does not reach SWT at all, so the shell gets no SWT.Deactivate and cannot close itself.
The editor drop-down list behind the editor tab chevron is affected: it stays open and only ESC closes it, while Quick Access and the same list on Windows and X11 close on an outside click.

The shell takes a GTK and seat grab in Shell.bringToTop(), so GTK redirects the press on any other shell to it, but the press handler was only connected for shells that also have SWT.RESIZE.
The click is swallowed and the popup keeps its grab.

Image

Activity

  1. BeckerWdf commented on Oct 12, 2026

    @BeckerWdf
    Member

    you mean the popup that comes up when you click on the chevron?

  2. vogella commented on Oct 12, 2026

    @vogella
    ContributorAuthor

    2. you mean the popup that comes up when you click on the chevron?

    The right side of the screenshot (editor drop-down)

  3. deepika-u commented on Oct 13, 2026

    @deepika-u
    Contributor

    I havent faced this issue since i worked on this pr eclipse-platform/eclipse.platform.ui#4450 now and then for past 10 days.

    I am using this environment ->
    Eclipse SDK
    Version: 2026-12 (4.42)
    Build id: I20261012-2300
    OS: Windows 11, v.10.0, x86_64 / win32
    Java vendor: Oracle Corporation
    Java runtime version: 26+35-2893
    Java version: 26

  4. vogella commented on Oct 13, 2026

    @vogella
    ContributorAuthor

    4. I havent faced this issue since i worked on this pr #4450 now and then for past 10 days.
    I am using this environment ->
    Eclipse SDK
    Version: 2026-12 (4.42)
    Build id: I20261012-2300
    OS: Windows 11, v.10.0, x86_64 / win32
    Java vendor: Oracle Corporation
    Java runtime version: 26+35-2893
    Java version: 26

    On Linux still re-producable

  5. deepika-u commented on Oct 13, 2026

    @deepika-u
    Contributor

    On Linux still re-producable

    oh ok thanks for confirming, i havent attempted on linux.

  6. vogella commented on Oct 16, 2026

    @vogella
    ContributorAuthor

    Root cause in SWT GTK

  7. changed the title [-]Editor drop-down list does not close if I click outside[/-] [+][GTK][Wayland] Click outside a grabbing ON_TOP shell is swallowed, editor drop-down list does not close[/+] on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions