Page MenuHomePhabricator

Items sometimes repeat in the Search and Item dropdowns
Open, Needs TriagePublicBUG REPORT

Description

The listing of items sometimes repeats in the dropdowns.

I haven't been able to reliably reproduce or understand when/why it is happening. The issue comes and goes but seems to happen at times when the UI feels "sluggish" or slow.

EDIT: Judging from my own screenshots it looks like the repeating starts after 7 items ?

Might look like this in search:

Might look like this in the Item selector:

Event Timeline

@Gehel @dcausse Could you have a look at this and see if you can reproduce? Thanks!

Moebeus updated the task description. (Show Details)

@Moebeus thanks for the report, do you know if the duplicates appear after clicking more to display the remaining results or directly?
If they appear directly could you check by scrolling down if all the first 7 results are duplicated?
By default only 7 items are searched and shown, more can be displayed only if you hit the more button.

@Moebeus thanks for the report, do you know if the duplicates appear after clicking more to display the remaining results or directly?
If they appear directly could you check by scrolling down if all the first 7 results are duplicated?
By default only 7 items are searched and shown, more can be displayed only if you hit the more button.

Ah, the plot thickens :) No, this did not happen after clicking "more". BUT! In trying to reproduce just now I noticed something strange. For a split second 7 items render followed by "more" (as one would expect), before 7 duplicates are then inserted, pushing the "more" down accordingly:

Another weird behavior is that you can expand the 7 results without asking for more:

Steps to reproduce:

  • copy "te" into your paste buffer
  • enter the search widget
  • paste and wait for the 7 results to be suggested
  • delete the search box (e.g. hitting Ctrl-Backspace)
  • do not wait for the search box to refresh and rapidly paste again "te"
  • it should expand more results instead of displaying the same 7 results
  • repeat this operation 8 times it will cycle again and reset to the 7 initial results

I could not reproduce the duplicates but it seems to me that the UI behaves differently depending on the timing of the actions you take.

note: same outcome can be obtained if you rapidly add and delete a letter to you search string.

Can you replicate on different skins?
cc: @ovasileva in case it's relevant to desktop refresh