Baseflow / Baseflow/flutter_cache_manager

If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes

オープン
#439 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes and there is endless waiting for the image. Especially a problem when trying to get images in a FutureBuilder or when doing a retry to get the image again, nothing happens as an image streamlistener is already running.

This is in the context of a `CachedNetworkImageProvider`.

Removing (maxWidth/maxHeight) solves the issue. Then the stream closes and things work as they should.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

CachedNetworkImageProvider から始め、maxWidth または maxHeight が設定されている場合に画像が見つからない問題を再現します。画像ストリームが閉じられること、および既存の listener に阻止されることなく FutureBuilder またはリトライによって画像を再度リクエストできることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。