Trigger deferred scrollbar fade-out without forwarding wheel events [chromium/src : main]

0 views
Skip to first unread message

Byungwoo Lee (Gerrit)

unread,
May 20, 2026, 8:49:29 PM (5 days ago) May 20
to Robert Flack, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org
Attention needed from Robert Flack

Byungwoo Lee voted and added 1 comment

Votes added by Byungwoo Lee

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Byungwoo Lee . resolved

Hello Robert, this is the CL that fade-out scrollbars without forwarding wheel events.

Could you please take a look? Thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Flack
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: I09ef5aef21f3969f86ed07d7886727058e3a1104
Gerrit-Change-Number: 7862363
Gerrit-PatchSet: 2
Gerrit-Owner: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-Attention: Robert Flack <fla...@chromium.org>
Gerrit-Comment-Date: Thu, 21 May 2026 00:48:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Byungwoo Lee (Gerrit)

unread,
May 21, 2026, 8:07:39 AM (5 days ago) May 21
to Robert Flack, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org
Attention needed from Robert Flack

Byungwoo Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Byungwoo Lee . resolved

The browser test is flacky. I'll rewrite the test and activate this CL again.
Sorry for the confusion!

Open in Gerrit

Related details

Attention is currently required from:
  • Robert Flack
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: I09ef5aef21f3969f86ed07d7886727058e3a1104
Gerrit-Change-Number: 7862363
Gerrit-PatchSet: 5
Gerrit-Owner: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-Attention: Robert Flack <fla...@chromium.org>
Gerrit-Comment-Date: Thu, 21 May 2026 12:07:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Byungwoo Lee (Gerrit)

unread,
May 22, 2026, 3:14:21 AM (4 days ago) May 22
to Robert Flack, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org
Attention needed from Robert Flack

Byungwoo Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Byungwoo Lee . resolved

Hello Robert,

This is the CL that fade-out scrollbars without forwarding wheel events. (I submitted new CL to simplify the patch set history, and abandoned the old one)

The flaky browser test is guarded with IS_MAC build flag since the wheel scroll latching browser test is flaky on android even if it is an empty test.

Could you please review this? Thank you again!
Open in Gerrit

Related details

Attention is currently required from:
  • Robert Flack
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: I6f84a493658e9d27ddceb7c71b78ad61876ce097
Gerrit-Change-Number: 7870415
Gerrit-PatchSet: 1
Gerrit-Owner: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-Attention: Robert Flack <fla...@chromium.org>
Gerrit-Comment-Date: Fri, 22 May 2026 07:13:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Byungwoo Lee (Gerrit)

unread,
May 22, 2026, 3:14:34 AM (4 days ago) May 22
to Robert Flack, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org

Byungwoo Lee abandoned this change.

View Change

Abandoned

Byungwoo Lee abandoned this change

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: abandon
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I09ef5aef21f3969f86ed07d7886727058e3a1104
Gerrit-Change-Number: 7862363
Gerrit-PatchSet: 7
satisfied_requirement
unsatisfied_requirement
open
diffy

Robert Flack (Gerrit)

unread,
May 25, 2026, 5:02:58 PM (10 hours ago) May 25
to Byungwoo Lee, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org
Attention needed from Byungwoo Lee

Robert Flack added 1 comment

File third_party/blink/renderer/platform/widget/input/input_handler_proxy.h
Line 160, Patchset 1 (Latest): DROP_EVENT_AND_FADEOUT_SCROLLBARS,
Robert Flack . unresolved

I'm not comfortable adding a special one-off disposition for these events that is essentially equivalent to DID_NOT_HANDLE_NON_BLOCKING - i.e. the main thread needs to be sent the events and they aren't cancellable.

There must be a better way to prevent the unexpected behavior.

Open in Gerrit

Related details

Attention is currently required from:
  • Byungwoo Lee
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: I6f84a493658e9d27ddceb7c71b78ad61876ce097
Gerrit-Change-Number: 7870415
Gerrit-PatchSet: 1
Gerrit-Owner: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Byungwoo Lee <bl...@igalia.com>
Gerrit-Reviewer: Robert Flack <fla...@chromium.org>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-CC: Olga Gerchikov <gerc...@microsoft.com>
Gerrit-Attention: Byungwoo Lee <bl...@igalia.com>
Gerrit-Comment-Date: Mon, 25 May 2026 21:02:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Vladimir Levin (Gerrit)

unread,
May 25, 2026, 5:06:59 PM (10 hours ago) May 25
to Byungwoo Lee, Robert Flack, Chromium LUCI CQ, Menard, Alexis, chromium...@chromium.org, Daniel Cheng, Olga Gerchikov, alexmo...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, creis...@chromium.org, dtapuska+...@chromium.org, dtapuska+ch...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, navigation...@chromium.org, zol...@webkit.org
Attention needed from Byungwoo Lee

Vladimir Levin added 6 comments

Patchset-level comments
Vladimir Levin . resolved

(just a driveby review)

File third_party/blink/renderer/core/input/mouse_wheel_event_manager.h
Line 46, Patchset 1 (Latest): void FadeOutScrollbarsOnCurrentFrame();
Vladimir Levin . unresolved

nit: we typically would name this something like FadeOutScrollbarsInternal if it's just a helper called from the public function

File third_party/blink/renderer/core/layout/scrollbars_test.cc
Line 198, Patchset 1 (Latest): event.wheel_ticks_x = event.delta_x / 10;
Vladimir Levin . unresolved

nit: is 10 a magic number? why 10?

File third_party/blink/renderer/platform/widget/input/input_handler_proxy.h
Line 160, Patchset 1 (Latest): DROP_EVENT_AND_FADEOUT_SCROLLBARS,
Vladimir Levin . unresolved

This sounds more like a directive than a disposition. That doesn't seem correct. This should still be a DROP_EVENT and necessary other plumbing needs to be added to schedule a scrollbar fade out

File third_party/blink/renderer/platform/widget/input/input_handler_proxy.cc
Line 1163, Patchset 1 (Latest): return DROP_EVENT_AND_FADEOUT_SCROLLBARS;
Vladimir Levin . unresolved

I think we can just directly request a scrollbar fadeout here maybe?

File third_party/blink/renderer/platform/widget/input/widget_input_handler_manager.cc
Line 1046, Patchset 1 (Latest): event_disposition = InputHandlerProxy::DROP_EVENT;
Vladimir Levin . unresolved

This confirms that FADEOUT_SCROLBLAR part seems to just a way to get from input_handler to widget_input_handler_manager and post a task. Maybe we can do direct plumbing instead

Gerrit-CC: Vladimir Levin <vmp...@chromium.org>
Gerrit-Attention: Byungwoo Lee <bl...@igalia.com>
Gerrit-Comment-Date: Mon, 25 May 2026 21:06:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages