Project

General

Profile

Actions

Bug #16951

closed

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

Added by Peter Amstutz about 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-
Release relationship:
Auto

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.


Files

refresh-button-project-listing.mov (6.3 MB) refresh-button-project-listing.mov Lucas Di Pentima, 01/19/2022 08:09 PM

Subtasks 1 (0 open1 closed)

Task #16963: Review 16951-Can-refresh-listing-when-opening-context-menu-resulting-in-wrong-item-being-operated-onClosedLucas Di Pentima01/18/2022Actions

Related issues

Related to Arvados - Bug #18207: Workbench2 is not clearing the project content when switchingResolvedDaniel Kutyła11/04/2021Actions
Related to Arvados - Bug #18769: Test & confirm no stale data or flickering during data table refreshesResolvedLucas Di Pentima02/17/2022Actions
Actions

Also available in: Atom PDF