Closed Bug 1756382 Opened 3 years ago Closed 3 years ago

Moving multiple bookmarks multiple times in a folder causes an inconsistency between the database and the frontend

Categories

(Firefox :: Bookmarks & History, defect)

Firefox 97
defect

Tracking

()

RESOLVED DUPLICATE of bug 1557853

People

(Reporter: jteow, Unassigned)

Details

Steps to Reproduce

  1. Open the bookmarks sidebar.
  2. Select multiple bookmarks.
  3. Drag and drop the same selection multiple times to change their position in the list.

Actual Results
The selected bookmarks will look like they no longer changed position in the same folder unless the user restarts Firefox or opens and closes the Bookmark Sidebar, whereby they'll see the update. Even though visually it looks like nothing changed, the database does actually move the bookmarks to different positions.

Expected Results
The selected bookmarks should be able to move position regardless of how many times the user moves the same selection in a list.

Video of the behaviour

I suspect it may have something to do with a syncing issue between the database and code in toolkit/components/places/Bookmarks.jsm that is simulating changes of the index positions in JS to avoid calling the database.

Summary: Moving multiple bookmarks multiple times results in an inability to move the bookmarks → Moving multiple bookmarks multiple times results in a folder causes an inconsistency between the database and the frontend
Summary: Moving multiple bookmarks multiple times results in a folder causes an inconsistency between the database and the frontend → Moving multiple bookmarks multiple times in a folder causes an inconsistency between the database and the frontend

This is most likely bug 1557853, where we get the positions wrong. Unfortunately that isn't an easy issue to solve.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.