Custom instance icons are saved but never displayed on macOS

Abierto
#8,202 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
2.5k
Forks
663
Merge medio
2 d 11 h
PR fusionados (30 d)
122

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modrinth/code

Todos los issues de modrinth/code

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.