agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

bug(browser): Firefox import uses directory suffixes instead of profile names

Open codebanditssss opened this issue 1 month ago • 0 comments

The Firefox import picker uses the profile folder's suffix instead of its actual name. After a profile is renamed in Firefox, AO can show the old name and mark the wrong default state.

Repro

Use a profile registered in profiles.ini as:

[Profile0]
Name=Client Research
IsRelative=1
Path=abc123.Work
Default=1

Run import-source discovery. It returns name: "Work", default: false instead of Client Research and true.

The picker should use the registered name so users can identify the intended profile. discoverFirefoxProfiles currently guesses the name and default flag from the directory name rather than reading profiles.ini.

Test notes: Fedora 44, dd67f2d818. Reproduced with the production discovery code and a disposable profile containing a real SQLite database. The incorrect label was also confirmed in the app's import picker. No personal browser data was accessed.

Screenshots

The picker shows Work instead of the profile name Client Research.

The picker shows Work instead of the profile name Client Research.

codebanditssss avatar Oct 06 '26 18:10 codebanditssss