Re: [Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)
I'd actually encourage Tobias to try the patch at #35702 and see if it fixes the problem. thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)
On Mon, Jun 10, 2019 at 6:18 PM David Jenkins via lazarus < lazarus@lists.lazarus-ide.org> wrote: > In now. Mantis 35702 > While the research seems to be quite thorough, the following statement: "Error is caused because Cocoa currently doesn't run through base level NSApplication.run and thus appropriate ._isrunning flag is not set " contradicts Apple's documentation ( https://developer.apple.com/documentation/appkit/nsapplication?language=objc ) "...Methods to Override ... Override run if you want the app to manage the main event loop differently than it does by default. (This a critical and complex task, however, that you should only attempt with good reason.)" If the first statement is true, then run cannot and should not be overriden at all. thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)
In now. Mantis 35702 On 6/10/19 3:59 PM, Dmitry Boyarintsev via lazarus wrote: On Sun, Jun 9, 2019 at 11:31 AM Zoe Peterson via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: I'll make sure it's submitted to the bug tracker on Monday. Follow up! :) thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)
On Sun, Jun 9, 2019 at 11:31 AM Zoe Peterson via lazarus < lazarus@lists.lazarus-ide.org> wrote: > I'll make sure it's submitted to the bug tracker on Monday. > Follow up! :) thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] really strange messagedlg hang
El 10/6/19 a les 12:50, Martin Frb via lazarus ha escrit: On 10/06/2019 12:40, Luca Olivetti via lazarus wrote: El 1/6/19 a les 12:18, Luca Olivetti via lazarus ha escrit: El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot use 3.0.2 due to the above mentioned thread issue) the problem disappears. It also disappears (with lazarus 1.6.4/fpc 2.6.4) if I turn off the option "use manifest file to enable themes" Any idea? The question still stands. Maybe a bug with themes in lazarus 1.6.4? Nobody? There were several issues in fpc thread sync related code. Not sure if any of those may be related to your issue. https://bugs.freepascal.org/view.php?id=35027 https://bugs.freepascal.org/view.php?id=35028 https://bugs.freepascal.org/view.php?id=34640 No, I was not referring to the thread problem I had with 3.0.4. I *never* had thread problems with 2.6.4 and (crossing fingers) my problems seems to be fixed in 3.2.x. The problem was messagedlg hanging for a minute or more with lazarus 1.6.4/fpc 2.6.4 under win32 and manifest file enabled. Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] really strange messagedlg hang
On 10/06/2019 12:40, Luca Olivetti via lazarus wrote: El 1/6/19 a les 12:18, Luca Olivetti via lazarus ha escrit: El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot use 3.0.2 due to the above mentioned thread issue) the problem disappears. It also disappears (with lazarus 1.6.4/fpc 2.6.4) if I turn off the option "use manifest file to enable themes" Any idea? The question still stands. Maybe a bug with themes in lazarus 1.6.4? Nobody? There were several issues in fpc thread sync related code. Not sure if any of those may be related to your issue. https://bugs.freepascal.org/view.php?id=35027 https://bugs.freepascal.org/view.php?id=35028 https://bugs.freepascal.org/view.php?id=34640 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] really strange messagedlg hang
El 1/6/19 a les 12:18, Luca Olivetti via lazarus ha escrit: El 31/5/19 a les 17:16, Luca Olivetti via lazarus ha escrit: If I recompile it with lazarus 2.0.2[*]/fpc 3.2.beta (cannot use 3.0.2 due to the above mentioned thread issue) the problem disappears. It also disappears (with lazarus 1.6.4/fpc 2.6.4) if I turn off the option "use manifest file to enable themes" Any idea? The question still stands. Maybe a bug with themes in lazarus 1.6.4? Nobody? Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] .lrs not created?
Hi all I am getting some strange behaviour in latest trunk Lazarus (rev. 61340) Namely, Lazarus does not create .lrs files for files on form changing/saving. It's new test project for dynamic library. This results in run-time errors like: Form resource TfrmMain not found. For resourceless forms CreateNew constructor must be used. See the global variable RequireDerivedFormResource. I found some option in Project options-Misc-Resource type of project. It was "FPC resources", I've changed it to "Lazarus resources (.lrs)", but it does not help. Any thoughts? -- Regards, Denis Golovan -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus