-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature] Button to clear [Log] #1583
Comments
Attaching example file of a save.ini containing over 5k lines of log entries. |
Very good finding! This seems also to be the root cause of this issue I had created some time ago: #1484 Manual log clearance would be ok but I would prefer if the app could do this itself automatically. E.g. it is not necessary to have logs available for a complete campaign. Therefore it would maybe make sense to clear logs after a fixed amount of messages (e.g. 100, 500...). |
Ok, after a brief investigation it seems that the slowness comes from the Undo feature. Essentially the whole log is tuned to a string on pretty much every button press. I have a few ideas on improvements. |
I added a solution that doesn't involve clearing the log (for debugging purposes if something goes wrong at a later point in the campaign) or manual actions. Technically:
To be released in 2.5.8 this week. |
When playing long games or campaign games the huge amount of text lines in the save.ini file will start to lag out the whole application, this is more noticable when playing on an android device. Manually clearing the [Log] section of the save.ini file fixes the lag. Having a way to clear the log inside the application would be a huge improvement to avoid this problem.
The text was updated successfully, but these errors were encountered: