Project

General

Profile

Fix #7017

UI: PG Status widget incomplete updates when off screen

Added by Yan-Fa Li almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Canvas and SVG elements don't update correctly when they are not visible. Hook into the re-appearance event for the dashboard and force the canvas component to update immediately once it's visible.

History

#1 Updated by Yan-Fa Li almost 8 years ago

  • Assignee set to Yan-Fa Li
  • Target version set to v1.1rc3
  • translation missing: en.field_story_points set to 1.0

#2 Updated by Yan-Fa Li almost 8 years ago

  • Status changed from New to In Progress

#3 Updated by Yan-Fa Li almost 8 years ago

The issue happens on the edge of an update. When the pg canvas is hidden, it's computed size is inaccurate. During an update the original canvas is deleted and a new one is rendered in place of the older one, but the size is taken from the canvas.

Possible solutions include deferring the update until the dashboard returns or stopping updates while hidden and forcing one when the UI reappears.

#4 Updated by Yan-Fa Li almost 8 years ago

  • Status changed from In Progress to Resolved

branch bs3-exp commit d893cf9315fa12a76585822a45bd6329fa59a272

Also available in: Atom PDF