-
Notifications
You must be signed in to change notification settings - Fork 5
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
"TControl.InvalidatePreferredSize loop detected" Error #82
Comments
Hi, thanks for the report. I've seen this one before a couple of times but unfortunately haven't been able to track down the cause. I can only assume this is somehow related to all the code that overrides Lazarus' own logic for resizing and placing widgets (basically, the |
transmission-remote-gui#913 |
The changes I made today (in 438ccb8) should make this go away but I wouldn't dare to call this "fixed" as the root cause is still there. I just made the call that triggers this exception wrapped in a "swallow everything" block. At worst, some UI will be broken (i.e. badly sized) but at least the app won't just stop outright for no reason. You can grab the last build from The root cause is all the autosizing hacks whose purpose I just can't figure out and at the same time cannot remove because the UI breaks completely without them. |
I decided to bite the bullet and get rid of |
Received an error dialogue box this morning,

Unfortunately don't know the cause, happened over night whilst the application would've been minimised to system tray. Running v5.18.4.f, with 1727 torrents (one was added via Radarr this morning, if relevant). Closing transgui and re-opening without issue.
The text was updated successfully, but these errors were encountered: