wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
460 stars 96 forks source link

lisp-quiet glitches on loading a small wxm file. #1856

Closed richardgobeli closed 6 months ago

richardgobeli commented 6 months ago

This still seems to be happening about a few times a week. image this is the version I have. The collapsed cells are not executed. image

daute commented 6 months ago

Concerning execution of collapsed cells: In issue #1853 ReneSci wrote, that collapsed cells should not be evaluated and Gunter programmed this. I really wonder whats the sense of the 'collapsing-feature'...

What are the lisp-quiet issues in your wxm file? If it's not top-secret, can you upload the file in the Github bug report? Best regards, Wolfgang

richardgobeli commented 6 months ago

It does not have anything to do with the file. For me, it has happened on small files and big files with both extensions .wxm and wxmx.

This was the test file I used for my last Maxima bug report. Here I added a few lines. It loaded ok today.

image Just remove the text extension. test.wxm.txt

gunterkoenigsmann commented 6 months ago

Hmmm... ...what does the lisp-quiet stuff end with if this bug is triggered?

gunterkoenigsmann commented 6 months ago

My current guess (and it only is a guess) is that something isn't properly xml-escaped and sometimes on rare occasions contains a literal tag end...

gunterkoenigsmann commented 6 months ago

And does this only happen in wxm files, but not on loading wxmx ones?

gunterkoenigsmann commented 6 months ago

And does this only happen when you double-click a wxm file, or also, when you open it from wxMaxima?

richardgobeli commented 6 months ago

Here I loaded a good-sized file. with wxmx extension. It maybe happening the first time I load a file after a new version is loaded.

image This is what it looks like when it does not print the list-quiet stuff. image

The info was taken after the bug showed. image

richardgobeli commented 6 months ago

I have only opened the files from inside WxMaxima. I can be either file version wxm or wxmx

richardgobeli commented 6 months ago

image

This just happened today after the new version was loaded and it occurred on the second time I ran the bug report. This was not the first time loaded or started.

image

The bug report data came after the quiet glitch.

image

gunterkoenigsmann commented 6 months ago

Have now seen an instance of the problem on my computer. Might it have to do with our "Please wait: Am re-indexing the help file" message?

richardgobeli commented 6 months ago

I had also thought about it, but was not sure.

gunterkoenigsmann commented 6 months ago

That message hinders the GUI from listening to events. If maxima sends us data that is an event... ...perhaps we should get rid of that message. The only problem is: If we don't tell the user very visibly that we will be not reacting for a minute many users will kill wxMaxima before it starts to react, again...

gunterkoenigsmann commented 6 months ago

In theory we could prepare the list of manual keywords in the background and halt wxMaxima's GUI only while we replace the old with the new list...

gunterkoenigsmann commented 6 months ago

Resolving this even made wxMaxima's code smaller!

Thanks a lot!