Closed Horridge closed 1 month ago
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 TBaseForm
class, among others), but this is only speculation at this point.
Hi, I get this error just by selecting certain torrents. It seems to be consistent, every time I select one of the problem torrents, it shows this error, and then the app quits. I'm on MacOS 14.5, transgui 5.18.4.f.
One torrent that triggers the issue is /description.php?id=7689899
on TPB.
https://github.com/transmission-remote-gui/transgui/issues/913 https://github.com/transmission-remote-gui/transgui/issues/1364 https://github.com/transmission-remote-gui/transgui/issues/1459 (closed, but only because it stopped happening at literally every run)
The changes I made today (in https://github.com/lighterowl/transgui/commit/438ccb831ce38a6b1b4aed596b890c32c8dda7ee) 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 develop
for testing if you want to try it out.
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 BaseForm
completely, so this should not be a problem as of the next release (5.18.6).
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.