<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>218931</bug_id>
          
          <creation_ts>2020-11-13 19:38:27 -0800</creation_ts>
          <short_desc>[GLIB] Force wheel events listeners on the root to be passive</short_desc>
          <delta_ts>2026-03-12 05:24:16 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=218842</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>clopez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1707457</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-11-13 19:38:27 -0800</bug_when>
    <thetext>bug218842 changed &apos;wheel&apos; and &apos;mousewheel&apos; events on root objects to be passive if they were not explicitly registered as non-passive. Most of the work is done but this feature is hidden under a mac-specific version check enabled only when linking with new versions of the SDK.

Considering GTK/WPE release scheme, could it be enabled directly?

New tests timing out due to this:

fast/events/wheel/wheel-event-listeners-on-body-made-passive.html
fast/events/wheel/wheel-event-listeners-on-document-made-passive.html
fast/events/wheel/wheel-event-listeners-on-window-left-active.html
fast/events/wheel/wheel-event-listeners-on-window-made-passive.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1709469</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-11-20 07:03:46 -0800</bug_when>
    <thetext>fast/events/wheel/wheel-event-in-passive-region-non-cancelable.html

It&apos;s also timing out and related to the bugs previously mentioned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1709726</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-11-20 19:39:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/71649886&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2189529</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2026-03-12 05:24:16 -0700</bug_when>
    <thetext>But i understand this feature defaults to true on non-mac platforms (GTK/WPE)

# Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
PassiveWheelListenersAsDefaultOnDocument:
  type: bool
  status: embedder
  humanReadableName: &quot;Wheel Event listeners on the root made passive&quot;
  humanReadableDescription: &quot;Force wheel event listeners registered on the window, document or body to be passive&quot;
  defaultValue:
    WebKitLegacy:
      &quot;PLATFORM(MAC)&quot;: WebKit::defaultPassiveWheelListenersAsDefaultOnDocument()
      default: true
    WebKit:
      &quot;PLATFORM(MAC)&quot;: WebKit::defaultPassiveWheelListenersAsDefaultOnDocument()
      default: true
    WebCore:
      default: true



So doesn&apos;t seem that problem is with enabling the feature, seems a bug somewhere else</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>