Hello Fred, you wrote on Thu, 2 May 2024 22:55:16 +0000:
> I haven't jumped into your code yet but the same crash appears when you > try to free an object that hasn't been created yet. Thank you again for the report - although this doesn't seem to be connected to the REAL underlying problem, it did certainly pique me to investigate deeper. And also to observe the system independent parts more closely. But finally, the real cause was something quite unexpected, only caused by an oversight from my part. I reused - misused - a data structure defining window properties that "is already there", but not fully used, to allow for passing more information. This worked - but only for the most part. And it DIDN'T work for that part that was the least to be suspected, the case when no specific positioning was to be done. In this case, a false flag (dp_none, equivalent to "fo_main"!) was set, and this did lead the window management functions to clear all of the application's windows when just the dialog was closed. The other placement options do work correctly and did before, as they have the same values as the equivalent original ones. So the remedy for this big issue is a very simple minor modification in the initialization code that just doesn't set the flag when not needed... The new version on my web site contains this correction, in addition to the addition of a new "DialogPlacement" variable for the file dialog controller which allows to programmatically specify where a file dialog should be shown. As a minor aside, I put a patched version for the linux "mseguiintf" unit (file "mseguiintf_patched.zip") there, in case you wanted to check it out. It has the modification that seems to avoid some "not decorated" errors, and at least reduces the long delay before they appear, should one occur anyway. It also suppresses the Xorg gui error caused by a false call for setting the X input focus in such cases. But that's just a minor problem, usually without consequences, except for those possible sporadic "not decorated" messages. It might just not hurt... Thank you again for your support and information, and keep up the good work! -- (Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem) ----------------------------------------------------------- Mit freundlichen Grüßen, S. Schicktanz ----------------------------------------------------------- _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk