Closed Bug 1616460 Opened 4 years ago Closed 4 years ago

bookmarks tree view can cause bookmarks to be moved even when it's not visible

Categories

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

defect
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 75
Iteration:
75.2 - Feb 24 - Mar 8
Tracking Status
firefox75 --- fixed

People

(Reporter: markh, Assigned: mak)

References

Details

Attachments

(1 file)

Bug 1605881 worked around the 1 case where we know for sure that unexpected bookmark moves where happening, but the core issue remains and this could theoretically happen in other scenarios due to a fundamental issue in the bookmark tree view. See bug 1605881 comment 10 for a detailed description of what's wrong and what can be done to fix it.

I think this is important, also from a perf point of view

Priority: -- → P1

Let me sup up what we should do:

  1. when the tree is hidden, bailout of onFolderTreeSelect
  2. if possible, distinguish selections made by the user from automated selections made by us, bailout of onFolderTreeSelect for non-user-activated selections. This may be tricky, we should somehow know if the even causing the select was a MouseEvent or KeyboardEvent.
  3. when we hide/show the tree, create/destroy the result, every time. It's pointless to have it always alive, when editing a bookmark from the star panel is not a common operation
Assignee: nobody → mak
Status: NEW → ASSIGNED
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/99e2bc58d9c3
Star panel tree view can move bookmarks even when it's not visible. r=Standard8
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
Iteration: --- → 75.2 - Feb 24 - Mar 8
Points: --- → 2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: