Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed hang if there were lots of unused ODF entries https://github.com/GrandOrgue/grandorgue/issues/1918 #2045

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

oleg68
Copy link
Contributor

@oleg68 oleg68 commented Nov 20, 2024

Resolves: #1918

After #1774 GrandOrgue started ignoring Pipe999ReleaseCrossfadeLength if there were multiple releases. It caused generating lots of warning messages in the log window.

Under windows displaying thousands of messages caused hang.

This PR introduces a limit of 3000 "unused" messages that avoids the hang.

@oleg68 oleg68 force-pushed the bugfix/alessandia-hang branch from 8f788b7 to 182cdb8 Compare November 26, 2024 17:42
@oleg68
Copy link
Contributor Author

oleg68 commented Nov 26, 2024

@larspalo @rousseldenis Could you approve this PR?

@rousseldenis
Copy link
Contributor

@oleg68 I had already wondered how user interface should be improved for those warnings.

I'm thinking that warnings could be displayed in a separate windows being called in Settings or ...

Instead displaying the popup, we could add a statusbar on the main window. That should be more user friendly with better user experience?. What do you think about ?

@oleg68
Copy link
Contributor Author

oleg68 commented Nov 27, 2024

@rousseldenis This PR only fixes the hang on Windows. Improving the UI is the subject of a separate discussion.

@rousseldenis
Copy link
Contributor

@rousseldenis This PR only fixes the hang on Windows. Improving the UI is the subject of a separate discussion.

Yes of course. I wanted to write my thoughts down looking at the code as this is more a 'workaround' as the limit is harcoded and could change depending the execution environment.

@oleg68 oleg68 merged commit dc17d47 into GrandOrgue:master Nov 28, 2024
1 check passed
@oleg68 oleg68 deleted the bugfix/alessandia-hang branch November 28, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chargement alessandria impossible avec la version V3.14 sous Windows 10
3 participants