aura: Clear window tracking state on kMouseExited for child windows [chromium/src : main]

0 views
Skip to first unread message

Michael Wojcicka (Gerrit)

unread,
May 15, 2026, 7:07:03 PMMay 15
to Mitsuru Oshima, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org

Michael Wojcicka added 1 comment

Patchset-level comments
File-level comment, Patchset 11 (Latest):
Michael Wojcicka . resolved

FYI: I'm going to run the CQ but it will still fail on the previous test because I did not fix it yet. However I added more unit tests, which I want to run on Win/Mac to see if they pass.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
Gerrit-Change-Number: 7830632
Gerrit-PatchSet: 11
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
Gerrit-CC: Mitsuru Oshima <osh...@chromium.org>
Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
Gerrit-CC: Zhe Su <su...@chromium.org>
Gerrit-Comment-Date: Fri, 15 May 2026 23:06:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wojcicka (Gerrit)

unread,
May 15, 2026, 7:12:42 PMMay 15
to Mitsuru Oshima, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org

Michael Wojcicka added 1 comment

Patchset-level comments
Michael Wojcicka . resolved

FYI: I'm going to run the CQ but it will still fail on the previous test because I did not fix it yet. However I added more unit tests, which I want to run on Win/Mac to see if they pass.

Michael Wojcicka

Sorry, just Windows (since macOS doesn't use Aura).

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
Gerrit-Change-Number: 7830632
Gerrit-PatchSet: 11
Gerrit-Owner: Michael Wojcicka <mw...@google.com>
Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
Gerrit-CC: Mitsuru Oshima <osh...@chromium.org>
Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
Gerrit-CC: Zhe Su <su...@chromium.org>
Gerrit-Comment-Date: Fri, 15 May 2026 23:12:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Wojcicka <mw...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Mitsuru Oshima (Gerrit)

unread,
May 18, 2026, 5:38:13 PMMay 18
to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
Attention needed from Michael Wojcicka

Mitsuru Oshima added 2 comments

Patchset-level comments
File-level comment, Patchset 12 (Latest):
Mitsuru Oshima . resolved

youI

File ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
Line 287, Patchset 12 (Latest): recording_view->exit_location());
Mitsuru Oshima . unresolved

I think you need to test this in interactive_u_tests, which generates actual native events. I also think you need a child (embedded) window as a target of the native window?

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wojcicka
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
    Gerrit-Change-Number: 7830632
    Gerrit-PatchSet: 12
    Gerrit-Owner: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
    Gerrit-Attention: Michael Wojcicka <mw...@google.com>
    Gerrit-Comment-Date: Mon, 18 May 2026 21:37:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mitsuru Oshima (Gerrit)

    unread,
    May 18, 2026, 6:41:34 PMMay 18
    to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Michael Wojcicka

    Mitsuru Oshima added 1 comment

    Patchset-level comments
    Mitsuru Oshima . resolved

    youI

    Mitsuru Oshima

    sorry for incomplete comment. Could you also verify that added tests fails without your patch?

    Gerrit-Comment-Date: Mon, 18 May 2026 22:41:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Wojcicka (Gerrit)

    unread,
    May 21, 2026, 6:40:03 PMMay 21
    to Mitsuru Oshima, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org

    Michael Wojcicka added 2 comments

    File ash/wm/native_cursor_manager_ash_unittest.cc
    Line 250, Patchset 15 (Latest): ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow(),
    Michael Wojcicka . unresolved

    Apparently `ui_controls` is not supported on ChromeOS.

    Oshima-san, is `ui::test::EventGenerator` the recommended approach on CrOS?

    File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
    Line 214, Patchset 15 (Latest): base::RunLoop run_loop;
    Michael Wojcicka . unresolved

    Oshima-san, I know `base::RunLoop`'s are generally discouraged in production code, but here it doesn't seem too bad to use. WDYT?

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
    Gerrit-Change-Number: 7830632
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
    Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
    Gerrit-CC: Zhe Su <su...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 May 2026 22:39:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mitsuru Oshima (Gerrit)

    unread,
    May 23, 2026, 12:34:18 AMMay 23
    to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Michael Wojcicka

    Mitsuru Oshima added 1 comment

    File ash/wm/native_cursor_manager_ash_unittest.cc
    Line 250, Patchset 15 (Latest): ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow(),
    Michael Wojcicka . unresolved

    Apparently `ui_controls` is not supported on ChromeOS.

    Oshima-san, is `ui::test::EventGenerator` the recommended approach on CrOS?

    Mitsuru Oshima

    It is supported. You have to addd test to interactive_ui_tests. please see

    ash/drag_drop/drag_drop_interactive_uitest.cc

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Wojcicka
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
    Gerrit-Change-Number: 7830632
    Gerrit-PatchSet: 15
    Gerrit-Owner: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
    Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
    Gerrit-CC: Zhe Su <su...@chromium.org>
    Gerrit-Attention: Michael Wojcicka <mw...@google.com>
    Gerrit-Comment-Date: Sat, 23 May 2026 04:34:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Wojcicka <mw...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Wojcicka (Gerrit)

    unread,
    May 26, 2026, 6:14:00 PMMay 26
    to Mitsuru Oshima, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Mitsuru Oshima

    Michael Wojcicka added 1 comment

    File ash/wm/native_cursor_manager_ash_unittest.cc
    Line 250, Patchset 15: ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow(),
    Michael Wojcicka . resolved

    Apparently `ui_controls` is not supported on ChromeOS.

    Oshima-san, is `ui::test::EventGenerator` the recommended approach on CrOS?

    Mitsuru Oshima

    It is supported. You have to addd test to interactive_ui_tests. please see

    ash/drag_drop/drag_drop_interactive_uitest.cc

    Michael Wojcicka

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mitsuru Oshima
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
    Gerrit-Change-Number: 7830632
    Gerrit-PatchSet: 17
    Gerrit-Owner: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
    Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
    Gerrit-CC: Zhe Su <su...@chromium.org>
    Gerrit-Attention: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-Comment-Date: Tue, 26 May 2026 22:13:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Wojcicka <mw...@google.com>
    Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Wojcicka (Gerrit)

    unread,
    May 27, 2026, 6:48:35 PMMay 27
    to Mitsuru Oshima, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Mitsuru Oshima

    Michael Wojcicka added 1 comment

    File ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
    Line 287, Patchset 12: recording_view->exit_location());
    Mitsuru Oshima . resolved

    I think you need to test this in interactive_u_tests, which generates actual native events. I also think you need a child (embedded) window as a target of the native window?

    Michael Wojcicka

    Done

    Gerrit-Comment-Date: Wed, 27 May 2026 22:48:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mitsuru Oshima (Gerrit)

    unread,
    May 29, 2026, 3:46:10 AMMay 29
    to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Michael Wojcicka

    Mitsuru Oshima added 3 comments

    File ui/aura/window_event_dispatcher.cc
    Line 960, Patchset 17 (Latest): // Only handle native events here.
    Mitsuru Oshima . unresolved

    How about
    // The

    File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
    Line 202, Patchset 17 (Latest): child_widget->Show();
    Mitsuru Oshima . unresolved

    Don't you have to create a child window as well so that the target window is different from root window?

    Line 214, Patchset 15: base::RunLoop run_loop;
    Michael Wojcicka . unresolved

    Oshima-san, I know `base::RunLoop`'s are generally discouraged in production code, but here it doesn't seem too bad to use. WDYT?

    Attention is currently required from:
    • Michael Wojcicka
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
    Gerrit-Change-Number: 7830632
    Gerrit-PatchSet: 17
    Gerrit-Owner: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
    Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
    Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
    Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
    Gerrit-CC: Zhe Su <su...@chromium.org>
    Gerrit-Attention: Michael Wojcicka <mw...@google.com>
    Gerrit-Comment-Date: Fri, 29 May 2026 07:45:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Wojcicka <mw...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mitsuru Oshima (Gerrit)

    unread,
    May 29, 2026, 3:51:35 AMMay 29
    to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Michael Wojcicka

    Mitsuru Oshima added 1 comment

    File ui/aura/window_event_dispatcher.cc
    Line 960, Patchset 17 (Latest): // Only handle native events here.
    Mitsuru Oshima . unresolved

    How about
    // The

    Mitsuru Oshima

    oops sorry how about something like
    // The following code is to translate the enter/exit event for platform window to ones for aura window. Filter out synthesized events as they're already translated.

    Gerrit-Comment-Date: Fri, 29 May 2026 07:51:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Wojcicka (Gerrit)

    unread,
    Jun 1, 2026, 3:47:24 PMJun 1
    to Mitsuru Oshima, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
    Attention needed from Mitsuru Oshima

    Michael Wojcicka added 3 comments

    File ui/aura/window_event_dispatcher.cc
    Line 960, Patchset 17: // Only handle native events here.
    Mitsuru Oshima . resolved

    How about
    // The

    Mitsuru Oshima

    oops sorry how about something like
    // The following code is to translate the enter/exit event for platform window to ones for aura window. Filter out synthesized events as they're already translated.

    Michael Wojcicka

    Done

    File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
    Line 202, Patchset 17: child_widget->Show();
    Mitsuru Oshima . resolved

    Don't you have to create a child window as well so that the target window is different from root window?

    Michael Wojcicka

    I believe a `child_widget` has a window? We create `parent_widget` first and then we create `child_widget` and set `child_params.parent = parent_widget->GetNativeView()` when creating it.

    Here is a stacktrace showing they both have `aura::Window`'s created: https://paste.googleplex.com/6282876755771392

    I updated the comment above to reflect this better.

    Line 214, Patchset 15: base::RunLoop run_loop;
    Michael Wojcicka . resolved

    Oshima-san, I know `base::RunLoop`'s are generally discouraged in production code, but here it doesn't seem too bad to use. WDYT?

    Mitsuru Oshima

    You can use TestFuture<void>

    https://source.chromium.org/chromium/chromium/src/+/main:base/test/test_future.h;drc=0223ed48897b620b2f1558ee36518897387741bb;l=177

    Michael Wojcicka

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mitsuru Oshima
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
      Gerrit-Change-Number: 7830632
      Gerrit-PatchSet: 18
      Gerrit-Owner: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
      Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
      Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
      Gerrit-CC: Zhe Su <su...@chromium.org>
      Gerrit-Attention: Mitsuru Oshima <osh...@chromium.org>
      Gerrit-Comment-Date: Mon, 01 Jun 2026 19:47:11 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Mitsuru Oshima (Gerrit)

      unread,
      Jun 1, 2026, 7:58:30 PMJun 1
      to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
      Attention needed from Michael Wojcicka

      Mitsuru Oshima added 2 comments

      Patchset-level comments
      File-level comment, Patchset 18 (Latest):
      Mitsuru Oshima . resolved

      can you look into win-rel failure?

      File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
      Line 202, Patchset 17: child_widget->Show();
      Mitsuru Oshima . resolved

      Don't you have to create a child window as well so that the target window is different from root window?

      Michael Wojcicka

      I believe a `child_widget` has a window? We create `parent_widget` first and then we create `child_widget` and set `child_params.parent = parent_widget->GetNativeView()` when creating it.

      Here is a stacktrace showing they both have `aura::Window`'s created: https://paste.googleplex.com/6282876755771392

      I updated the comment above to reflect this better.

      Mitsuru Oshima

      Sorry I missed TYPE_CONTROL. That's being said, can you use NativeViewHost to attach the child window instead of just adding a child aura window to parent? That should be closer to the real scenario.

      Make sure that repros the issue without the fix.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Wojcicka
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
      Gerrit-Change-Number: 7830632
      Gerrit-PatchSet: 18
      Gerrit-Owner: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
      Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
      Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
      Gerrit-CC: Zhe Su <su...@chromium.org>
      Gerrit-Attention: Michael Wojcicka <mw...@google.com>
      Gerrit-Comment-Date: Mon, 01 Jun 2026 23:58:00 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Mitsuru Oshima (Gerrit)

      unread,
      Jun 30, 2026, 1:00:34 AM (8 days ago) Jun 30
      to Michael Wojcicka, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
      Attention needed from Michael Wojcicka

      Mitsuru Oshima voted Commit-Queue+1

      Commit-Queue+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Wojcicka
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
      Gerrit-Change-Number: 7830632
      Gerrit-PatchSet: 22
      Gerrit-Owner: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
      Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
      Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
      Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
      Gerrit-CC: Zhe Su <su...@chromium.org>
      Gerrit-Attention: Michael Wojcicka <mw...@google.com>
      Gerrit-Comment-Date: Tue, 30 Jun 2026 05:00:20 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Mitsuru Oshima (Gerrit)

      unread,
      Jun 30, 2026, 7:54:07 PM (7 days ago) Jun 30
      to Michael Wojcicka, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
      Attention needed from Michael Wojcicka

      Mitsuru Oshima voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Wojcicka
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
        Gerrit-Change-Number: 7830632
        Gerrit-PatchSet: 24
        Gerrit-Owner: Michael Wojcicka <mw...@google.com>
        Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
        Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
        Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
        Gerrit-CC: James Maclean <wjma...@chromium.org>
        Gerrit-CC: Kevin McNee <mc...@chromium.org>
        Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
        Gerrit-CC: Zhe Su <su...@chromium.org>
        Gerrit-Attention: Michael Wojcicka <mw...@google.com>
        Gerrit-Comment-Date: Tue, 30 Jun 2026 23:53:53 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mitsuru Oshima (Gerrit)

        unread,
        Jun 30, 2026, 7:56:56 PM (7 days ago) Jun 30
        to Michael Wojcicka, Chromium UI Views Reviews, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
        Attention needed from Chromium UI Views Reviews and Michael Wojcicka

        Mitsuru Oshima voted and added 1 comment

        Votes added by Mitsuru Oshima

        Code-Review+0

        1 comment

        File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
        Line 32, Patchset 24 (Latest):#if BUILDFLAG(SUPPORTS_OZONE_X11)
        Mitsuru Oshima . unresolved

        This is still not updated?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Chromium UI Views Reviews
        • Michael Wojcicka
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
          Gerrit-Change-Number: 7830632
          Gerrit-PatchSet: 24
          Gerrit-Owner: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Chromium UI Views Reviews <chromium-ui-...@google.com>
          Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
          Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
          Gerrit-CC: James Maclean <wjma...@chromium.org>
          Gerrit-CC: Kevin McNee <mc...@chromium.org>
          Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
          Gerrit-CC: Zhe Su <su...@chromium.org>
          Gerrit-Attention: Michael Wojcicka <mw...@google.com>
          Gerrit-Attention: Chromium UI Views Reviews <chromium-ui-...@google.com>
          Gerrit-Comment-Date: Tue, 30 Jun 2026 23:56:42 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          gwsq (Gerrit)

          unread,
          Jun 30, 2026, 7:58:33 PM (7 days ago) Jun 30
          to Michael Wojcicka, Chromium UI Views Reviews, Allen Bauer, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Michael Wojcicka

          Message from gwsq

          Reviewer source(s):
          kyl...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ui/views/config.gwsq)

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Michael Wojcicka
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
          Gerrit-Change-Number: 7830632
          Gerrit-PatchSet: 24
          Gerrit-Owner: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Allen Bauer <kyl...@chromium.org>
          Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
          Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
          Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
          Gerrit-CC: James Maclean <wjma...@chromium.org>
          Gerrit-CC: Kevin McNee <mc...@chromium.org>
          Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
          Gerrit-CC: Zhe Su <su...@chromium.org>
          Gerrit-CC: gwsq
          Gerrit-Attention: Michael Wojcicka <mw...@google.com>
          Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
          Gerrit-Comment-Date: Tue, 30 Jun 2026 23:57:58 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Michael Wojcicka (Gerrit)

          unread,
          Jun 30, 2026, 8:00:59 PM (7 days ago) Jun 30
          to Chromium UI Views Reviews, Allen Bauer, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Mitsuru Oshima

          Michael Wojcicka added 1 comment

          File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
          Line 32, Patchset 24 (Latest):#if BUILDFLAG(SUPPORTS_OZONE_X11)
          Mitsuru Oshima . unresolved

          This is still not updated?

          Michael Wojcicka

          Oh sorry, from your chat message I didn't realize you wanted me to use the method you added, you mentioned setting the CL to upstream. I thought it resolved some other issues indirectly with this CL.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Mitsuru Oshima
          Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
          Gerrit-Attention: Mitsuru Oshima <osh...@chromium.org>
          Gerrit-Comment-Date: Wed, 01 Jul 2026 00:00:44 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Mitsuru Oshima (Gerrit)

          unread,
          Jun 30, 2026, 11:32:59 PM (7 days ago) Jun 30
          to Michael Wojcicka, Chromium UI Views Reviews, Allen Bauer, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Michael Wojcicka

          Mitsuru Oshima added 1 comment

          File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
          Line 32, Patchset 24 (Latest):#if BUILDFLAG(SUPPORTS_OZONE_X11)
          Mitsuru Oshima . unresolved

          This is still not updated?

          Michael Wojcicka

          Oh sorry, from your chat message I didn't realize you wanted me to use the method you added, you mentioned setting the CL to upstream. I thought it resolved some other issues indirectly with this CL.

          Mitsuru Oshima

          Please use RunningOnX11ForTest instead. That's the correct condition, as the connection can be null for various reasons (e.g. before it is initialized)

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Michael Wojcicka
          Gerrit-Attention: Michael Wojcicka <mw...@google.com>
          Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
          Gerrit-Comment-Date: Wed, 01 Jul 2026 03:32:45 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Michael Wojcicka (Gerrit)

          unread,
          Jul 1, 2026, 1:59:56 PM (7 days ago) Jul 1
          to Chromium UI Views Reviews, Allen Bauer, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Mitsuru Oshima

          Michael Wojcicka added 1 comment

          File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
          Line 32, Patchset 24:#if BUILDFLAG(SUPPORTS_OZONE_X11)
          Mitsuru Oshima . unresolved

          This is still not updated?

          Michael Wojcicka

          Oh sorry, from your chat message I didn't realize you wanted me to use the method you added, you mentioned setting the CL to upstream. I thought it resolved some other issues indirectly with this CL.

          Mitsuru Oshima

          Please use RunningOnX11ForTest instead. That's the correct condition, as the connection can be null for various reasons (e.g. before it is initialized)

          Michael Wojcicka

          Should be fixed, please take a look 😊

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Mitsuru Oshima
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
          Gerrit-Change-Number: 7830632
          Gerrit-PatchSet: 25
          Gerrit-Owner: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Allen Bauer <kyl...@chromium.org>
          Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
          Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
          Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
          Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
          Gerrit-CC: James Maclean <wjma...@chromium.org>
          Gerrit-CC: Kevin McNee <mc...@chromium.org>
          Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
          Gerrit-CC: Zhe Su <su...@chromium.org>
          Gerrit-CC: gwsq
          Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
          Gerrit-Attention: Mitsuru Oshima <osh...@chromium.org>
          Gerrit-Comment-Date: Wed, 01 Jul 2026 17:59:46 +0000
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Mitsuru Oshima (Gerrit)

          unread,
          Jul 1, 2026, 2:04:29 PM (7 days ago) Jul 1
          to Michael Wojcicka, Chromium UI Views Reviews, Allen Bauer, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Michael Wojcicka

          Mitsuru Oshima added 2 comments

          File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
          Line 26, Patchset 25 (Latest):#include "ui/gfx/x/wm_sync.h"
          Mitsuru Oshima . unresolved

          these two should be IS_LINUX (CrOS has supports_ozone_x11, which should be excluded)
          You can include ozone_platform.h inside IS_LINUX because that's only case you need it.

          Line 32, Patchset 25 (Latest):void WaitForWindowSystemSync() {
          Mitsuru Oshima . unresolved

          Same here, IS_LINUX

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Michael Wojcicka
          Gerrit-Attention: Michael Wojcicka <mw...@google.com>
          Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
          Gerrit-Comment-Date: Wed, 01 Jul 2026 18:04:20 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Michael Wojcicka (Gerrit)

          unread,
          Jul 6, 2026, 6:34:05 PM (2 days ago) Jul 6
          to Chromium UI Views Reviews, Allen Bauer, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
          Attention needed from Allen Bauer and Mitsuru Oshima

          Michael Wojcicka added 3 comments

          File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
          Line 26, Patchset 25:#include "ui/gfx/x/wm_sync.h"
          Mitsuru Oshima . resolved

          these two should be IS_LINUX (CrOS has supports_ozone_x11, which should be excluded)
          You can include ozone_platform.h inside IS_LINUX because that's only case you need it.

          Michael Wojcicka

          Done.

          Line 32, Patchset 24:#if BUILDFLAG(SUPPORTS_OZONE_X11)
          Mitsuru Oshima . resolved

          This is still not updated?

          Michael Wojcicka

          Oh sorry, from your chat message I didn't realize you wanted me to use the method you added, you mentioned setting the CL to upstream. I thought it resolved some other issues indirectly with this CL.

          Mitsuru Oshima

          Please use RunningOnX11ForTest instead. That's the correct condition, as the connection can be null for various reasons (e.g. before it is initialized)

          Michael Wojcicka

          Should be fixed, please take a look 😊

          Michael Wojcicka

          Done

          Line 32, Patchset 25:void WaitForWindowSystemSync() {
          Mitsuru Oshima . resolved

          Same here, IS_LINUX

          Michael Wojcicka

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Allen Bauer
          • Mitsuru Oshima
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
            Gerrit-Change-Number: 7830632
            Gerrit-PatchSet: 29
            Gerrit-Owner: Michael Wojcicka <mw...@google.com>
            Gerrit-Reviewer: Allen Bauer <kyl...@chromium.org>
            Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
            Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
            Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
            Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
            Gerrit-CC: James Maclean <wjma...@chromium.org>
            Gerrit-CC: Kevin McNee <mc...@chromium.org>
            Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
            Gerrit-CC: Zhe Su <su...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
            Gerrit-Attention: Mitsuru Oshima <osh...@chromium.org>
            Gerrit-Comment-Date: Mon, 06 Jul 2026 22:33:52 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Mitsuru Oshima (Gerrit)

            unread,
            Jul 6, 2026, 7:00:16 PM (2 days ago) Jul 6
            to Michael Wojcicka, Chromium UI Views Reviews, Allen Bauer, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
            Attention needed from Allen Bauer and Michael Wojcicka

            Mitsuru Oshima voted and added 2 comments

            Votes added by Mitsuru Oshima

            Code-Review+1

            2 comments

            Patchset-level comments
            File-level comment, Patchset 29 (Latest):
            Mitsuru Oshima . resolved

            lgtm with one nit

            File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
            Line 36, Patchset 29 (Latest):#if BUILDFLAG(SUPPORTS_OZONE_X11)
            Mitsuru Oshima . unresolved

            move this to L40, as RunningOnX11ForTest should be runtime check.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Allen Bauer
            • Michael Wojcicka
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
              Gerrit-Change-Number: 7830632
              Gerrit-PatchSet: 29
              Gerrit-Owner: Michael Wojcicka <mw...@google.com>
              Gerrit-Reviewer: Allen Bauer <kyl...@chromium.org>
              Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
              Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
              Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
              Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
              Gerrit-CC: James Maclean <wjma...@chromium.org>
              Gerrit-CC: Kevin McNee <mc...@chromium.org>
              Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
              Gerrit-CC: Zhe Su <su...@chromium.org>
              Gerrit-CC: gwsq
              Gerrit-Attention: Michael Wojcicka <mw...@google.com>
              Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
              Gerrit-Comment-Date: Mon, 06 Jul 2026 23:00:02 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Michael Wojcicka (Gerrit)

              unread,
              Jul 6, 2026, 7:04:33 PM (2 days ago) Jul 6
              to Mitsuru Oshima, Chromium UI Views Reviews, Allen Bauer, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
              Attention needed from Allen Bauer

              Michael Wojcicka added 1 comment

              File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
              Line 36, Patchset 29:#if BUILDFLAG(SUPPORTS_OZONE_X11)
              Mitsuru Oshima . resolved

              move this to L40, as RunningOnX11ForTest should be runtime check.

              Michael Wojcicka

              Done

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Allen Bauer
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
                Gerrit-Change-Number: 7830632
                Gerrit-PatchSet: 30
                Gerrit-Owner: Michael Wojcicka <mw...@google.com>
                Gerrit-Reviewer: Allen Bauer <kyl...@chromium.org>
                Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
                Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
                Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
                Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
                Gerrit-CC: James Maclean <wjma...@chromium.org>
                Gerrit-CC: Kevin McNee <mc...@chromium.org>
                Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
                Gerrit-CC: Zhe Su <su...@chromium.org>
                Gerrit-CC: gwsq
                Gerrit-Attention: Allen Bauer <kyl...@chromium.org>
                Gerrit-Comment-Date: Mon, 06 Jul 2026 23:04:20 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Mitsuru Oshima <osh...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                gwsq (Gerrit)

                unread,
                Jul 7, 2026, 2:33:04 PM (14 hours ago) Jul 7
                to Michael Wojcicka, Chromium UI Views Reviews, Mike Wasserman, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
                Attention needed from Mike Wasserman

                Message from gwsq

                Reviewer source(s):
                m...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ui/views/config.gwsq)

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Mike Wasserman
                Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
                Gerrit-Change-Number: 7830632
                Gerrit-PatchSet: 30
                Gerrit-Owner: Michael Wojcicka <mw...@google.com>
                Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
                Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
                Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
                Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
                Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
                Gerrit-CC: James Maclean <wjma...@chromium.org>
                Gerrit-CC: Kevin McNee <mc...@chromium.org>
                Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
                Gerrit-CC: Zhe Su <su...@chromium.org>
                Gerrit-CC: gwsq
                Gerrit-Attention: Mike Wasserman <m...@chromium.org>
                Gerrit-Comment-Date: Tue, 07 Jul 2026 18:32:50 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: No
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Mike Wasserman (Gerrit)

                unread,
                2:53 AM (2 hours ago) 2:53 AM
                to Michael Wojcicka, Chromium UI Views Reviews, Mitsuru Oshima, James Maclean, Kevin McNee, Henrique Ferreiro, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Sadrul Chowdhury, Zhe Su, extension...@chromium.org, chromium-a...@chromium.org, dmurph+wat...@chromium.org, webap...@microsoft.com, roblia...@chromium.org, sky+...@chromium.org, ozone-...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, jbauma...@chromium.org, keithle...@chromium.org, navigation...@chromium.org, nona+...@chromium.org, shuche...@chromium.org, tranbaod...@chromium.org, yhanad...@chromium.org
                Attention needed from Michael Wojcicka

                Mike Wasserman added 6 comments

                Patchset-level comments
                File-level comment, Patchset 30 (Latest):
                Mike Wasserman . resolved

                Thanks for the thorough investigation and fix!

                File ash/wm/native_cursor_manager_ash_interactive_uitest.cc
                Line 53, Patchset 30 (Latest): void SetUp() override {
                Mike Wasserman . unresolved

                It doesn't look like setting `DIR_USER_DATA` or `ax_platform_` is necessary for testing cursor events. Other `AshInteractiveUITestBase` tests (e.g., `drag_drop_interactive_uitest.cc`) work fine without overriding `SetUp()`.

                Consider removing `SetUp()`, `user_data_dir_`, `ax_platform_`, and their corresponding `#include`s unless there's a specific reason they are needed here.

                Line 68, Patchset 30 (Latest): DisableMouseEventsGeneratesExitEventOnChild) {
                Mike Wasserman . unresolved

                Since the bug is fundamentally an Aura issue (`WindowEventDispatcher::PreDispatchMouseEvent`), could we test this in `ui/aura/window_event_dispatcher_unittest.cc` instead?

                Interactive UI tests are heavy and prone to flakiness. We can simulate the exact same scenario by creating a parent/child window, dispatching a `kMouseMoved` to the child, calling `cursor_client.DisableMouseEvents()`, dispatching a `kMouseExited`, and asserting the child window's `EventFilterRecorder` catches it.

                This would allow us to remove this new interactive test suite entirely.

                File ui/aura/window_event_dispatcher.cc
                Line 962, Patchset 30 (Latest): // The following code is to translate the enter/exit event from platform
                // windows to aura windows. Filter out synthesized events as they're
                // already translated.
                if (event->flags() & ui::EF_IS_SYNTHESIZED) {
                break;
                }
                Mike Wasserman . unresolved

                Is this explicit handling needed? Consider removing if not.

                File ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
                Line 34, Patchset 30 (Latest):void WaitForWindowSystemSync() {
                Mike Wasserman . unresolved

                The test coverage is limited to IS_WIN, so is this actually needed?

                Line 253, Patchset 30 (Latest):TEST_F(DesktopNativeWidgetAuraTest, MouseEnterExitWithOverlapWindow) {
                Mike Wasserman . unresolved

                Similarly to the Ash interactive test, this scenario can likely be covered by a pure Aura unit test in `ui/aura/window_event_dispatcher_unittest.cc`.

                While this test uses actual OS windows to force a native `MouseLeave` event, the bug itself is in how `WindowEventDispatcher` routes that event once it reaches Aura.

                You can simulate this overlapping window scenario by setting up a root window with a child, dispatching a `kMouseMoved` over the child, and then directly dispatching a `kMouseExited` to the root window (simulating the OS-level exit). Testing it at the Aura layer removes the need for `ui_controls`, `DesktopNativeWidgetAura`, and OS-specific syncs like `WaitForWindowSystemSync`.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Michael Wojcicka
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not satisfiedCode-Owners
                  • requirement satisfiedCode-Review
                  • requirement is not satisfiedNo-Unresolved-Comments
                  • 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: I51e97e10c443b8c9129b7fec8274198758b7d7a0
                  Gerrit-Change-Number: 7830632
                  Gerrit-PatchSet: 30
                  Gerrit-Owner: Michael Wojcicka <mw...@google.com>
                  Gerrit-Reviewer: Michael Wojcicka <mw...@google.com>
                  Gerrit-Reviewer: Mike Wasserman <m...@chromium.org>
                  Gerrit-Reviewer: Mitsuru Oshima <osh...@chromium.org>
                  Gerrit-CC: Chromium UI Views Reviews <chromium-ui-...@google.com>
                  Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
                  Gerrit-CC: James Maclean <wjma...@chromium.org>
                  Gerrit-CC: Kevin McNee <mc...@chromium.org>
                  Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
                  Gerrit-CC: Zhe Su <su...@chromium.org>
                  Gerrit-CC: gwsq
                  Gerrit-Attention: Michael Wojcicka <mw...@google.com>
                  Gerrit-Comment-Date: Wed, 08 Jul 2026 06:53:19 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: No
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy
                  Reply all
                  Reply to author
                  Forward
                  0 new messages