Bug #9914 2007-01-09 13:27

sika

Can't open CB when loading files opened the last time

I'm running codeblocks on ubuntu 6.10.

Codeblocks is configured to open automatically the project and the files that were opened the last time I closed it.

When I try to open codeblocks, the window simply doesn't appears. I see that CB is running in the background but the window doesn't show up. The only way to make it work is to kill CB. Then the next time i launch it, i get a message saying a tmp file has been deleted (/tmp/Code::Blocks-myname), and finally it works : i can see the window and everything works just fine !

Another point : if I delete my foo.layout file, the problem disappears and I can launch CB normally...

Once codeblocks is launched, I can open the project and the failes without problems.

I've tried to completely uninstall codeblocks, reinstall the deb package, create a completely new project (with all the permissions) without changing the default config of codeblocks (except the option to open the last project and the last files)... and i still get the same problem...

Discussed in this topic : http://forums.codeblocks.org/index.php?topic=4762

Category
Application::Crash
Group
 
Status
Closed
Close date
2007-07-03 08:53
Assigned to
 
sika 2007-01-11 20:24

Another point :

It seems like it is the error message that I get which make appears the window :

I've just tried to switch the locale of CB to Chinese (simplified) to see if it would work (I was trying to compare with my app I'm currently trying to localize)... when i restart CB, i get the error message "cannot set locale to blabla" (which is normal as I don't have this locale installed). The interesting point is that the window appears just after this message...

My conclusions (don't know if i'm right or wrong) :

if a message box (whatever it is) shows up, the window is drawn.If there's no message box, the window is not drawn...

don't know if it can help.

rickg22 2007-06-26 23:24

Does this bug still persist?

sika 2007-06-27 10:39

Hi !

I haven't used codeblocks for a few weeks but now, i've just installed the latest nightly (4185) and it seems to be solved !

You can close this bug (I don't know if I can do it myself).

Thanks.