Author Topic: Constantly have to save files when opening them?  (Read 3834 times)

Offline egoflux

  • Single posting newcomer
  • *
  • Posts: 3
Constantly have to save files when opening them?
« on: July 23, 2010, 11:14:01 pm »
Hi everyone, sorry if this was posted before or I screwed something up.

I upgraded from version 8.02 to 10.05.  I had binary distributions of both and when installing the 10.05, I installed over 8.02's path.

I went to my project folder and double clicked on my project.cbp (which was technically the 8.02 projects file).

Everything looked great until it tried to reopen all the documents I had opened in that session from 8.02... it asked to RESAVE every file that was open in the editor (which was daunting to go through since I have like 200+ files).

Now, whenever I try to open any file in my project I have to save it when the dialog box opens up... if I say yes.. the warning to overwrite the file comes up.. I say yes... everything is fine... if I close my project or the application... same thing happens... I have to resave every file that is open... this is maddening... how can I disable this or what can I do to fix this?

Oh, if I cancel the save file.. the file will still open fine in the editor.

If the document is already opened in the editor (I have a tab of the file already)... I'm not prompted to save the file when switching to it... only when a new tab for the file is opened (like if I F11 and open the corresponding header/code file and it wasn't already open)
« Last Edit: July 23, 2010, 11:30:13 pm by egoflux »

Offline egoflux

  • Single posting newcomer
  • *
  • Posts: 3
Re: Constantly have to save files when opening them?
« Reply #1 on: July 25, 2010, 03:06:12 pm »
Ehh... I guess I can hold down ESC to cancel all the save file dialogs every time I open the project or open a new file... I can live with this, but it's still kinda annoying.

Maybe it's because I installed the CB share config thing also?? I dunno.

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Constantly have to save files when opening them?
« Reply #2 on: July 25, 2010, 07:21:17 pm »
Did you remove the old installation before reusing the path?  If you didnt then you have mixed versions of files and thats likely the problem.

Offline egoflux

  • Single posting newcomer
  • *
  • Posts: 3
Re: Constantly have to save files when opening them?
« Reply #3 on: July 25, 2010, 08:40:52 pm »
I ran the uninstall from the control panel on code::blocks 10.05 and removed all files in the path... this problem was remedied... unfortunately my mingw and supporting include/libraries were also removed and now I gotta reinstall those and reset those path configurations...

Yes I DID install OVER the 8.05 installation path (without uninstalling first) so indeed that would seem to have been the problem.

EDIT: Since this is resolved, I'll close this topic -- thanks for the heads up and helping with the problem.