flutter-embedded-linux: Can't run Gallery app
Can’t start the Gallery app using the embedder. There are no log messages to help narrow down why that is:
$ ./flutter-client ./gallery/build/linux/x64/release/bundle
Observed on my x64 system as well as the PinebookPro (rk3399) and PinePhone (Allwinner A64).
Tried with drm client and debug modes as well - still no feedback from the system as to why it doesn’t want to start.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (10 by maintainers)
Commits related to this issue
- Fixed bug blocking events from flutter engine for Wayland (#131) Fixed #34, #132 — committed to sony/flutter-embedded-linux by deleted user 3 years ago
We found out why the Gallery app doesn’t work properly. Using
wl_display_dispatch
is the reason for not work Gallery app. The events from Engine while waiting for Wayland events usingwl_display_dispatch
aren’t handled…@jcviau
Thank you for reporting a bug. I created a new issue for this bug. https://github.com/sony/flutter-embedded-linux/issues/127
@jcviau @psstoyanov @jwinarske
Thanks a lot. We were also investigating this issue. As @jcviau mentioned, we found that problems occur when using
restorationScopeId
property. We have confirmed that the same problem occurs with a simpler sample.I tried with LC_ALL set but I still had to remove the same line in main.dart to make the application appear. It’s not even gray, it’s not visible at all when this line is present.
Note: You can also hard code the locale in the application by changing locale:null (in main.dart) to something else. e.g. locale: const Locale(‘en’, ‘’). That’s what I did initially instead of setting LC_ALL.
Thanks, that’s good to know.
I will set aside a bit of time this Sunday to try to gather some further information. Possibly go through the other example app that deals with mobile/ desktop optimisation to see if it’s limited just to the Gallery app.
I’ve confirmed that it works fine when I use the DRM backend on my desktop.
Yes, I think so.
I need to do debugging, but I think this is a Flutter Engine issue.
Thank you for your report. I’ll check that later. (cc @Mai-Matsuura)