Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

long hang on Firefox import #4879

Closed
asadotzler opened this issue Oct 18, 2016 · 13 comments · Fixed by #5531 or #5587
Closed

long hang on Firefox import #4879

asadotzler opened this issue Oct 18, 2016 · 13 comments · Fixed by #5531 or #5587

Comments

@asadotzler
Copy link

asadotzler commented Oct 18, 2016

Did you search for similar issues before submitting this one? Yes

Describe the issue you encountered: Importing Firefox data (history, bookmarks, and cookies) hung the Brave app for a good 30 seconds. Windows reported Brave as "(Not Responding)" for the duration.

Expected behavior: Brave shouldn't hang. Also a progress indicator of some sort would be helpful if it's gonna take that long.

  • Platform (Win7, 8, 10? macOS? Linux distro?): Win10
  • Brave Version: 0.12.4
  • Steps to reproduce:
    1. visit settings and import all types data from Firefox
    2. notice brave become unresponsive
    3. check task manager and see Not Responding for about 30 seconds
  • Screenshot if needed:
  • Any related issues: why no import passwords?

Test Plan:

Performance:

  1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
    toolbar)
  2. The process should finish instantly
  3. Delete Import from XXX folder
  4. The process should finish instantly

Migration:

  1. Make sure session-store-1 contains the sites data before 0.12.10
  2. Lauch Brave and Close
  3. sites of session-store-1 should change from [] tp {}
@bbondy
Copy link
Member

bbondy commented Oct 18, 2016

/cc @darkdh

@polarity
Copy link

I have the same issue on OS X 10.10.5 with Brave 0.12.5. Brave hangs on Firefox import, never finishes and i have to kill the instance. Also nothing happened after reopening brave.

@bbondy
Copy link
Member

bbondy commented Oct 22, 2016

@darkdh could we perhaps do things more async so it doesn't seem like a hang and maybe add a font-awesome animation like:

<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
<span class="sr-only">Loading...</span>

@bbondy bbondy added this to the 0.12.8dev milestone Oct 22, 2016
@darkdh darkdh self-assigned this Oct 22, 2016
@jkup
Copy link
Contributor

jkup commented Oct 27, 2016

I have a support ticket where a user (Win10 x64) has waited 30+ minutes without import finishing. Is this likely the same problem or something different?

@darkdh
Copy link
Member

darkdh commented Oct 28, 2016

@jkup , did user import from firefox? and what option did user choose? (history/bookmarks/cookies )

@jkup
Copy link
Contributor

jkup commented Oct 28, 2016

Yes and bookmarks

@bbondy
Copy link
Member

bbondy commented Oct 28, 2016

I can repro too w/ firefox imports but not chrome imports.

@darkdh darkdh modified the milestones: 0.12.9dev, 0.12.8dev Oct 31, 2016
@alexwykoff
Copy link
Contributor

I've repro'd with Chrome and large exported bookmarks files as well. There is no system status on import progress.

@darkdh darkdh modified the milestones: 0.12.10 release , 0.12.9dev Nov 8, 2016
darkdh added a commit that referenced this issue Nov 10, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
1. Import bulk bookmarks (4000+) from other browsers
2. The process should finish instantly
darkdh added a commit that referenced this issue Nov 10, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
@jaredbeck
Copy link

I encountered this issue on my first day of trying Brave. (Became unresponsive [beachball] and had to force quit.) Switching browsers without importing bookmarks and cookies is too big of a hurdle, so this is a blocker for me using Brave at all. Though negative, I hope this feedback is helpful! I'll try Brave in a few more months when it's more mature. Keep up the good work.

cezaraugusto pushed a commit that referenced this issue Nov 11, 2016
* Change sites from List to Map

fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}

* Address @bsclifton's feedback

* Apply changes to aboutNewTabState

* - Added migration for newtab data (and tested manually several times)
- Updated tests to be using/expecting a map (not a list)
- Updated siteUtil to return empty map where appropriate (instead of empty array)
- Removed unused method in siteUtil
- Extra error handling in siteUtil.updateSiteFavicon
- Added back some of the missing tests for updateSiteFavicon
- Update newtab > getUnpinned() to use slice (since it's a map)

Auditors: @darkdh, @cezaraugusto

* removed tags (not needed)
@bbondy bbondy reopened this Nov 12, 2016
@bbondy
Copy link
Member

bbondy commented Nov 12, 2016

Reverted due to automated test problems, and some other problems described in the PR that was reverted.

darkdh added a commit that referenced this issue Nov 14, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
@bbondy bbondy modified the milestones: 0.12.11, 0.12.10 release , 1.0.0, 0.13.2 Nov 15, 2016
darkdh added a commit that referenced this issue Dec 6, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Dec 6, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Dec 6, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Dec 7, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
@darkdh darkdh modified the milestones: 0.13.1, 0.13.2 Dec 15, 2016
darkdh added a commit that referenced this issue Dec 21, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Dec 21, 2016
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Jan 15, 2017
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Jan 15, 2017
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Jan 15, 2017
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
darkdh added a commit that referenced this issue Jan 15, 2017
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
@nik9t
Copy link

nik9t commented Jan 18, 2017

same issue - Brave hangs on import of Firefox data - only option being to force quit. 3 attempts and sadly have to walk away from Brave until there is a solution to this problem

@luixxiul
Copy link
Contributor

@nik9t it'll be solved in 0.13.1

@nik9t
Copy link

nik9t commented Jan 18, 2017 via email

darkdh added a commit that referenced this issue Jan 26, 2017
fix #4879

Auditors: @bbondy, @bsclifton, @cezaraugusto

Test Plan:
Performance:
1. Import bulk bookmarks (4000+) from other browsers (Don't merge into
                                                      toolbar)
2. The process should finish instantly
3. Delete Import from XXX folder
4. The process should finish instantly

Migration:
1. Make sure session-store-1 contains the sites data before 0.12.10
2. Lauch Brave and Close
3. sites of session-store-1 should change from [] tp {}
bbondy added a commit that referenced this issue Jan 29, 2017
When old site didn't exist it would error early and not import anything on the undefined.get()  access.

Related to #4879

Auditors: @darkdh
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.