Open reimer-atb opened 4 years ago
Confirmed. The reason for this is that the code tries to close the window once the bookmark is created. Firefox Containers forces the window to be opened in a tab, however, which cannot be closed programmatically. So, the best solution, IMO, would be to also display a success message, so the user is not left hanging in the balance.
the code for the bookmarklet is here: https://github.com/nextcloud/bookmarks/blob/master/src/components/ViewBookmarklet.vue#L153
Describe the bug
To Reproduce Steps to reproduce the behavior:
Bookmarklet
to add a new bookmark for "some other page"Save
If you try to bookmark a page that is open in the same container "A" as your Nextcloud instance, then the Nextcloud login page and "Add bookmark" page will appear in a popup instead of a full-sized tab. After clicking save, the popup is automatically closed.
Expected behavior After bookmark was successfully saved the user should be redirected to the Bookmarks App's page and see her new bookmark listed there. Or if that is not the intended behaviour of the "Add bookmark" page then maybe just close the page.
Screenshots
Desktop (please complete the following information):
Server (please complete the following information):
Additional context Add any other context about the problem here.
Web server error log
Nextcloud log (nextcloud/data/nextcloud.log)
Browser log