Custom instance icons are saved but never displayed on macOS

Ouverte
#8,202 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
58/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
rust
Domaine
frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Rust
Étoiles
2.5k
Forks
663
Merge moyen
2 j 11 h
PR mergées (30 j)
122

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de modrinth/code

Toutes les issues de modrinth/code

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.