Open Bug 2087802 Opened 26 days ago Updated 2 days ago

Import card options all send the user to “select file”

Categories

(Firefox :: Migration, defect, P3)

defect

Tracking

()

People

(Reporter: dwatson, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fide-fi] )

  • Summary: Onboarding card Import CTA: every import option leads to a file picker
  • Platform and branch: Mac, Treatment A
  • Steps: Click the primary CTA on the Import card and choose each browser option.
  • Actual: Every option sends the user to select a file, which is clunky.
  • Expected: Not stated in your notes. Fill in, for example “import directly from the selected browser”.
  • Recording: https://www.loom.com/share/56c7b65d629f41309f131fab61eee385
Whiteboard: [fide-fi]
Assignee: nobody → fterdal

Based on my initial investigation, asking the user to select a file is the best we can do at this time. As of macOS 27, Apple blocks apps from accessing data from other apps, which means Firefox can't access browser data from Chrome or Safari, etc. See bug 2078922 for more details.

If we want a less clunky experience, may we can provide the user with an illustration of what the import process now looks like, or a link to the relevant SUMO page? Agree that we'd prefer more user-friendly import experience. 😢

Summary: Import card options all send the user to “select file” (release blocker) → Import card options all send the user to “select file”

Hey Finn, I set this as a P1 as you're assigned to this but feel free to change if needed!

Priority: -- → P1
Assignee: fterdal → nobody
Priority: P1 → P3

(In reply to Sarah Chung [:sachung] from comment #2)

Hey Finn, I set this as a P1 as you're assigned to this but feel free to change if needed!

Thanks for the reminder! The team discussed this bug and decided to de-prioritize it since it's part of a larger import project. I've marked it P3 and unassigned myself for now to reflect that change.

Blocks: 2080893
No longer blocks: 2069983
Component: Messaging System → Migration

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.

Priority: P3 → --

Asking the user to select a file is the best we can do at this time. As of macOS 27, Apple blocks apps from accessing data from other apps, which means Firefox can't access browser data from Chrome or Safari, etc.

Yes, that's correct - the file picker essentially communicates to the OS that the user has granted access to read the other browser's data - otherwise, we're prevented from reading it in.

I'm not sure if macOS has any other pathways for applications to request this permission. Maybe spohl knows?

Severity: -- → S4
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P3

Yes, as far as I know based on my investigations into this topic so far, the file picker is the only "reasonable" way to achieve this. I think this bug is either "worksforme", "invalid" or "wontfix", since we don't have an "impossible to fix".

Flags: needinfo?(spohl.mozilla.bugs)
See Also: → 2096052

I re-tested this on macOS 27.0.1 with Nightly 162 (Nov 8 build) on a fresh profile.

It looks like the build in the screen recording already had the bug 2078922 fixes. The grant screen showed the "Select Continue" / "choose Open" steps. So what was captured there is the current design. Each Chromium browser asks for access to its own folder before it can import.

In my test the grant step was two clicks (Continue, then Open). The picker opened inside Chrome's folder, and the import finished (bookmarks, history, extensions, form history). The macOS system log showed no blocked reads by Nightly before access was granted.

So I agree with comment 6 and think that this should probably be resolved as WONTFIX. The friction that's left is mostly earlier. The wizard preselected Safari and listed Chrome third, which bug 2096052 covers. The new folder-access event there should tell us whether people still drop off at this step.

spohl, I have one more question here. After a successful import, the "Google Chrome" toggle under Nightly in Files & Folders stayed off. And in bug 2068462 comment 5, Firefox still asked for access even with the toggle on. Is there a way for Firefox to skip the grant screen when macOS already allows the read, or to keep the grant after a restart? That would cover repeat imports and the login-page import suggestion.

Flags: needinfo?(spohl.mozilla.bugs)

(In reply to Ray Fambro from comment #7)

spohl, I have one more question here. After a successful import, the "Google Chrome" toggle under Nightly in Files & Folders stayed off. And in bug 2068462 comment 5, Firefox still asked for access even with the toggle on. Is there a way for Firefox to skip the grant screen when macOS already allows the read, or to keep the grant after a restart? That would cover repeat imports and the login-page import suggestion.

I looked at both of these while working on bug 2078922, and I'd prefer not to do either for now:

  • Skipping the grant screen when macOS already allows the read: as far as I can tell, macOS doesn't offer a way to ask whether we have access to another app's data without actually reading it. A read that macOS blocks is what caused the "Data Access Blocked" notification in bug 2078922, which is why Firefox no longer touches Chrome's folder until the user selects it. The "Google Chrome" switch in "Files & Folders" may be on, as in bug 2068462 comment 5, but the only way to find out would be to try the read, and when the switch is off or missing we'd be back to showing that notification.
  • Keeping the grant after a restart: we haven't been able to confirm that the access from the file picker survives a restart, or that there's a supported way to keep it for an app like Firefox that isn't sandboxed. Your observation that the switch stayed off after the import suggests the picker access isn't stored the same way as the switch. If we relied on it and it turned out not to persist, the next read would again trigger the notification.

If Apple adds a way to check this permission without reading, that would change things. Until then, the event from bug 2096052 should tell us whether the grant step is where people drop off.

Flags: needinfo?(spohl.mozilla.bugs)

(In reply to Stephen A Pohl [:spohl] from comment #8)

Thanks Stephen, agreed on both. Daniel, since you filed this one, I'll leave closing it to you.

Flags: needinfo?(dwatson)
You need to log in before you can comment on or make changes to this bug.