-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#35409Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: desktopRunning on desktopRunning on desktopc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
Steps to reproduce
-
Run the following app:
import 'package:flutter/widgets.dart'; void main() async { runApp(const ColoredBox(color: Color(0xffff0000))); runApp(const LimitedBox()); }
-
Then once the app has launched, try to resize the window.
Expected behavior
You expect:
- The red box to immediately be replaced with nothing (a grey background)
- Upon resize, the window to be able to be resized, still just showing a grey background.
Actual behavior
- The red box remains in the window and is not replaced with nothing (a grey background)
- When you try to resize the window, the Flutter process seems to hang. When you move the cursor over the window, it gives the MacOS spinning beach ball.
Other info
- This setup has been created in https://github.com/tvolkert/flutter_desktop_bug, so you can clone that repo to reproduce this bug.
- Flutter version info:
[✓] Flutter (Channel master, 2.6.0-12.0.pre.435, on macOS 11.6 20G165 darwin-x64, locale en-US) • Flutter version 2.6.0-12.0.pre.435 at /Users/tvolkert/project/flutter/flutter • Upstream repository [email protected]:tvolkert/flutter.git • Framework revision d62f75dde1 (7 days ago), 2021-10-21 01:41:33 -0400 • Engine revision ce74cbc3ce • Dart version 2.15.0 (build 2.15.0-233.0.dev) - The app works as expected if you replace the second line with a different color. e.g.
runApp(const ColoredBox(color: Color(0xff00ff00)));
orestesgaolin
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: desktopRunning on desktopRunning on desktopc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Type
Projects
Status
Done