User forums > Using Code::Blocks
Workspace modified
stahta01:
--- Quote from: MortenMacFly on July 06, 2008, 07:33:18 pm ---
--- Quote from: stahta01 on July 05, 2008, 01:01:20 pm ---Activating an project means the workspace was changed.
--- End quote ---
Yes, and that's perfectly OK. Within the workspace file the last active project is saved. So the workspace *is* modified and needs to be saved to reflect the changes. So this is not an error... Or am I missing something here?!
--- End quote ---
No, not missing anything. I was just listing one case where an beginner might not realize there was an change that needed to be saved.
Tim S
Newbie0815:
I believe the problem is:
Open C::B -> default workspace
Open a project -> workspace changed
Close the project -> doesn´t recognize the workspace is back to what it was on start
Close C::B -> tells you it wants to save the workspace
Helpful would be an option within the question, like "do not bother me again"
and once thats checked don´t check anymore for changed workspace upon close.
At least in my case there is no need at all to save anything at all upon close, I always click "No" and I´ve never determined anything missing that wasn´t saved.
Edit:
Now that I think about it, I believe, no matter what you save there, it still loads the default, so you don´t even get back what was saved, unless you load it manually.
If so, a 2nd option might be useful, like a checkbox saying "always save workspace as default"
Not sure if I explained it right, I mean it could auto-save upon close under a default name and auto-load it again upon open without the user has to click anywhere, and if thats optional, everyone may choose the way they like best.
Jenna:
I often use projects that does not belong to a workspace, and I never get asked if I want to save the changed workspace.
Please provide some more information:
--- Quote from: MortenMacFly on July 04, 2008, 03:06:28 pm ---As long as there are no more details (C::B version, revision, platform, steps to reproduce) there won't be much chance for an answer. It does not happen to me and I doubt to any other of the devs. Otherwise it would have already been fixed (which probably is... I could tell if I would know the revision at least).
--- End quote ---
Newbie0815:
I´m using the codeblocks-8.02mingw-setup.exe from the download section.
I just click through the installation without to make any changes to the default.
Once installed, I run C::B through the icon in start menu.
I click "Open an existing project", browse to any of my .cbp files and it opens.
(Once I had a project open, it shows under recent projects, open it from there gives the same result)
I don´t do anything in the project, but simply right click the project and choose "Close project".
Now I click the X top right to close C::B and it tells me, it wants to save the modified workspace.
I click "No", it closes and everything is just fine, only this message every time bothers big time, a "No" by default would be great.
MortenMacFly:
--- Quote from: Newbie0815 on July 08, 2008, 04:43:11 am ---I´m using the codeblocks-8.02mingw-setup.exe from the download section.
--- End quote ---
This bug has been fixed meanwhile (by me myself and I ;-)). Try a nightly if you urgently need this.
As I told you: Not that I know your version I can tell.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version