Read-only status and changes not detected with synchronize


Is anyone else experiencing this? With IntelliJ ramping up to a release I'd really like this fixed...

Frequently, when I check-in a file and the actual file status changes to read-only IDEA does not detect this. To get IDEA to detect this I either get the file out of source control read-only (changing the inode of the file.) Alternatively I sometimes use unix/cygwin's touch command to update the timestamp on the file. This has NEVER failed to get IDEA to reload the file.

However, workarounds aside this needs fixing; as Oleg Danilov says in fault 10624, this 'can easily result in unrecoverable loss of information or misrepresentation of the current state of the development environment'


Directly related Tracker Requests are:
6123 Checking out files with VSS leaves them write protected
6423 Idea slow to update read-only state of files
6528 automatic synchronize not working from time to time
9920 Read-Only Change Not Detected
10948 IDEA doesn't realise that file is no longer read-only
11603 Changed externally code does not refresh even if press the synchronize button

And some closely related ones:
6760 Intellij always resync from disk
9370 Synchronize open files on frame activation
10624 IDEA build #695 does not synchronize opened files modified via Run/Debug

5 comments
Comment actions Permalink

I see it also:
http://www.intellij.net/forums/thread.jsp?forum=13&thread=65262

removing fileWatcher*.dll wrom idea bin directory seems to help

0
Comment actions Permalink

Maybe it is not so simple as that. I have both files (NT and 2k) and it
works for me. Sometimes it is a little slow, but it does work. Maybe there
is a thread priority issue.

--
Norris Shelton
Web Developer
Sun Certified Java Programmer


"Adam" <no_mail@jetbrains.com> wrote in message
news:31521841.1074084677400.JavaMail.itn@is.intellij.net...

I see it also:
http://www.intellij.net/forums/thread.jsp?forum=13&thread=65262

>

removing fileWatcher*.dll wrom idea bin directory seems to help



0
Comment actions Permalink

Quick test:

Open IDEA.

1. Take a readonly file. Use windows explorer to make it writeable. Switch back to idea. Has status changed?
Change it back to readonly. Switch back to idea. Has status changed again?

2. Take (another) writeable file. Use windows explorer to make it readonly. Switch back to idea. Has status changed?
Change it back to writeable. Switch back to idea. Has status changed again?

In my tests only files that were originally READONLY get noticed.

Does anyone else see this behaviour?

0
Comment actions Permalink

Both 1) and 2) - Yes and Yes. Don't see what you describe. W2k, b1074

0
Comment actions Permalink

Thanks to Adam, we found the problem and fixed it in #1109. This bug was
introduced since the build #963 and caused failing to recognize some of
external changes on Window NT/2000. Everyone who experienced this problem,
please try it when the build is available.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Ash Searle" <no_mail@jetbrains.com> wrote in message
news:21626089.1074081075767.JavaMail.itn@is.intellij.net...
>

Is anyone else experiencing this? With IntelliJ ramping up to a release

I'd really like this fixed...
>

Frequently, when I check-in a file and the actual file status changes to

read-only IDEA does not detect this. To get IDEA to detect this I either
get the file out of source control read-only (changing the inode of the
file.) Alternatively I sometimes use unix/cygwin's touch command to update
the timestamp on the file. This has NEVER failed to get IDEA to reload the
file.
>

However, workarounds aside this needs fixing; as Oleg Danilov says in

fault 10624, this 'can easily result in unrecoverable loss of information or
misrepresentation of the current state of the development environment'
>
>

Directly related Tracker Requests are:
6123 Checking out files with VSS leaves them write protected
6423 Idea slow to update read-only state of files
6528 automatic synchronize not working from time to time
9920 Read-Only Change Not Detected
10948 IDEA doesn't realise that file is no longer read-only
11603 Changed externally code does not refresh even if press the

synchronize button
>

And some closely related ones:
6760 Intellij always resync from disk
9370 Synchronize open files on frame activation
10624 IDEA build #695 does not synchronize opened files modified via

Run/Debug
>
>


0

Please sign in to leave a comment.