Skip to content

No mouse interaction on Windows with Win32RenderingMode.Wgl #50

Description

@nbeck-SMT

Describe the bug

The NativeWebView control doesn't react to mouse clicks when rendering mode is set to Windows OpenGL.

Rendering of pages and interaction via keyboard work fine once you manage to get the control focused.

To Reproduce

Set rendering mode to OpenGL in any example with a webview control

  public static AppBuilder BuildAvaloniaApp()
      => AppBuilder.Configure<App>()
          .UsePlatformDetect()
          .WithInterFont()
          .LogToTrace()
          .With(new Win32PlatformOptions { RenderingMode = new[] { Win32RenderingMode.Wgl } });

Avalonia WebView version

12.0.1

Avalonia version

12.0.3

OS

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions