[MaxIDE] Executables aren't saved if using 1st tab

Archives Forums/BlitzMax Bug Reports/[MaxIDE] Executables aren't saved if using 1st tab

RmB303(Posted 2009) [#1]
This is my first bug report, so apologies if I'm not specific enough ;-)

Using the latest version of BlitzMax (1.35), on a PPC Mac, Mac OS X 10.4.11.

When using the first tab, the executable file does not appear to be saved in the folder that the source code is in.


If I leave that file open, and open another one, that executable is saved in the folder.

If I then close the first opened file, and then open it again (leaving what was the 2nd one open), the executable is now saved as it is open in the second tab.

I've tried this numerous times, and it seems to work like this every time, and is more than a little bit annoying!


Ked(Posted 2009) [#2]
You mean the first tab after the "Home" tab? Probably a dumb question, but you are making sure that you are saving the source code to the folder you want, right? Otherwise the executable and source are saved in the tmp folder.


RmB303(Posted 2009) [#3]
I've tried it using the example files in the samples folder, and I'm opening them by dragging the .bmx file into the IDE window.

It doesn't seem to matter what example I'm opening, but the executable is not saved in the same folder as the .bmx file if it is the first file opened - i.e. in the first tab after the 'Home' tab.

They don't seem to be saved in the temp folder either. Not sure if they are saved anywhere really.

They compile and run just fine, but the file is not saved.


Ked(Posted 2009) [#4]
Well, I can't really say anything since I'm running Windows XP, but everything works as expected here. :) But, I don't think I've heard of any PPC Mac users having this problem.

Can we get someone with a PPC to test this?


RmB303(Posted 2009) [#5]
Just want to report that this little issue still exists using BlitzMax 1.36, after rebuilding all modules and documentation.

Does this not affect anybody else?

There is a work around (always have two tabs open), but it's still a little annoying.


SebHoll(Posted 2009) [#6]
This is strange. Can't say that I've ever come across this issue.

Try build and running something in the first tab, and then right click the process in Windows Task Manager, and select 'Open File Location'. Then if you could let us know where the file is running from, that would be awesome. lol, sorry - missed that you were on OS X.


BlitzSupport(Posted 2009) [#7]
I'll try this on my PPC Mac later.


skidracer(Posted 2009) [#8]
Is it possible to open bmx code in the safari Help tab? This tab is for help system not for code.

Is the Help tab the first tab in your MaxIDE when you run BlitzMax? It should not be possible for you to close the Help tab. This will cause MaxIDE to malfunction.


marksibly(Posted 2009) [#9]
Hi,

Doesn't happen here - I tried:

1) New file

2) Save as Desktop/test1.bmx

3) Enter: Notify "Hello World!"

3) Compile/run

4) And there it is on the desktop!


BlitzSupport(Posted 2009) [#10]
How are you loading the file to start with? Dragging-and-dropping onto the IDE, or via the File -> Open menu?

If you're dragging and dropping, is it creating the filename with a . in front of it, eg. the tab shows ".myprogram.bmx"?

Dragging and dropping creates a safety copy with a leading dot, which would create a hidden file in the Finder. Open a terminal, cd to the source folder and run ls -a to see if the filename is listed with a leading dot.

Other than that, opening via the IDE File menu seems OK here, creating the executable as expected. (Same for creating an empty tab, saving the source, then building the program.)