Skip to content

[Windows] Flutter does not render any GUI and shows black window instead #150546

@krll-kov

Description

@krll-kov

3 years ago i created this issue: #89583. It was only relevant for Windows 7/8 users. However, since the last flutter stable update, i can see that this problem is present on Windows 10/11 users.

UI Is not rendered, however, all the buttons are clickable (cursor changes when you hover button's location and if you add some winapi messagebox, it appears on the screen).

I have no idea how to debug this since this issue is present on small amount of PCs and i myself do not face this problem. Any ideas on debugging on PC without flutter?

image

I tried to fix this with d3dcompiler_47.dll (that helped on Windows 7), but it does not help anymore.

image
image
image
image

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Material App Bar'),
        ),
        body: Center(
          child: Container(
            child: Text('Hello World'),
          ),
        ),
      ),
    );
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: desktopRunning on desktopc: renderingUI glitches reported at the engine/skia or impeller rendering levelengineflutter/engine related. See also e: labels.platform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions