Skip to content

[Windows] Regression: desktop click-blocking overlay still occurs after minimize in 6.2.0-beta.3 #2789

@KaithyRookie

Description

@KaithyRookie

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Related to #2402 (closed), but still reproducible on 6.2.0-beta.3

On the desktop screen, only the Flutter application is open. When the program is minimized, the webview area of the application prevents the mouse from interacting with the desktop.

Expected Behavior

It should be possible to interact with the desktop using the mouse when the application is minimized or the window is moved to a different position.

Steps with code example to reproduce

Details Reproduction steps on Windows:
  1. Run the app on Windows desktop (flutter run -d windows).
  2. Wait until the web page is fully loaded.
  3. Click the window minimize button (_) in the title bar.
  4. Try clicking desktop icons in the area where the app window was previously shown.
  5. (Optional) Restore the app and repeat minimize/restore several times.
Use this minimal app:

import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

void main() {
  runApp(const MaterialApp(home: ReproPage()));
}

class ReproPage extends StatelessWidget {
  const ReproPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: InAppWebView(
        initialUrlRequest: URLRequest(
          url: WebUri('https://google.com'),
        ),
      ),
    );
  }
}

Stacktrace/Logs

none

Flutter version

v3.38.3

Operating System, Device-specific and/or Tool

Windows 11

Plugin version

v6.2.0-beta.3

Additional information

Before.mp4

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions