Page MenuHomePhabricator

Completion widgets can contain a flicker of past results when reopening
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue:

  • Use an autocomplete widget (\ or @)
  • Find something
  • Close the widget, then open another instance of the widget

What happens?:
There can be a momentary flicker of the previous invocation's results, particularly if getSuggestions is slow and async

What should have happened instead?:
Initially empty menu every time

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change #1311569 had a related patch set uploaded (by DLynch; author: DLynch):

[VisualEditor/VisualEditor@master] ui.CompletionWidget: avoid flicker of previous results on reopen

https://gerrit.wikimedia.org/r/1311569

Test wiki created on Patch demo by DLynch (WMF) using patch(es) linked to this task:
https://538d6868b8.catalyst.wmcloud.org/w/

Test wiki created on Patch demo by DLynch (WMF) using patch(es) linked to this task:
https://395d77c269.catalyst.wmcloud.org/w/

Test wiki on Patch demo by DLynch (WMF) using patch(es) linked to this task was deleted:

https://538d6868b8.catalyst.wmcloud.org/w/

Change #1311569 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] ui.CompletionWidget: avoid flicker of previous results on reopen

https://gerrit.wikimedia.org/r/1311569

DLynch added a project: Skipped QA.

Testing of this will effectively be rolled into feedback on T432400.

Change #1312555 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (64f0786ec)

https://gerrit.wikimedia.org/r/1312555

Change #1312555 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (64f0786ec)

https://gerrit.wikimedia.org/r/1312555