Custom instance icons are saved but never displayed on macOS

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

The report identifies the saved PNG and database path as valid, and narrows the failure to resolving or rendering local instance icon paths in the frontend, but names no source files or tests. Start by tracing how the instance editor stores its icon path and how instance cards and pages load images. Done means the saved icon appears in the instance library, list, and page on macOS.

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

説明

app
Please confirm the following.
  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date
What version of the Modrinth App are you using?

0.22.1

What operating systems are you seeing the problem on?

MacOS

Describe the bug

Title: Custom instance icons are saved but never displayed on macOS

App version: 0.22.1
Operating system: macOS — Apple Silicon (M1)

Description:

Custom instance icons are not displayed anywhere in the Modrinth App.

The icon editor works correctly: I can select a symbol and background, and the preview displays as expected. After saving, however, the icon never appears—not in the instance library, not in the instance list, and not inside the instance page.

What I have verified:

  • The selected icon configuration persists after closing and reopening the editor.
  • The PNG file is successfully generated and exists in ModrinthApp/caches/icons.
  • The PNG is valid, readable, and has the expected dimensions.
  • The instances.icon_path database entry points to the existing PNG file.
  • The icon editor can still display the saved configuration and preview.
  • Other images, such as mod and modpack thumbnails, display correctly.
Image Image

I have already tried reinstalling the application and clearing its application support, cache, WebKit, and preference data. The issue persists.

Steps to reproduce

No response

Expected behavior

Expected behavior:

The saved custom icon should appear in the instance library and throughout the instance interface.

Actual behavior:

The icon is only visible inside the icon editor. Everywhere else, Modrinth displays a generic placeholder.

This appears to be an issue with rendering or resolving locally stored instance icon paths in the frontend, rather than with saving the icon itself.

Additional context

No response

主要言語
Rust
スター
2.5k
フォーク
663
平均マージ
2日 11時間
マージ済み PR(30日)
122

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

modrinth/code のほかの issue

modrinth/code の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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