Closed Bug 520377 Opened 16 years ago Closed 1 year ago

camino fails to reload local file if it is replaced (inode number changes)

Categories

(Camino Graveyard :: General, defect)

x86
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: hhaamu, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en; rv:1.9.0.15pre) Gecko/2009091516 Camino/2.0b4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en; rv:1.9.0.15pre) Gecko/2009091516 Camino/2.0b4 Camino says "File Not Found" when a local file is reloaded but it has been replaced with a new file. Many text editors (e.g. vim) perform saving by writing a new file and replacing the old one. Reproducible: Sometimes Steps to Reproduce: 1. echo "old file" > testing.txt 2. load in Camino with a file:// URL 3. replace file with a new file: rm testing.txt && echo "new file" > testing.txt 4. reload with cmd-R Actual Results: File Not Found Expected Results: File reloads successfully Seems specific to Camino; not in Seamonkey at least. Workaround: select location bar, press return.
Happens in Camino 2009100200 (2.1pre). Works in Firefox 2 and Firefox 3.5.3, so this probably isn't a Gecko issue (although I'm not sure how it couldn't be -- isn't file:/// handling in Core?).
Status: UNCONFIRMED → NEW
Ever confirmed: true
I'm confused. The STR in comment 0 WFM on 10.5.8 with 2.0b4 (as well as with my trunk debug build).
Finally got around to test this. The command line STR on comment 0 WFM on 10.5.8 (and Camino 2.1a1pre). I then tested a couple of text & code editors (dashcode.app, SubEthaEdit.app, Smultron) with .txt, .css, .html files and all worked correctly (save file, Open File in Camino, delete file in Finder and empty Trash, save file in text editor, reload in Camino).
I've certainly seen this sometimes (using vim to edit files), but I haven't been able to notice a pattern for when it happens.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.