Lemmings Forums

Other Lemmings Projects => SuperLemmix => SuperLemmix Bugs & Suggestions => Topic started by: WillLem on November 20, 2025, 05:36:57 AM

Title: [✓][BUG][ED] Piece Browser blanks out when minimising main form
Post by: WillLem on November 20, 2025, 05:36:57 AM
Split from this topic. (https://www.lemmingsforums.net/index.php?msg=106948)



Quote from: GigaLem on November 20, 2025, 01:30:39 AMThe piece window also blanks out when the level editor window closes or opens, or when the editor is minimized
Title: Re: [?][BUG][ED] Piece Browser blanks out when minimising main form
Post by: WillLem on November 20, 2025, 05:37:27 AM
Quote from: GigaLem on November 20, 2025, 01:30:39 AMThe piece window also blanks out when the level editor window closes or opens, or when the editor is minimized

Confirmed. I'll get on a fix for this tonight.
Title: Re: [?][BUG][ED] Piece Browser blanks out when minimising main form
Post by: WillLem on November 20, 2025, 06:48:38 AM
Resolved. We needed to ensure that we were passing the windowed state (or not) of the Piece Browser control when resizing the main form. This was already done for all but one repainting method call, but it's sorted now.

I'll get this hotfix out tomorrow. In the meantime, a workaround is to simply resize the Piece Browser window itself to force it to update.

Fixed in commit fdc9397.
Also fixed an unhandled exception when minimizing the Piece Browser window in commit 332c0f2.