Comments (8)
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.
Same likes a upstream (macos_window_utils) related issue, macos_window_utils not work and drawing nothing too.
from flutter_acrylic.
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.
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.
Using macos_windows_utils 1.1.2 and flutter 3.7.10, the error in #75 not appears but my view lost like:
I run my app in xcode and it seems that we lost FlutterView?
from flutter_acrylic.
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.
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.
while developing my minecraft launcher (https://morpheuslauncher.it), i noticed this issue, to workaround and reproduce the issue you need to follow these steps:
- build your flutter acrylic app through intellij
- close application
- back to step 1
- now app is totally black!
- 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.
while developing my minecraft launcher (https://morpheuslauncher.it), i noticed this issue, to workaround and reproduce the issue you need to follow these steps:
- build your flutter acrylic app through intellij
- close application
- back to step 1
- now app is totally black!
- 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)
- It doesn't open HOT 3
- expose aera transparent ratio API on windows10
- macOS broken HOT 10
- Usage of `macos_window_utils` broken in 1.1.1 HOT 6
- [Question] is there any way for customize unfocused window color of Window Effects like mica/acrylic/tabbed?
- windows11 acrylic effect changed
- Upgrade to macos_window_utils 1.1.2
- Replace the deprecated `backgroundColor` with `colorScheme.background` in `/example/lib/widgets/macos_action_menu/description_display.dart`
- Setup linting and fix linter errors
- Improve macos_window_utils import
- hideTitle takes no effect HOT 3
- Facing error after upgrading to 1.1.2 HOT 12
- Not work after importing flutter_easyloading HOT 2
- macOS - Running in release mode causes program to hang HOT 9
- flutter_acrylic.Window.hideWindowControls() not support on linux HOT 1
- Not Working on Android ,
- Tint colour does not work on Mac OS when using WindowEffect.acrylic HOT 2
- WindowEffect.aero not working properly in windows 11 its just transparent
- No acrylic effect at all - Windows 11 stable release HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_acrylic.