Open Bug 1870439 Opened 2 years ago Updated 2 years ago

bookmark link' location is not remebered

Categories

(Firefox :: Bookmarks & History, defect, P5)

defect

Tracking

()

People

(Reporter: jackyzy823, Unassigned)

References

Details

Step to reproduce:

  1. Bookmark a page with star button into Folder "A"
  2. Bookmark a link with context menu -> "Bookmark Link" , (Currently Location shows Folder "A") , into Folder "B"
  3. Bookmark another link with context menu -> "Bookmark Link" , Current Location still shows Folder "A". It should show Folder "B"

Expect:
The location is updated when changing folder an saving within "Bookmark Link" UI

Actual:
The location is not updated.


Some digging:
The location is remebered in pref “browser.bookmarks.defaultLocation" .
The pref is only changed in 2 places. 1) The popuphidden event of StarUI https://searchfox.org/mozilla-central/source/browser/base/content/browser-places.js#302,310 https://searchfox.org/mozilla-central/source/browser/base/content/browser-places.js#85,179,302,310 2) bookmark-removed event https://searchfox.org/mozilla-central/source/browser/base/content/browser-places.js#85,179,302,310,2069

I'm not sure about the bookmark mechanism . I think the pref should also be updated when bookmark-added ( instead of popuphidden )

I think that only the star panel stores and reuses the last location.

Severity: -- → S3
Priority: -- → P5
See Also: → 1425290
You need to log in before you can comment on or make changes to this bug.