Page 1 of 1

Hang on reopen file?

Posted: Sun Apr 20, 2025 5:29 am
by Piero
If I open a file that was already open, PB very often hangs on quit.
Is it only my Mac?
Tested (e.g., double-clicking a .pb on Finder) with a LOT of open PB tabs.

PS: Happy Easter!

Re: Hang on reopen file?

Posted: Sun Apr 20, 2025 12:22 pm
by mk-soft
If you go through the tabs before closing, the closing works ...

Maybe download the IDE from GitHub and compile in DEBUG mode.

Re: Hang on reopen file?

Posted: Sun Apr 20, 2025 2:46 pm
by Piero
I tested all kind of tricks to avoid the bug (had to delete a lot of crashreporter hang reports :lol:): they "do not always work"; maybe sometimes it "takes some time for the 'tabs' to update"?
I bet it's the list of tabs/files to close/reopen ("auto-reload last open sources" in prefs) that can get "corrupted", so on quit PB tries to close a tab/file that's already closed

Re: Hang on reopen file?

Posted: Sun Apr 20, 2025 3:54 pm
by Bmld756
Hello,

I works on Imac 2012/16gb - Sequoia with OCPL , macBook M1 Sonoma, PC windows10 and PB 6,20. I try to open lot .pb someone already open without problème. i work's on big projet with about 20 files and I never notice a problem. I works via Google Drive and I open the file on each computer correctly. What is your model of Mac and your MacOS ?

Re: Hang on reopen file?

Posted: Sun Apr 20, 2025 4:24 pm
by Piero
Bmld756 wrote: Sun Apr 20, 2025 3:54 pm Hello
Hi,
I noticed while testing this "Tabs Menu" IDE tool:
https://www.purebasic.fr/english/viewtopic.php?t=86769
on Monterey M1 PB 6.20 with lots of files open, also from various folders (not a project)

Edit/Note (just in case you missed it): it happens on PB QUIT (not when closing tabs)