Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetMin working on MacOS #27

Open
giacomoRanieri opened this issue Jul 6, 2021 · 5 comments
Open

SetMin working on MacOS #27

giacomoRanieri opened this issue Jul 6, 2021 · 5 comments

Comments

@giacomoRanieri
Copy link

After Updating Flutter to 2.2.2 on MacOS I receive a "MainWindow not found" message from the Future of the function "setMinWindowSize".

I'm running the application on MacOS 10.15.6

@JustusFluegel
Copy link
Contributor

JustusFluegel commented Jul 7, 2021

please add the console output and a (minimal) project to demonstrate your problem, but at least the code that throws

@florianh01
Copy link

[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Null check operator used on a null value
#0      MethodChannel.binaryMessenger
package:flutter/…/services/platform_channel.dart:142
#1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:148
#2      MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:331
#3      DesktopWindow.setMinWindowSize
package:desktop_window/desktop_window.dart:25
#4      main
package:***********/main.dart:10

#5      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:142:25)
#6      _rootRun (dart:async/zone.dart:1354:13)
#7      _CustomZone.run (dart:async/zone.dart:1258:19)
#8      _runZoned (dart:async/zone.dart:1789:10)
#9      runZonedGuarded (dart:async/zone.dart:1777:12)
#10     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:138:5)
#11     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283:19)
#12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

Bildschirmfoto 2021-07-11 um 12 17 53

@jonatandorozco
Copy link

I'm having the same issue on Windows

@jonatandorozco
Copy link

jonatandorozco commented Jul 20, 2021

I created a repo with a minimal project to reproduce the issue
https://github.com/jonorozcoc/flutter_desktop_issue

@LiveRock
Copy link

I am facing the same issue on Macos 11.4 Big Sur on a Mac Mini M1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants