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:04 PM (9 days ago) May 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 PM (9 days ago) May 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 PM (6 days ago) May 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 PM (6 days ago) May 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 PM (3 days ago) May 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 AM (yesterday) May 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
    Reply all
    Reply to author
    Forward
    0 new messages