[Wayland] Fix crash during tablet pen tab drag proximity change [chromium/src : main]

0 views
Skip to first unread message

Thomas Anderson (Gerrit)

unread,
Jul 14, 2026, 11:34:59 AM (9 days ago) Jul 14
to Thomas Lukaszewicz, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org
Attention needed from Thomas Lukaszewicz

Thomas Anderson voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Thomas Lukaszewicz
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I980db2b5bacee22a520c9a8b0e050c28d7de0365
Gerrit-Change-Number: 8092750
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
Gerrit-Attention: Thomas Lukaszewicz <tl...@chromium.org>
Gerrit-Comment-Date: Tue, 14 Jul 2026 15:34:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Lukaszewicz (Gerrit)

unread,
Jul 14, 2026, 2:30:32 PM (9 days ago) Jul 14
to Thomas Anderson, Chromium LUCI CQ, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org
Attention needed from Thomas Anderson

Thomas Lukaszewicz voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Thomas Anderson
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I980db2b5bacee22a520c9a8b0e050c28d7de0365
    Gerrit-Change-Number: 8092750
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Comment-Date: Tue, 14 Jul 2026 18:30:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jul 14, 2026, 2:38:41 PM (9 days ago) Jul 14
    to Thomas Anderson, Thomas Lukaszewicz, chromium...@chromium.org, max+watc...@igalia.com, nickdiego+wa...@igalia.com, ozone-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [Wayland] Fix crash during tablet pen tab drag proximity change

    When dragging a tab with a tablet pen, lifting the pen triggers
    OnTabletToolProximityOut(), which retains the buttons as pressed.
    When the pen comes back into proximity, OnTabletToolProximityIn() is
    called. Previously, this unilaterally dispatched a button release
    event, causing the active drag session to terminate on the client side
    while the compositor and high-level drag controller still considered
    the drag active, resulting in a subsequent crash.

    This CL fixes the issue by only releasing the buttons on proximity-in
    if there is no drag session currently in progress.
    Bug: 532860184
    Change-Id: I980db2b5bacee22a520c9a8b0e050c28d7de0365
    Auto-Submit: Thomas Anderson <thomasa...@chromium.org>
    Reviewed-by: Thomas Lukaszewicz <tl...@chromium.org>
    Commit-Queue: Thomas Lukaszewicz <tl...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1662025}
    Files:
    • M ui/ozone/platform/wayland/host/wayland_event_source.cc
    • M ui/ozone/platform/wayland/host/wayland_window_drag_controller_unittest.cc
    Change size: M
    Delta: 2 files changed, 52 insertions(+), 1 deletion(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Thomas Lukaszewicz
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I980db2b5bacee22a520c9a8b0e050c28d7de0365
    Gerrit-Change-Number: 8092750
    Gerrit-PatchSet: 3
    Gerrit-Owner: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Reviewer: Thomas Lukaszewicz <tl...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages