Remove expired flag wayland-per-window-scaling [chromium/src : main]

0 views
Skip to first unread message

Thomas Anderson (Gerrit)

unread,
Jan 13, 2026, 4:17:16 PMJan 13
to Kramer Ge, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
Attention needed from Kramer Ge

Thomas Anderson voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Kramer Ge
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: I6d49b141c29f129283629e5e6196a3963a6b606a
Gerrit-Change-Number: 7455109
Gerrit-PatchSet: 3
Gerrit-Owner: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Kramer Ge <fang...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Jan 2026 21:17:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Kramer Ge (Gerrit)

unread,
Jan 20, 2026, 12:20:42 PM (13 days ago) Jan 20
to Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
Attention needed from Thomas Anderson

Kramer Ge voted and added 1 comment

Votes added by Kramer Ge

Commit-Queue+1

1 comment

Patchset-level comments
Open in Gerrit

Related details

Attention is currently required from:
  • Thomas Anderson
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: I6d49b141c29f129283629e5e6196a3963a6b606a
    Gerrit-Change-Number: 7455109
    Gerrit-PatchSet: 9
    Gerrit-Owner: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-Comment-Date: Tue, 20 Jan 2026 17:20:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thomas Anderson (Gerrit)

    unread,
    Jan 20, 2026, 12:27:05 PM (13 days ago) Jan 20
    to Kramer Ge, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
    Attention needed from Kramer Ge

    Thomas Anderson voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kramer Ge
    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: I6d49b141c29f129283629e5e6196a3963a6b606a
      Gerrit-Change-Number: 7455109
      Gerrit-PatchSet: 9
      Gerrit-Owner: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-Attention: Kramer Ge <fang...@chromium.org>
      Gerrit-Comment-Date: Tue, 20 Jan 2026 17:26:55 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dana Fried (Gerrit)

      unread,
      Jan 21, 2026, 9:18:04 AM (12 days ago) Jan 21
      to Kramer Ge, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
      Attention needed from Kramer Ge

      Dana Fried added 5 comments

      Patchset-level comments
      Dana Fried . unresolved

      LGTM, but:

      Typically I would prefer a CL which removed the flag, followed by a CL that updated the tests.

      Since the flag was enabled on Linux, there should be no behavioral changes in Wayland tests when the flag is removed. Therefore I would not expect any test changes to be required (other than deleting references to the flag).

      Perhaps I am misunderstanding.

      File ui/ozone/platform/wayland/gpu/wayland_surface_factory_unittest.cc
      Line 934, Patchset 9 (Latest): const gfx::Rect expected_damage =
      Dana Fried . unresolved

      Why is logic added here?

      File ui/ozone/platform/wayland/host/wayland_screen_unittest.cc
      Line 966, Patchset 9 (Latest):class WaylandScreenTestNoFractionalScale : public WaylandScreenTest {
      Dana Fried . unresolved

      I would not change the name here; or if you must, since you are not changing anything, the correct usage is:
      ```
      using WaylandScreenTestNoFractionalScale = WaylandScreenTest;
      ```

      In general for these types of CLs we want to make as few changes as possible. You can always make changes like this in a follow-up.

      Line 1166, Patchset 9 (Latest):INSTANTIATE_TEST_SUITE_P(XdgVersionStableTest,
      Dana Fried . unresolved

      Why are these parameterized tests if there is only one value per test?

      File ui/ozone/platform/wayland/host/wayland_window_unittest.cc
      Line 2624, Patchset 9 (Latest):class WaylandWindowTestNoFractionalScale : public WaylandWindowTest {
      Dana Fried . unresolved

      Again this could be a `using` statement.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kramer Ge
      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: I6d49b141c29f129283629e5e6196a3963a6b606a
        Gerrit-Change-Number: 7455109
        Gerrit-PatchSet: 9
        Gerrit-Owner: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
        Gerrit-Attention: Kramer Ge <fang...@chromium.org>
        Gerrit-Comment-Date: Wed, 21 Jan 2026 14:17:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Dana Fried (Gerrit)

        unread,
        Jan 21, 2026, 9:18:12 AM (12 days ago) Jan 21
        to Kramer Ge, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
        Attention needed from Kramer Ge

        Dana Fried voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kramer Ge
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I6d49b141c29f129283629e5e6196a3963a6b606a
        Gerrit-Change-Number: 7455109
        Gerrit-PatchSet: 9
        Gerrit-Owner: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
        Gerrit-Attention: Kramer Ge <fang...@chromium.org>
        Gerrit-Comment-Date: Wed, 21 Jan 2026 14:18:06 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kramer Ge (Gerrit)

        unread,
        Jan 21, 2026, 1:30:10 PM (12 days ago) Jan 21
        to Dana Fried, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
        Attention needed from Dana Fried

        Kramer Ge added 5 comments

        Patchset-level comments
        Dana Fried . unresolved

        LGTM, but:

        Typically I would prefer a CL which removed the flag, followed by a CL that updated the tests.

        Since the flag was enabled on Linux, there should be no behavioral changes in Wayland tests when the flag is removed. Therefore I would not expect any test changes to be required (other than deleting references to the flag).

        Perhaps I am misunderstanding.

        Kramer Ge

        ty, I noticed that when removing the flag, tests are not running with the expectation that this flag is always enabled. So I updated the default params, in case future contributions run into unexpected behavior due to this param.

        File ui/ozone/platform/wayland/gpu/wayland_surface_factory_unittest.cc
        Line 934, Patchset 9 (Latest): const gfx::Rect expected_damage =
        Dana Fried . unresolved

        Why is logic added here?

        Kramer Ge

        `GetParam().supports_viewporter_surface_scaling` leads to scale factor being conveyed at a multiple of 120 per wayland spec, so the damage may become different due to rounding.

        File ui/ozone/platform/wayland/host/wayland_screen_unittest.cc
        Line 966, Patchset 9 (Latest):class WaylandScreenTestNoFractionalScale : public WaylandScreenTest {
        Dana Fried . unresolved

        I would not change the name here; or if you must, since you are not changing anything, the correct usage is:
        ```
        using WaylandScreenTestNoFractionalScale = WaylandScreenTest;
        ```

        In general for these types of CLs we want to make as few changes as possible. You can always make changes like this in a follow-up.

        Kramer Ge

        `WaylandScreenTestNoFractionalScale` should run with `.supports_viewporter_surface_scaling = false` config. Since I changed `.supports_viewporter_surface_scaling` to default true this test is now named differently. They don't really have meaning under `supports_viewporter_surface_scaling = true`.

        Line 1166, Patchset 9 (Latest):INSTANTIATE_TEST_SUITE_P(XdgVersionStableTest,
        Dana Fried . unresolved

        Why are these parameterized tests if there is only one value per test?

        Kramer Ge

        Historically they have 2 params (xdg stable vs xdg v6), and tests ran against all of them. But the params was removed with lacros.

        File ui/ozone/platform/wayland/host/wayland_window_unittest.cc
        Line 2624, Patchset 9 (Latest):class WaylandWindowTestNoFractionalScale : public WaylandWindowTest {
        Dana Fried . unresolved

        Again this could be a `using` statement.

        Kramer Ge

        This is same as the `*NoFractionalScale` test.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dana Fried
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I6d49b141c29f129283629e5e6196a3963a6b606a
        Gerrit-Change-Number: 7455109
        Gerrit-PatchSet: 9
        Gerrit-Owner: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
        Gerrit-Attention: Dana Fried <dfr...@chromium.org>
        Gerrit-Comment-Date: Wed, 21 Jan 2026 18:30:00 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Nick Yamane (Gerrit)

        unread,
        Jan 21, 2026, 9:08:26 PM (11 days ago) Jan 21
        to Kramer Ge, Dana Fried, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
        Attention needed from Dana Fried and Kramer Ge

        Nick Yamane added 2 comments

        File ui/ozone/platform/wayland/test/test_fractional_scale.h
        Line 39, Patchset 9 (Latest):
        Nick Yamane . unresolved

        nit: leftover?

        File ui/ozone/platform/wayland/test/test_output.h
        Line 52, Patchset 9 (Latest): // this needs to set scale with the fractional scale manager as well
        Nick Yamane . unresolved

        this seems incomplete or mistankenly placed?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dana Fried
        • Kramer Ge
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I6d49b141c29f129283629e5e6196a3963a6b606a
        Gerrit-Change-Number: 7455109
        Gerrit-PatchSet: 9
        Gerrit-Owner: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
        Gerrit-CC: Nick Yamane <nick...@igalia.com>
        Gerrit-Attention: Dana Fried <dfr...@chromium.org>
        Gerrit-Attention: Kramer Ge <fang...@chromium.org>
        Gerrit-Comment-Date: Thu, 22 Jan 2026 02:08:20 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Dana Fried (Gerrit)

        unread,
        Jan 22, 2026, 10:40:57 AM (11 days ago) Jan 22
        to Kramer Ge, Nick Yamane, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
        Attention needed from Kramer Ge

        Dana Fried added 5 comments

        Patchset-level comments
        Dana Fried . unresolved

        LGTM, but:

        Typically I would prefer a CL which removed the flag, followed by a CL that updated the tests.

        Since the flag was enabled on Linux, there should be no behavioral changes in Wayland tests when the flag is removed. Therefore I would not expect any test changes to be required (other than deleting references to the flag).

        Perhaps I am misunderstanding.

        Kramer Ge

        ty, I noticed that when removing the flag, tests are not running with the expectation that this flag is always enabled. So I updated the default params, in case future contributions run into unexpected behavior due to this param.

        Dana Fried

        If the flag was on by default, then it's possible that fieldtrial_testing_config.json was incorrectly configured to turn it off.

        That's very weird and probably bad? What tests were failing and on what platform?

        In general, I'm uncomfortable that removing a flag that was on by default should cause any tests to fail.

        Is it possible you are inadvertently enabling the flag on a platform that it was not previously enabled on, either in code or by the testing config?

        File ui/ozone/platform/wayland/gpu/wayland_surface_factory_unittest.cc
        Line 934, Patchset 9 (Latest): const gfx::Rect expected_damage =
        Dana Fried . resolved

        Why is logic added here?

        Kramer Ge

        `GetParam().supports_viewporter_surface_scaling` leads to scale factor being conveyed at a multiple of 120 per wayland spec, so the damage may become different due to rounding.

        Dana Fried

        Acknowledged

        File ui/ozone/platform/wayland/host/wayland_screen_unittest.cc
        Line 966, Patchset 9 (Latest):class WaylandScreenTestNoFractionalScale : public WaylandScreenTest {
        Dana Fried . resolved

        I would not change the name here; or if you must, since you are not changing anything, the correct usage is:
        ```
        using WaylandScreenTestNoFractionalScale = WaylandScreenTest;
        ```

        In general for these types of CLs we want to make as few changes as possible. You can always make changes like this in a follow-up.

        Kramer Ge

        `WaylandScreenTestNoFractionalScale` should run with `.supports_viewporter_surface_scaling = false` config. Since I changed `.supports_viewporter_surface_scaling` to default true this test is now named differently. They don't really have meaning under `supports_viewporter_surface_scaling = true`.

        Dana Fried

        Acknowledged

        Line 1166, Patchset 9 (Latest):INSTANTIATE_TEST_SUITE_P(XdgVersionStableTest,
        Dana Fried . resolved

        Why are these parameterized tests if there is only one value per test?

        Kramer Ge

        Historically they have 2 params (xdg stable vs xdg v6), and tests ran against all of them. But the params was removed with lacros.

        Dana Fried

        Acknowledged

        File ui/ozone/platform/wayland/host/wayland_window_unittest.cc
        Line 2624, Patchset 9 (Latest):class WaylandWindowTestNoFractionalScale : public WaylandWindowTest {
        Dana Fried . resolved

        Again this could be a `using` statement.

        Kramer Ge

        This is same as the `*NoFractionalScale` test.

        Dana Fried

        Acknowledged

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kramer Ge
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I6d49b141c29f129283629e5e6196a3963a6b606a
        Gerrit-Change-Number: 7455109
        Gerrit-PatchSet: 9
        Gerrit-Owner: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
        Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
        Gerrit-CC: Nick Yamane <nick...@igalia.com>
        Gerrit-Attention: Kramer Ge <fang...@chromium.org>
        Gerrit-Comment-Date: Thu, 22 Jan 2026 15:40:49 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
        Comment-In-Reply-To: Kramer Ge <fang...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kramer Ge (Gerrit)

        unread,
        Jan 22, 2026, 5:25:30 PM (10 days ago) Jan 22
        to Nick Yamane, Dana Fried, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
        Attention needed from Dana Fried, Nick Yamane and Thomas Anderson

        Kramer Ge added 3 comments

        Patchset-level comments
        Dana Fried . unresolved

        LGTM, but:

        Typically I would prefer a CL which removed the flag, followed by a CL that updated the tests.

        Since the flag was enabled on Linux, there should be no behavioral changes in Wayland tests when the flag is removed. Therefore I would not expect any test changes to be required (other than deleting references to the flag).

        Perhaps I am misunderstanding.

        Kramer Ge

        ty, I noticed that when removing the flag, tests are not running with the expectation that this flag is always enabled. So I updated the default params, in case future contributions run into unexpected behavior due to this param.

        Dana Fried

        If the flag was on by default, then it's possible that fieldtrial_testing_config.json was incorrectly configured to turn it off.

        That's very weird and probably bad? What tests were failing and on what platform?

        In general, I'm uncomfortable that removing a flag that was on by default should cause any tests to fail.

        Is it possible you are inadvertently enabling the flag on a platform that it was not previously enabled on, either in code or by the testing config?

        Kramer Ge

        `fieldtrial_testing_config.json` does turn it on, but the issue is with the test framework, `supports_viewporter_surface_scaling` is a test param `=false` which [disables](https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/wayland/test/test_wayland_server_thread.cc;l=116;drc=796e6996a524533ef2af2ab09c8dd541368f491b;bpv=0;bpt=1) the wayland extension. So we can't use the feature even though it is on, unfortunately.

        The tests are only run on linux.

        Removing the flag does not cause tests to fail, but they do not test the default on behavior, so in this patch I attempt to make tests reflect reality.

        File ui/ozone/platform/wayland/test/test_fractional_scale.h
        Line 39, Patchset 9:
        Nick Yamane . resolved

        nit: leftover?

        Kramer Ge

        Done

        File ui/ozone/platform/wayland/test/test_output.h
        Line 52, Patchset 9: // this needs to set scale with the fractional scale manager as well
        Nick Yamane . resolved

        this seems incomplete or mistankenly placed?

        Kramer Ge

        Yes, done. TY!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dana Fried
        • Nick Yamane
        • Thomas Anderson
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement 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: I6d49b141c29f129283629e5e6196a3963a6b606a
          Gerrit-Change-Number: 7455109
          Gerrit-PatchSet: 10
          Gerrit-Owner: Kramer Ge <fang...@chromium.org>
          Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
          Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
          Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
          Gerrit-CC: Nick Yamane <nick...@igalia.com>
          Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
          Gerrit-Attention: Dana Fried <dfr...@chromium.org>
          Gerrit-Attention: Nick Yamane <nick...@igalia.com>
          Gerrit-Comment-Date: Thu, 22 Jan 2026 22:25:25 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
          Comment-In-Reply-To: Nick Yamane <nick...@igalia.com>
          Comment-In-Reply-To: Kramer Ge <fang...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Dana Fried (Gerrit)

          unread,
          Jan 23, 2026, 9:15:19 AM (10 days ago) Jan 23
          to Kramer Ge, Nick Yamane, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
          Attention needed from Kramer Ge, Nick Yamane and Thomas Anderson

          Dana Fried voted and added 1 comment

          Votes added by Dana Fried

          Code-Review+1

          1 comment

          Patchset-level comments
          File-level comment, Patchset 9:
          Dana Fried . resolved

          LGTM, but:

          Typically I would prefer a CL which removed the flag, followed by a CL that updated the tests.

          Since the flag was enabled on Linux, there should be no behavioral changes in Wayland tests when the flag is removed. Therefore I would not expect any test changes to be required (other than deleting references to the flag).

          Perhaps I am misunderstanding.

          Kramer Ge

          ty, I noticed that when removing the flag, tests are not running with the expectation that this flag is always enabled. So I updated the default params, in case future contributions run into unexpected behavior due to this param.

          Dana Fried

          If the flag was on by default, then it's possible that fieldtrial_testing_config.json was incorrectly configured to turn it off.

          That's very weird and probably bad? What tests were failing and on what platform?

          In general, I'm uncomfortable that removing a flag that was on by default should cause any tests to fail.

          Is it possible you are inadvertently enabling the flag on a platform that it was not previously enabled on, either in code or by the testing config?

          Kramer Ge

          `fieldtrial_testing_config.json` does turn it on, but the issue is with the test framework, `supports_viewporter_surface_scaling` is a test param `=false` which [disables](https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/wayland/test/test_wayland_server_thread.cc;l=116;drc=796e6996a524533ef2af2ab09c8dd541368f491b;bpv=0;bpt=1) the wayland extension. So we can't use the feature even though it is on, unfortunately.

          The tests are only run on linux.

          Removing the flag does not cause tests to fail, but they do not test the default on behavior, so in this patch I attempt to make tests reflect reality.

          Dana Fried

          Acknowledged

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Kramer Ge
          • Nick Yamane
          • 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: I6d49b141c29f129283629e5e6196a3963a6b606a
            Gerrit-Change-Number: 7455109
            Gerrit-PatchSet: 10
            Gerrit-Owner: Kramer Ge <fang...@chromium.org>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
            Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
            Gerrit-CC: Nick Yamane <nick...@igalia.com>
            Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
            Gerrit-Attention: Nick Yamane <nick...@igalia.com>
            Gerrit-Attention: Kramer Ge <fang...@chromium.org>
            Gerrit-Comment-Date: Fri, 23 Jan 2026 14:15:08 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
            Comment-In-Reply-To: Kramer Ge <fang...@chromium.org>
            satisfied_requirement
            open
            diffy

            Kramer Ge (Gerrit)

            unread,
            Jan 23, 2026, 1:03:48 PM (10 days ago) Jan 23
            to Dana Fried, Nick Yamane, Thomas Anderson, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org
            Attention needed from Nick Yamane and Thomas Anderson

            Kramer Ge voted and added 1 comment

            Votes added by Kramer Ge

            Commit-Queue+2

            1 comment

            Patchset-level comments
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Nick Yamane
            • Thomas Anderson
            Gerrit-Comment-Date: Fri, 23 Jan 2026 18:03:39 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            open
            diffy

            Chromium LUCI CQ (Gerrit)

            unread,
            Jan 23, 2026, 2:10:09 PM (9 days ago) Jan 23
            to Kramer Ge, Dana Fried, Nick Yamane, Thomas Anderson, AyeAye, chromium...@chromium.org, nickdiego+wa...@igalia.com, max+watc...@igalia.com, ozone-...@chromium.org, asvitki...@chromium.org, jmedle...@chromium.org

            Chromium LUCI CQ submitted the change

            Change information

            Commit message:
            Remove expired flag wayland-per-window-scaling

            This flag is on expired in m138, been on for linux by default.

            Wayland unittests are now running assuming fractional_scale will
            directly send scale to each surface as default, some tests are left in
            old config as they test deducing scale by looking at the which display
            they're on.
            Bug: 336007385
            Change-Id: I6d49b141c29f129283629e5e6196a3963a6b606a
            Reviewed-by: Dana Fried <dfr...@chromium.org>
            Commit-Queue: Kramer Ge <fang...@chromium.org>
            Cr-Commit-Position: refs/heads/main@{#1573825}
            Files:
            • M chrome/browser/about_flags.cc
            • M chrome/browser/flag-metadata.json
            • M chrome/browser/flag_descriptions.h
            • M ui/base/ui_base_features.cc
            • M ui/base/ui_base_features.h
            • M ui/ozone/platform/wayland/gpu/wayland_surface_factory_unittest.cc
            • M ui/ozone/platform/wayland/host/wayland_connection.cc
            • M ui/ozone/platform/wayland/host/wayland_data_drag_controller_unittest.cc
            • M ui/ozone/platform/wayland/host/wayland_output_unittest.cc
            • M ui/ozone/platform/wayland/host/wayland_screen_unittest.cc
            • M ui/ozone/platform/wayland/host/wayland_surface.h
            • M ui/ozone/platform/wayland/host/wayland_window_drag_controller_unittest.cc
            • M ui/ozone/platform/wayland/host/wayland_window_unittest.cc
            • M ui/ozone/platform/wayland/test/mock_surface.cc
            • M ui/ozone/platform/wayland/test/test_fractional_scale.cc
            • M ui/ozone/platform/wayland/test/test_wayland_server_thread.h
            Change size: M
            Delta: 16 files changed, 90 insertions(+), 134 deletions(-)
            Branch: refs/heads/main
            Submit Requirements:
            • requirement satisfiedCode-Review: +1 by Dana Fried
            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: I6d49b141c29f129283629e5e6196a3963a6b606a
            Gerrit-Change-Number: 7455109
            Gerrit-PatchSet: 11
            Gerrit-Owner: Kramer Ge <fang...@chromium.org>
            Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
            Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
            open
            diffy
            satisfied_requirement
            Reply all
            Reply to author
            Forward
            0 new messages