Git Product home page Git Product logo

Comments (8)

Adrian-Samoticha avatar Adrian-Samoticha commented on June 11, 2024 1

Did you modify your MainFlutterWindow.swift file as described here? If you didn’t, then that explains why version 1.1.1 didn’t work for you. Version 1.1.2 no longer requires this modification, though if you didn’t do it, could you perhaps do it anyway and see if that changes anything?

EDIT: More importantly, does the macos_window_utils example project work correctly on your end? Or does the issue only arise in your app?

from flutter_acrylic.

jctaoo avatar jctaoo commented on June 11, 2024

Same likes a upstream (macos_window_utils) related issue, macos_window_utils not work and drawing nothing too.

from flutter_acrylic.

Adrian-Samoticha avatar Adrian-Samoticha commented on June 11, 2024

Interesting. This issue seems to be similar to #75 (comment), but I also cannot reproduce it. Do you experience the same issue on macos_window_utils 1.1.1? Also, does the same issue occur with Flutter 3.7.10?

from flutter_acrylic.

jctaoo avatar jctaoo commented on June 11, 2024

I checkout to flutter 3.7.10 and macos_windows_utils 1.1.1 , my app's view appears on window but acrylic effect not apply and hot reload not work.

截屏2023-04-18 23 40 33

Using macos_windows_utils 1.1.2 and flutter 3.7.10, the error in #75 not appears but my view lost like:
截屏2023-04-18 19 42 16

I run my app in xcode and it seems that we lost FlutterView?
截屏2023-04-18 20 04 49

from flutter_acrylic.

dennismuench avatar dennismuench commented on June 11, 2024

Did you modify your MainFlutterWindow.swift file as described here? If you didn’t, then that explains why version 1.1.1 didn’t work for you. Version 1.1.2 no longer requires this modification, though if you didn’t do it, could you perhaps do it anyway and see if that changes anything?

EDIT: More importantly, does the macos_window_utils example project work correctly on your end? Or does the issue only arise in your app?

Thanks. Thats it. Looks like this step is still necessary for flutter_acrylic: ^1.1.2

from flutter_acrylic.

Adrian-Samoticha avatar Adrian-Samoticha commented on June 11, 2024

Did you modify your MainFlutterWindow.swift file as described here? If you didn’t, then that explains why version 1.1.1 didn’t work for you. Version 1.1.2 no longer requires this modification, though if you didn’t do it, could you perhaps do it anyway and see if that changes anything?
EDIT: More importantly, does the macos_window_utils example project work correctly on your end? Or does the issue only arise in your app?

Thanks. Thats it. Looks like this step is still necessary for flutter_acrylic: ^1.1.2

It shouldn’t, though. Are you using any other plugins that could cause some interference, perhaps? 1.1.2 uses NSApp.windows.first to find the Flutter window. Is it possible that some other plugin might mess with NSApp.windows?

from flutter_acrylic.

Lampadina17 avatar Lampadina17 commented on June 11, 2024

while developing my minecraft launcher (https://morpheuslauncher.it), i noticed this issue, to workaround and reproduce the issue you need to follow these steps:

  1. build your flutter acrylic app through intellij
  2. close application
  3. back to step 1
  4. now app is totally black!
  5. to workaround this you need to run cleanmymac to clean caches and application back to work correctly again

in addition. if you always build using xcode instead intellij the app work always if you follow the step 5

from flutter_acrylic.

Adrian-Samoticha avatar Adrian-Samoticha commented on June 11, 2024

while developing my minecraft launcher (https://morpheuslauncher.it), i noticed this issue, to workaround and reproduce the issue you need to follow these steps:

  1. build your flutter acrylic app through intellij
  2. close application
  3. back to step 1
  4. now app is totally black!
  5. to workaround this you need to run cleanmymac to clean caches and application back to work correctly again

in addition. if you always build using xcode instead intellij the app work always if you follow the step 5

#79 likely already fixed this on master. I will publish an update to pub.dev soon.

EDIT: Done.

from flutter_acrylic.

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.