Closed Bug 1192998 Opened 9 years ago Closed 9 years ago

First time use of ShareTo extension prior to browser launch silently fails

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
fxios 1.1+ ---

People

(Reporter: aaronmt, Unassigned)

Details

(Keywords: reproducible, Whiteboard: [needs logs])

Install Aurora #29, launch Twitter, Share a tweet via Fennec Aurora, dialog never pops-up.

The second time however works.
First launch after install, after reboot, or a regular cold launch?

If not first launch after install, then with Sync already configured?
Flags: needinfo?(aaron.train)
Sorry terminology. This is the share window (Add to Reading List/Bookmarks).

First use after install, no launch yet. Rare for a user to know about it or use it of course but just getting this on file.
Flags: needinfo?(aaron.train)
Summary: First time use of Send-To prior to browser launch silently fails → First time use of Share Via Firefox prompt prior to browser launch silently fails
So… what happens when it 'works'? An empty list?
On second attempt at invoking the share menu, both bookmarks and reading list can be added and both do get added fine. Skipping the tour on first launch I see both items added to their corresponding lists.
Ah, Share, not Send. I was confused.
Summary: First time use of Share Via Firefox prompt prior to browser launch silently fails → First time use of ShareTo extension prior to browser launch silently fails
Whiteboard: [needs logs]
Flags: needinfo?(sarentz)
I can't repro this.
Flags: needinfo?(sarentz)
This is what I see when I install the app and immediately run the Share extension and add the current site to both Bookmarks and Reading List:

2015-08-12 10:54:05.724 [Info] [Profile.swift:176] init(localName:app:): New profile. Removing old account data.
2015-08-12 10:54:05.775 [Debug] [BrowserDB.swift:73] init(filename:secretKey:files:): Initializing BrowserDB.
2015-08-12 10:54:05.800 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update tableList version 1.
2015-08-12 10:54:05.841 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create tableList version 1
2015-08-12 10:54:05.845 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.849 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update favicons version 0.
2015-08-12 10:54:05.865 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create favicons version 0
2015-08-12 10:54:05.867 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.871 [Info] [BrowserTable.swift:73] init(version:): SQLite version: 3.8.8.3 (3008008).
2015-08-12 10:54:05.871 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update BROWSER version 7.
2015-08-12 10:54:05.890 [Debug] [BrowserDB.swift:379] tablesExist: 0 tables exist. Expected 6
2015-08-12 10:54:05.890 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create BROWSER version 7
2015-08-12 10:54:05.892 [Debug] [BrowserTable.swift:267] create(_:version:): Creating 11 tables, views, and indices.
2015-08-12 10:54:05.918 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.939 [Info] [SQLiteHistory.swift:780] onRemovedAccount(): Clearing history metadata after account removal.
2015-08-12 10:54:05.941 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.944 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.948 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update clients version 1.
2015-08-12 10:54:05.974 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create clients version 1
2015-08-12 10:54:05.981 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:05.985 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update tabs version 2.
2015-08-12 10:54:06.006 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create tabs version 2
2015-08-12 10:54:06.015 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:06.019 [Debug] [BrowserDB.swift:142] createOrUpdate: Create or update commands version 1.
2015-08-12 10:54:06.041 [Debug] [BrowserDB.swift:92] createTable(_:table:): Try create commands version 1
2015-08-12 10:54:06.048 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:06.052 [Info] [SQLiteRemoteClientsAndTabs.swift:253] onRemovedAccount(): Clearing clients and tabs after account removal.
2015-08-12 10:54:06.054 [Debug] [SwiftData.swift:126] transaction: Op in transaction succeeded. Committing.
2015-08-12 10:54:06.184 [Debug] [SQLiteBookmarks.swift:212] insertBookmark: Inserting bookmark with specified icon -1.
2015-08-12 10:54:06.197 [Debug] [SyncStateMachine.swift:50] clearStateFromPrefs: Clearing all Sync prefs.
2015-08-12 10:54:06.206 [Debug] [State.swift:331] clearFromPrefs: No key label; nothing to remove from keychain.


After that I open Firefox, dismiss the tour and then I correctly see both bookmark and reading list item.
Tested in Simulator. On device with testflight build and dev build. Works for me.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.