Hang on reopen file?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Hang on reopen file?

Post 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!
User avatar
mk-soft
Always Here
Always Here
Posts: 6206
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Hang on reopen file?

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Hang on reopen file?

Post 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
Bmld756
User
User
Posts: 30
Joined: Mon Sep 19, 2022 3:30 pm

Re: Hang on reopen file?

Post 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 ?
IMAC 21.5 2012 Core I5 - 2.70 Ghz. 16 GB NVIDIA GeForce GT 640M 512 Mo. MacOs OCPL Sequoia 15.0
MacBook Air M1 - 8Go - Sonoma 14.1
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Hang on reopen file?

Post 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)
Post Reply