Bug 1021312

Summary: Refresh on currently viewed gadget
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Catherine Robson <crobson>
Component: RT GovernanceAssignee: Eric Wittmann <eric.wittmann>
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Vano <avano>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: ldimaggi, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Catherine Robson 2013-10-21 03:36:29 UTC
Description of problem:
When the user is working with a gadget (changing the settings, trying to look into the details of the current data being displayed, etc), if the gadget reaches its refresh time it resets the gadget and interrupts the user's current actions.

Recommended solution:
'Pause' the refresh of a widget while the user is working with it - either by manipulating the settings or clicking into details of a certain dataset.

Comment 2 Eric Wittmann 2013-10-23 15:53:31 UTC
Ok I fixed a very specific problem, which was that the preferences of the Response Time gadget get updated while the user is modifying them.  Specifically, the contents of the select boxes could get replaced due to an auto-refresh.  This has been fixed - the auto-refresh will not update the select boxes if they are visible.

However, as a general problem in the gadget server I don't see a way to fix the auto-refresh side effects.  In other words, I don't know how we might generically handle all possible variants of this problem.  In fact, the auto-refresh behavior is not a general feature of the gadget server.  Each gadget implements this functionality.

Additionally, when to update and when *not* to update will need to be decided by each gadget.  There is no generic way to know that the user is currently in a state where they don't want their display updated automatically.

For specific gadgets we would need to explore specific use-cases and address them individually.

Comment 3 Andrej Vano 2013-12-13 08:23:33 UTC
Hello,

everything works as expected in ER7-2