[GH-ISSUE #4295] Resource pack menu: a large pack freezes the window while it reloads #1264

Closed
opened 2026-11-02 15:45:33 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Teiwazik on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4295

Originally assigned to: @Teiwazik on GitHub.

🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally.

What

Choosing resource packs in the menu reloads them on the render thread (reload_packs → reload_selected_packs): the overlay, models and sprites, the GUI atlas and the pack tables are all staged before the next frame. With a large pack (a 256x one with LabPBR maps takes tens of seconds) the window stops drawing for that long and Windows marks it as not responding.

A server's packs already reload on a worker under the loading overlay (PackReload, LoadingOverlay).

Proposal

Send the menu's reload through the same worker and overlay, with the menu's error handling (back to the Packs page with the error) kept for its failures, and apply a selection made while a reload runs once it finishes.

Originally created by @Teiwazik on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4295 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. ## What Choosing resource packs in the menu reloads them on the render thread (`reload_packs` → `reload_selected_packs`): the overlay, models and sprites, the GUI atlas and the pack tables are all staged before the next frame. With a large pack (a 256x one with LabPBR maps takes tens of seconds) the window stops drawing for that long and Windows marks it as not responding. A server's packs already reload on a worker under the loading overlay (`PackReload`, `LoadingOverlay`). ## Proposal Send the menu's reload through the same worker and overlay, with the menu's error handling (back to the Packs page with the error) kept for its failures, and apply a selection made while a reload runs once it finishes.
Author
Owner

@Teiwazik commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6518739344 --> @Teiwazik commented on GitHub (Oct 30, 2026): /claim
Author
Owner

@Teiwazik commented on GitHub (Oct 30, 2026):

🤖 Agent: covered by #3994.

<!-- gh-comment-id:6520290024 --> @Teiwazik commented on GitHub (Oct 30, 2026): 🤖 Agent: covered by #3994.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1264
No description provided.