Skip to content

[windows] bounded blurs don't render correctly #191611

Closed

Description

@gaaclarke

spawned from #191207

observed

When bounded blurs are turned on, they don't blur at all.

expected

I expect them to blur (matching the behavior when using --no-enable-impeller).

reproduction

import 'package:flutter/material.dart';

void main() => runApp(const BoundedBlurReproApp());

class BoundedBlurReproApp extends StatefulWidget {
  const BoundedBlurReproApp({super.key});

  @override
  State<BoundedBlurReproApp> createState() => _BoundedBlurReproAppState();
}

class _BoundedBlurReproAppState extends State<BoundedBlurReproApp> {
  bool _bounded = true;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Bounded Blur Scroll Bug'),
          actions: [
            Row(
              children: [
                Text(_bounded ? 'Bounded (Buggy)' : 'Unbounded (Works)'),
                Switch(
                  value: _bounded,
                  onChanged: (val) => setState(() => _bounded = val),
                ),
              ],
            ),
          ],
        ),
        body: Stack(
          children: [
            // 1. High-contrast colorful background
            Positioned.fill(
              child: Column(
                children: List.generate(
                  8,
                  (i) => Expanded(
                    child: Container(
                      color: Colors.primaries[i % Colors.primaries.length],
                      alignment: Alignment.center,
                      child: Text(
                        'Background Stripe $i',
                        style: const TextStyle(
                          fontSize: 24,
                          color: Colors.white70,
                        ),
                      ),
                    ),
                  ),
                ),
              ),
            ),

            // 2. Scrollable list of glass panels
            ListView.builder(
              itemCount: 20,
              padding: const EdgeInsets.all(16),
              itemBuilder: (context, index) {
                return Padding(
                  padding: const EdgeInsets.symmetric(vertical: 12),
                  child: ClipRRect(
                    borderRadius: BorderRadius.circular(16),
                    child: BackdropFilter(
                      filterConfig: ImageFilterConfig.blur(
                        sigmaX: 20,
                        sigmaY: 20,
                        bounded: _bounded,
                      ),
                      child: Container(
                        height: 140,
                        color: Colors.black.withValues(alpha: 0.2),
                        alignment: Alignment.center,
                        child: Text(
                          'Panel #$index (${_bounded ? "Bounded" : "Unbounded"})',
                          style: const TextStyle(
                            color: Colors.white,
                            fontSize: 18,
                            fontWeight: FontWeight.bold,
                          ),
                        ),
                      ),
                    ),
                  ),
                );
              },
            ),
          ],
        ),
      ),
    );
  }
}

Activity

  1. gaaclarke commented on Aug 24, 2026

    @gaaclarke
    MemberAuthor

    closing as duplicate of #184447. I verified the bug isn't releated to windows

  2. github-actions commented on Sep 7, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions