Custom instance icons are saved but never displayed on macOS

Aberta
#8,202 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
58/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Rust
Estrelas
2.5k
Forks
663
Merge médio
2d 11h
PRs com merge (30d)
122

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de modrinth/code

Todas as issues de modrinth/code

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.