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

Write tool properties to disk when calling leavingThisTool() or ~ToolManager() #1904

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

khoidauminh
Copy link
Contributor

Tool properties are written to disk immediately when changed. If you try to slide a scalar value with a high temporal resolution device like a tablet or a high end mouse, the flooding events will cause the program to freeze/lag as it struggles to write every value to the QSettings object.

Previously #1853 was merged to mitigate this problem with quick sizing, but if you change the properties on the tool options panel, the lag is still there.

This PR makes the change so that the program will wait until you switch to another tool, or close the program, to write everything onto the disk.

@khoidauminh
Copy link
Contributor Author

I think I should go ahead and remove the changes in #1853 as well since it's now redundant

@chchwy chchwy force-pushed the save-tool-properties-on-exit branch from 1744408 to 1a7a757 Compare February 19, 2025 02:45
@chchwy chchwy force-pushed the save-tool-properties-on-exit branch from 1a7a757 to 90f75d3 Compare February 19, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

2 participants