Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

SVG app icons don't load unless the URL ends in .svg

オープン
#91 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
desktop

調査の方向性

まず、URL ベースの画像が SvgImageSource と BitmapImage のどちらを選択するかを、現在の .svg サフィックスチェックに重点を置いて追跡します。ダウンロードとキャッシュの動作を確認し、その後、issue で説明されている HEAD/Content-Type とアプリケーション管理のキャッシュの選択肢を比較します。URL が .svg で終わっていない SVG アイコンが読み込まれ、ビットマップ画像の読み込みを壊していなければ完了です。

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

説明

Since there's no ImageSource that can load both .svg and bitmap images, and instead there's a separate SvgImageSource and BitmapImage, we currently only attempt to load SVGs when the URL ends in .svg. We don't have much control over the actual downloading/caching operations of these sources.

One potential solution is to do a HEAD request first to get the Content-Type of the image, but it won't be easy to cache that result.

Another would be to download/cache images ourselves.

Relates to #92

主要言語
C#
スター
29
フォーク
12
平均マージ
4時間 15分
マージ済み PR(30日)
2

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/coder-desktop-windows のほかの issue

coder/coder-desktop-windows の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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