Open Chuck321123 opened 8 months ago
Hey @Chuck321123, thanks for reporting. I can't reproduce this on Linux and I don't see that we're doing anything especial about the select all operation.
@dalthviz, could you try it on Windows?
@ccordoba12 So this is a weird bug. Created a new env in Windows and clean installed Spyder and reset its settings. Everything went smooth, but then i zoomed out the code and hit Ctrl + A and then it crashed/froze again. Tried the exact same thing in Ubuntu on my Raspberry Pi but i couldnt replicate it there.
Update: Found the solution where i disabled "Highlight occurence after 1500ms" under Editor in Preferences and Spyder doesnt freeze anymore. My pc is not the newest but might be an idea to check into this
@dalthviz, could you try it on Windows
So @Chuck321123 , you could use the Windows 10+ installer with WineHQ I suppose u use Ubuntu but if you use like Linux mint you can try Ubuntu 22.04
(Jammy Jellyfish)
Linux Mint 21.x
Try this link: wiki.winehq.org/Ubuntu
Should work regards
I think I was able to reproduce the crash/freeze. Something that I noticed is that at some point seems like the scrollflags for the occurence highlighting disappear/are still not set and if I try to do Ctrl + A
multiple times while then quickly start clicking the Editor with the mouse Spyder freezes for some time. If in that state you keep trying to interact with Spyder it crashes. If you wait sometime it recovers:
Also, maybe the freeze could also be caused/easy to trigger when doing a mouse click while also still holding the Ctrl
key, since sometimes after the freeze I got a new file open like if I did a Ctrl+ Right Mouse Click
to trigger the Go to definition
action :thinking:
Issue Report Checklist
Checklist checked
Problem Description
So I'm working on my code which is near 10000 lines with codes and text, but when i press CTRL + A to mark everything, everything freezes for up to a minute. This is before running the code.
What steps reproduce the problem?
Find a code that is over 10000 lines with both code and text in it. Hit CTRL + A. Could also create a 200 line code with text and copy paste it up to 10000 lines.
Made a fictive code from chatGPT where the problem also occurs if you copy paste it enough:
What is the expected output?
That it doesnt freeze until i run the code
Versions
Dependencies