Closed Arna-Maity closed 12 months ago
I suppose this issue is the same as https://github.com/sony/flutter-elinux-plugins/issues/78. Are you using the latest video_player plugin (flutter-elinux-plugins)?
This is a flutter-elinux-plugin issue, but I might be wrong. camera plugin for elinux might need to be fixed to fix this issue.
I suppose this issue is the same as sony/flutter-elinux-plugins#78. Are you using the latest video_player plugin (flutter-elinux-plugins)?
Didn't try it yet. Although, I tried some other plugins which are not specifically elinux plugins but plugins which support the Linux platform installed from pub.dev which worked fine in debug mode as well but not in profile/release. Will test and make some detailed observations and report back today.
This is a flutter-elinux-plugin issue, but I might be wrong. camera plugin for elinux might need to be fixed to fix this issue.
So this is specific to the flutter-elinux for flutter version 3.13 right and this does not exist for flutter 3.10 right?
So this is specific to the flutter-elinux for flutter version 3.13 right and this does not exist for flutter 3.10 right?
Yes, correct.
This issue should be fixed in https://github.com/sony/flutter-elinux-plugins/pull/81. Thanks.
@HidenoriMatsubayashi Thanks for the fix! The camera works now, but the output is rotated clockwise by 90 degrees.
Okay, let me check.
@Arna-Maity Is it possible to share your test code (flutter project?) to reproduce a rotation issue?
Have a look at this. The StatefulWidget managing the camera is the same as the one we are using in our project.
Try running it in all the three debug, profile and release modes. In debug mode the orientation is correct but in profile and release modes it is rotated.
https://github.com/Arna-Maity/camera_test
This is with the flutter-elinux repo checked out at 3.13.1
The camera rotation issue seems to be fixed after the latest platform fix (x64) (#213) ( for issue #212 ) you merged into the main branch. All the linux platform plugins which failed to run previously on 3.13.1 are now running fine. Thank you!
I see. Thanks.
I converted my existing flutter (Flutter Version 3.10) project into flutter-elinux (Flutter Version 3.13) based one as mentioned in the project wiki. Everything including plugins work fine when run in the debug mode, but the plugins don't work properly when run in profile / release mode. I am running Ubuntu 20.04 and have followed the steps as mentioned in the wiki of this repo to setup flutter-elinux. For example when running the camera plugin from the flutter-elinux-plugins repo in debug mode ( flutter-elinux run -d elinux-x11 ):
But when I run the same application in release mode ( flutter-elinux run -d elinux-x11 --release ) :
Is there something I am missing that needs to be done extra to run the app in release mode?