crash in GUI / ProjectCenter

2023-01-01 Thread Riccardo Mottola
Hi, I am able to produce a crash in ProjectCenter, by opening a project, selecting a file to edit and then closing the project. If I just open and close a project, nothing happens. So it appears to depend by the presence of the editor. I noticed this on my Rasperry PI so arm6, but now I can

Re: crash in GUI / ProjectCenter

2023-01-09 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: y to understand if this is more a GUI or a ProjectCenter issue I checked this a little more, also with Fred. The SplitView looses its delegate.. it must be one of the subviews. I suppose the Editor subview, because it happens only if a proper editor is loader. Ed

Re: crash in GUI / ProjectCenter

2023-01-10 Thread Wolfgang Lux
> Am 10.01.2023 um 01:42 schrieb Riccardo Mottola : > > Hi, > > > Riccardo Mottola wrote: >> y to understand if this is more a GUI or a ProjectCenter issue > > I checked this a little more, also with Fred. The SplitView looses its > delegate.. it must be one of the subviews. I suppose the

Re: crash in GUI / ProjectCenter

2023-01-10 Thread Riccardo Mottola
Hi Wolfgang, Happy new Yar, nice to read back from you. Wolfgang Lux wrote: Apart from that, the problem is that you've closed the editor window and the editor object has been released and deallocated, but the editor window still exists and is still receiving events after the window has been

Re: crash in GUI / ProjectCenter

2023-01-11 Thread Wolfgang Lux
> Am 10.01.2023 um 18:37 schrieb Riccardo Mottola : > > Your fix appears to work > > > I still wonder if the bug is in GNUstep which shouldn't be "picky" about this > delegate or something done in ProjectCenter is fishy, something with the > editor instantiation. > > Observations: > 1) ope

Re: crash in GUI / ProjectCenter

2023-01-12 Thread Riccardo Mottola
Hi Wolfgang! I had a nice hacking session with Fred this evening and ... fresh mind, new fixes.! I found the memory issue - there was an issue with subview! ProjectCenter had some complex code where a subview was released twice. I was able to refactor things and keep vars more localy and fi