Git Product home page Git Product logo

Comments (5)

stuartmorgan avatar stuartmorgan commented on April 28, 2024

Terminal output displays this

What exactly are you doing when you get this message? You mention the file chooser; is this when you close the native dialog after selecting a file?

no files are saved or loaded

They aren't supposed to be, it just shows a snackbar with the results of the dialog. Are you not seeing that?

from flutter-desktop-embedding.

gabrc52 avatar gabrc52 commented on April 28, 2024

What exactly are you doing when you get this message? You mention the file chooser; is this when you close the native dialog after selecting a file?

As soon as I launch the app.

They aren't supposed to be, it just shows a snackbar with the results of the dialog. Are you not seeing that?

It's working as intended

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 28, 2024

I'm not able to repro on macOS or Linux. The logging indicates that we're receiving an (apparently invalid, or at least not JSON codec) call to the method handler on startup from the Flutter side, which is unexpected. I'm assuming you haven't edited the example app since you didn't mention local changes?

What's your Flutter tree hash?

from flutter-desktop-embedding.

gabrc52 avatar gabrc52 commented on April 28, 2024

I couldn't reproduce it again

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 28, 2024

I just hit this on macOS. I don't know for sure if your case was the same, but there are cases where Flutter will send things on the flutter/accessibility channel. That doesn't use the JSON codec, so will cause this message.

In the short term I'll drop that silently (and improve the error message to include the channel in case something else comes up in the future).

from flutter-desktop-embedding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.