Custom instance icons are saved but never displayed on macOS

Đang mở
#8,202 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
2.5k
Fork
663
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
122

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modrinth/code

Tất cả issue của modrinth/code

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.