Closed Bug 502202 Opened 15 years ago Closed 15 years ago

modifications to search plugin description files don't get picked up on Windows (editing google.xml manually has no impact)

Categories

(Firefox :: Search, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kinwolf, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)

After installing firefox 3.5 I wanted to change back my default search to www.google.com/ig so I edited google.xml.  Doing so doesn't work anymore as it seem firefox doesn't read that file after it's initial start.  Someone told me to move then delete google.xml, restart firefox(now google isn't avail anymroe) then close firefox, put back the modified google.xml back in the right folder and restart firefox.  That was the only way to make firefox re-read the xml file.  But I can't believe this behavior is wanted.  

Reproducible: Always

Steps to Reproduce:
1.Modify google.xml to change search page
2.put nothing in the search bar and push "enter".
3.Watch and see that the change is never taken into account
Actual Results:  
the change is never taken into account

Expected Results:  
To get the right search page, that is www.google.com/ig
What have you changed? Please attach the changed file to this bug.
I attached the file as requested. The only line changed in it is <SearchForm>http://www.google.com/ig</SearchForm>
Firefox 3.5 stores engine data in a JSON cache and only reloads the data from the XML files if it detects a change.

We check the directory's lastModifiedTime to determine whether to invalidate the cache, but perhaps that isn't set reliably for file modifications on Windows (I thought we'd tested that?).
Windows only sets the mtime on the parent directory when the file structure within it changes - other platforms do what you'd expect. We decided that the costs of checking each file every time were far too high to support such a rare use case. As a workaround you can move the file around as you did, or delete search.json from the profile directory.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Resolution: INVALID → WONTFIX
Summary: Editing google.xml has no impact, firefox doesn't read it. → modifications to search plugin description files don't get picked up on Windows (editing google.xml manually has no impact)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: