Closed Bug 1800208 Opened 2 years ago Closed 1 year ago

Bookmark Sort by Name doesn't sort correctly

Categories

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

Firefox 106
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fatotaku, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

Create a folder on the Bookmark toolbar
Add a large number of bookmarks (50+)
Right Click on the folder on the Bookmark toolbar
Click Sort by Name

Actual results:

Some entries were out of place (random).

Let's say you have 5 bookmarks named:

  • eee
  • ddd
  • bbb
  • aaa
  • ccc

After sorting, you'd expect the following:

  • aaa
  • bbb
  • ccc
  • ddd
  • eee

However, what actually happens is that "sometimes" a few are out of place. i.e.

  • aaa
  • ccc
  • ddd
  • bbb
  • eee
    So bbb was out of place.

When resorting this, it may not fix it entirely - since the behaviour seems to be random, resulting in a different entry being in the wrong place:

  • aaa
  • ccc
  • bbb
  • ddd
  • eee
    Now ccc is out of place.

Expected results:

All entries should have been in the right place.

The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Bookmarks & History

Could you please run Integrity Check in about:support Places Database section, then try again?
I wonder if there's some indices corruption that would be fixed by an integrity check.

Also, do you have Sync enabled to sync bookmarks across devices?

Flags: needinfo?(fatotaku)

I also tried to reproduce this issue on a Windows 10 machine with Firefox Release, Beta and our latest Nightly build but Sorting works correctly on my end.
Fatotaku are you signed in to multiple devices ?

Hi guys, sorry for late reply. Yes, signed into multiple devices with sync enabled for bookmarks. Forgot to mention this as i didn't think it significant.

Flags: needinfo?(fatotaku)

Also, I followed Marco's instruction to run the Integrity Check, and I haven't been able to reproduce this issue since (only been about 5 sorts so far so inconclusive at this stage, since it was occurring randomly, with random wrong entries).

So after a few days of "working fine (aka didn't notice the wrong sorted entry in a list of 100+ bookmarks)", it happened again.
Given wrong item seems completely random, "working after integrity check" may have been coincidental, or that I'd just missed it given how long the list is.
Running another check to monitor for next few days.

I have a patch in bug 1556010 that may help

Severity: -- → S3
Priority: -- → P3

Hi @fatotaku since the patch for bug 1556010 landed a while ago are you still seeing this issue on your end in our latest builds ?

Flags: needinfo?(fatotaku)

(In reply to Rares Doghi from comment #8)

Hi @fatotaku since the patch for bug 1556010 landed a while ago are you still seeing this issue on your end in our latest builds ?

I'm not sure about bug 1556010, but it was reproduceable 2 days ago (before installing FF 109.0), and I haven't seen it occur since installing FF 109.0. However, given the random nature, I can't conclusively confirm whether it's fixed yet... so will give it a week and if it doesn't occur during the week, will resolve this ticket as fixed.

Flags: needinfo?(fatotaku)

Closing as WorksForMe, if it reoccurs please reopen this issue.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.