As an experiment, I commented out the code for hiding the toolbar.  This 
was used for "kinds" that didn't need a toolbar.  The main one used to be 
TEXT, but now we've decided that TEXT nodes ought to have the toolbar after 
all.  Since I commented out the code, I haven't seen any of these error 
messages.  This is preliminary and not in the version you just brought into 
devel by hand.

I'm supposing that the problem will still show itself for other node types 
where having a toolbar doesn't make sense, like "@pyplot", "@svg"  nodes 
and the like.  I will probably remove them in a future version, since we 
won't need many of them, but a few probably need to stay.  So there will be 
more work ahead on this issue, but maybe this fix will take care of most of 
the cases.

On Wednesday, April 1, 2020 at 9:43:33 PM UTC-4, Thomas Passin wrote:
>
> According to your linked page, deleteLater() can lead to problems that 
> give the very exception we are seeing. The places it shows up are in code 
> that I inherited from VR/VR2, and just left in because I didn't really know 
> why we needed it but supposed that someone before me had.
>
> Most if not all cases relate to hiding the render pane.  So that gives me 
> a place to look.  Why did someone think that the pane needs deleting after 
> it is hidden?  Hmm...  Well, at least we always get a toolbar that behaves 
> normally even after the error message. That's good!
>
> On Wednesday, April 1, 2020 at 8:14:04 PM UTC-4, Thomas Passin wrote:
>>
>> Thanks, that looks like it could be relevant.
>>
>> On Wednesday, April 1, 2020 at 6:37:34 PM UTC-4, Edward K. Ream wrote:
>>>
>>> Here's the link. I found it while cleaning out my bookmarks :-)
>>>
>>> http://enki-editor.org/2014/08/23/Pyqt_mem_mgmt.html
>>>
>>> Maybe it will help find the memory problems in vr3.py.
>>>
>>> Edward
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/4b8f2a3a-60a3-4ca5-bc0a-b1dcce191a79%40googlegroups.com.

Reply via email to