Page 1 of 1

IDE close file bug PB561

Posted: Tue Dec 12, 2017 8:49 pm
by walbus
IDE close file bug PB561

Try this, as sample :
Create a empty folder on your desktop
Copy a PB source with drag and drop in this folder
Run the source
close the source
remove the tab

Now you can not delete the folder from your desktop, the file is not closed

I think this bug can make other problems

Re: IDE close file bug PB561

Posted: Tue Dec 12, 2017 10:13 pm
by Dude
Can't duplicate here. Folder is deleted as expected.

Are you sure the source app is still not running in that folder? Maybe you have "create temp executables" (in Prefs) set to the source folder, and the exe is still running? In that case, what you said about not being able to delete the folder is normal Windows behavior.

Re: IDE close file bug PB561

Posted: Tue Dec 12, 2017 10:48 pm
by walbus
Thanks for the test
No it is not activated, I can reproduce this at will and know the error for at least two years.
After closing the IDE it works
I think someone else will be able to confirm it.

Re: IDE close file bug PB561

Posted: Wed Dec 13, 2017 7:31 am
by davido
@walbus,
I carried out each step in your list and got the same result as you did.
The problem also occurs, for me, even if I open the file normally, in the IDE.

Closing the IDE cures the problem.

I was using PureBasic 5.61 x64 with Windows 10.

Re: IDE close file bug PB561

Posted: Wed Dec 13, 2017 8:39 am
by walbus
@davido
Thanks for testing
Yep, i have forget, i use also Win 10 and PB561 x64
I just tested it with x86, here the error does not occur
So it's only on x64