FlutterMatic / desktop

A Flutter desktop manager that helps you setup Flutter, organize, and use workflows with your Flutter projects.
BSD 3-Clause "New" or "Revised" License
10 stars 0 forks source link

[🐛] - Report freezes the whole app in macOS #48

Closed yahu1031 closed 2 years ago

yahu1031 commented 2 years ago

Describe the bug When I try to make a report, Then it freezes the whole app.

To Reproduce Steps to reproduce the behavior:

  1. Go to about dialog.
  2. Check out to report section.
  3. Click on the report button.
  4. Choose the directory to save the logs file to be generated.
  5. Then the loading widgets appear and the app was frozen.

Expected behavior Should generate a report and open the GitHub issues page.

**Screen

Screenshot 2022-01-26 at 5 51 37 PM

shots**

Desktop:

Logs (please upload the logs file by following the instructions): fm-macos-debug-2022-01-26.log - Generated by the app default.

yahu1031 commented 2 years ago

It is related to path_provider package. Path provider package won't work on isolates. This issue was logged here Flutter-51685

yahu1031 commented 2 years ago

I was suspecting _generatePort.asBroadcastStream this stream.

ZiyadF296 commented 2 years ago

No, this error is common and can be resolved. Please reference the code that errors out.

yahu1031 commented 2 years ago

Now, this is fixed. That comment was made while investigating the ticket.

ZiyadF296 commented 2 years ago

Is this now resolved on macos?

ZiyadF296 commented 2 years ago

Because your code still contains a mistake

ZiyadF296 commented 2 years ago

A platform channel related mistake to be concise.

yahu1031 commented 2 years ago

it works fine in macOS. Please reopen this issue if it still persists with a valid recording/screenshot of the Freezed app.

ZiyadF296 commented 2 years ago

Reopening until confirmed resolved on all platforms

yahu1031 commented 2 years ago

Please do share the issue. Cause it is working. Generating logs file works and please fix the logs ASAP.

yahu1031 commented 2 years ago

This is what the report was generating right now

Report generated on 2022-01-27 00:05:26.372561

---- LOG ---- 
/Users/minnu/Documents/fm_report_2022-1-27-0-5-21
---- LOG ----

Report generated on 2022-01-27 00:05:26.372561

Additional context

Fixes

Fixes Needed

yahu1031 commented 2 years ago

@ZiyadF296 Any update, please...

yahu1031 commented 2 years ago

I'm opening this because no report was being generated.

yahu1031 commented 2 years ago

Will be created as new issue.