Author Topic: "Check for externally modified files" bug  (Read 5737 times)

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
"Check for externally modified files" bug
« on: January 25, 2006, 03:11:22 pm »
If you open two or more files, then modify or delete all of them from outside CB, the "File changed" dialog pops up. If you click yes (keep it open), then you get a dialog for each file. But if you click no to the first dialog, the dialog is shown for all files but not for the last one.

Now open three or more files, delete them from outside CB. Restore CB, click "yes" on the first "File changed" dialog then "no" on the next dialog. Something strange happens, the cb editor is divided in two or more editors, and if another dialog appears and you click "no", CB stops responding and crash after a while.
EDIT: wait, i can't reproduce again this bug..

I'm using the last nightly build (1853).
« Last Edit: January 25, 2006, 03:20:49 pm by kkez »

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: "Check for externally modified files" bug
« Reply #1 on: January 25, 2006, 03:48:57 pm »
Some work was done on a similar problem a couple weeks ago. Were you using 18xx when you saw the problem, or only when you couldn't reproduce it?
78 280Z, "a few bolt-ons" - [email protected]
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2300
Re: "Check for externally modified files" bug
« Reply #2 on: January 25, 2006, 04:19:08 pm »
I too experienced the split editor screen last night.
SVN 1853. I opened the codeblocks.cbp project from
../src. Then opened and activated a project of my own.

Worked with files of both projects opened. I then
closed the inactive codeblocks project. Some of its
files were open.

The editor window split and I had a two views of my
current editor file. Both editor windows seemed active.

I then closed that file via the tab. The split windows
disappeared and CB hung up. It did not crash, I know,
because I alway run CB from withing GDB. I had to
kill GDB to kill CB.

I tried the same thing again, but the problem would not
reproduce....

thanks
pecan

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: "Check for externally modified files" bug
« Reply #3 on: January 25, 2006, 06:55:37 pm »
Were you using 18xx when you saw the problem, or only when you couldn't reproduce it?
Well, the first time i saw this bug i was using 17xx, but even with that revision i was not able to reproduce it.
This is the second time, i saw this bug again, but again i couldn't reproduce it.
IIRC, the first time i saw it i was doing the same thing.
EDIT: i suppose your are talking about the split editor, aren't you?

Quote
If you open two or more files, then modify or delete all of them from outside CB, the "File changed" dialog pops up. If you click yes (keep it open), then you get a dialog for each file. But if you click no to the first dialog, the dialog is shown for all files but not for the last one.
Let me rephrase this bug:
1) Open three files
2) Modify or delete them all.
3) Click no to the first and second "File changed" dialog. The third dialog doesn't appear.
If you click "Yes" on all the dialog, the third dialog appears.
« Last Edit: January 25, 2006, 06:58:27 pm by kkez »

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: "Check for externally modified files" bug
« Reply #4 on: January 25, 2006, 07:01:19 pm »
[ot] Why sometimes the "Symbols" tab disappear? I ca get it back only by deleting the default.conf file... [/ot]