[Problem] Fix threading - MPF unresponsive during log compression #782

Closed
opened 2026-01-29 16:22:11 +00:00 by claunia · 1 comment
Owner

Originally created by @Deterous on GitHub (Dec 22, 2024).

Originally assigned to: @mnadareski on GitHub.

MPF can take a few seconds or more to compress the log files. While it is doing so, the status is "Waiting for additional information.." (which is not the intended message), and the UI window cannot be moved, causing windows to think the app is unresponsive.

The threading at this point in the code needs fixing (such that the status is displayed properly) and so that the UI window remains responsive.

Originally created by @Deterous on GitHub (Dec 22, 2024). Originally assigned to: @mnadareski on GitHub. MPF can take a few seconds or more to compress the log files. While it is doing so, the status is "Waiting for additional information.." (which is not the intended message), and the UI window cannot be moved, causing windows to think the app is unresponsive. The threading at this point in the code needs fixing (such that the status is displayed properly) and so that the UI window remains responsive.
claunia added the bug label 2026-01-29 16:22:11 +00:00
Author
Owner

@mnadareski commented on GitHub (Dec 24, 2024):

This should be taken care of as of ce9c6d1f52. The discussion around this issue largely took place in Discord and involved a lot of back-and-forth testing of different possible solutions. This one surprised us and seemed to have worked.

@mnadareski commented on GitHub (Dec 24, 2024): This should be taken care of as of https://github.com/SabreTools/MPF/commit/ce9c6d1f52104a2ce5ef5013bc36033ba57edb63. The discussion around this issue largely took place in Discord and involved a lot of back-and-forth testing of different possible solutions. This one surprised us and seemed to have worked.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#782