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

Deleting newtab added as a bookmark crashes Brave #5010

Closed
srirambv opened this issue Oct 20, 2016 · 4 comments
Closed

Deleting newtab added as a bookmark crashes Brave #5010

srirambv opened this issue Oct 20, 2016 · 4 comments

Comments

@srirambv
Copy link
Collaborator

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

Describe the issue you encountered:
While testing 4888 found adding a newtab as bookmark by removing name and path and deleting it from bookmark manager causes crash

Expected behavior:
Should not add bookmark without name and path. And should not crash when deleting bookmark from bookmark manager

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10 x64
  • Brave Version:
    0.12.6 Preview 1
  • Steps to reproduce:
    1. Open a new tab and click on the bookmark icon
    2. Remove the name and location
    3. Open bookmark manager and the newtab is shown as a bookmarked item
    4. Delete the newtab bookmark, Brave crashes
  • Screenshot if needed:
    newtabcrash
  • Any related issues:

cc: @bsclifton

@srirambv srirambv added this to the 0.12.6dev milestone Oct 20, 2016
@cezaraugusto cezaraugusto self-assigned this Oct 21, 2016
@bbondy
Copy link
Member

bbondy commented Oct 21, 2016

regression?

@srirambv
Copy link
Collaborator Author

Works fine on 0.12.5 no crash.

@alexwykoff
Copy link
Contributor

The real issue is that the door hanger doesn't have the same validations as the add bookmark modal had.

@cezaraugusto
Copy link
Contributor

cezaraugusto commented Oct 21, 2016

I couldn't reproduce it running Ubuntu. It doesn't crash but makes me unable to remove the bookmark.

IMO we should do the same way as Chrome does and disable donebutton if both title/location fields are empty. Personally I don't think someone would want to have a bookmark with no info.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants