Skip to content

fix: detect external Firefox profiles during first-run migration - #14743

Open
borscht-enjoyer wants to merge 1 commit into
zen-browser:devfrom
borscht-enjoyer:fix/firefox-profile-detection
Open

fix: detect external Firefox profiles during first-run migration#14743
borscht-enjoyer wants to merge 1 commit into
zen-browser:devfrom
borscht-enjoyer:fix/firefox-profile-detection

Conversation

@borscht-enjoyer

@borscht-enjoyer borscht-enjoyer commented Jul 27, 2026

Copy link
Copy Markdown

import wizard at first launch cant see Firefox even when its installed on the same machine, falls back to manual file picker. this has been an open complaint since early 2024
the bug: FirefoxProfileMigrator.getAllProfiles uses nsIToolkitProfileService to list profiles but that service only knows about Zen profiles since Zen has its own profile directory. Firefox profiles are invisible to it
the fix: monkey patches getAllProfiles to also scan Firefoxs profiles.ini from the standard os directories, parses ProfileX sections with Name and Path and IsRelative, resolves them to real directories, merges into results. build time patch does the same thing baked into the source as a backup
tested locally with various profiles.ini inputs
Fixes: #881

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. Bug labels Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant