Windows:Draggable regions is not useable and cause crash

Issue #3311 resolved
liu lun created an issue

When start cefclient with --use-views
locate to `http://tests/draggable`
The app will crash when click the draggable region.
cef version:100.0.17+g579536b+chromium-100.0.4896.88 x64
OS:windows 10 x64

Comments (7)

  1. Marshall Greenblatt

    Looks like we’re hitting this NOTREACHED added in M97. It doesn’t crash with cefclient --use-views --url=http://tests/draggable --hide-frame --hide-controls

    [0414/143104.216:FATAL:native_view_host.cc(248)] Check failed: false. This view is not expected to receive events directly. Event targeting should find the native view as target window instead of the view hierarchy. This is likely due to an overlapping View that receives but is not handling this event. See crbug.com/1263413 and Widget::ShouldDescendIntoChildForEventHandling() for some more leads. If the overlapping view was not intended to receive events, call SetCanProcessEventsWithinSubtree(false) on the overlapping View that paints to a layer. If it's intended to receive some, but not this event, event targeting needs to be fixed for this case.
    
    View: NativeViewHost
    Hierarchy:
        RootView -> NonClientView -> NativeFrameView -> ClientView -> WidgetDelegateView -> WebView -> NativeViewHost
    

  2. Marshall Greenblatt

    This is likely due to CefWindowView::ShouldDescendIntoChildForEventHandling returning true for the regions configured via SetDraggableRegions.

  3. Log in to comment