Bug #16951

Can refresh listing when opening context menu, resulting in wrong item being operated on.

Added by Peter Amstutz 17 days ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

Observed in integration test:

Between when the right-click event happens and the context menu pops up on the project panel, it is possible for the list to be refreshed. When this happens, the wrong item may be selected.

In this integration test specifically, the sequence of events seems to be:

  1. Refresh button is clicked, refresh starts
  2. Find item in list, initial right-click event happens
  3. The refresh event completes, refreshing the list in DOM
  4. The context menu click event selects the wrong thing.

This particular test should probably wait until the refresh is completed. However, we should come up with a general approach to defer refreshing the UI unexpectedly if the user seems to be interacting with it.


Subtasks

Task #16963: ReviewNewLucas Di Pentima

History

#1 Updated by Peter Amstutz 17 days ago

  • Description updated (diff)
  • Subject changed from Can refresh listing while context menu is open, resulting in wrong item being operated on. to Can refresh listing when opening context menu, resulting in wrong item being operated on.

#2 Updated by Peter Amstutz 15 days ago

  • Assigned To set to Daniel Kutyła

#3 Updated by Peter Amstutz 1 day ago

  • Target version changed from 2020-10-21 Sprint to 2020-11-04 Sprint

Also available in: Atom PDF