Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 395613

Summary: [Operations] Operations spinning wheel shown when it should not
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: malgorzata.tomczyk, simon_kaegi
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Szymon Brandys CLA 2012-12-03 10:42:41 EST
Steps:

1) I have orion.eclipse.org and my local Orion
2) the taskService from local Orion is intalled into orion.eclipse.org
3) Trigger a long running op on local Orion
4) Switch to the navigator page on orion.eclipse.org and refresh it
5) If you are lucky ;) you will see that the operations wheel is spinning
6) Click it and you will see the ops from the local Orion

This is wrong, since we say that a page can monitor only ops triggered by the page. See the incoming screenshot.

However sometimes it may have sense to see ops triggered in other places. Imagine this:

1) I have orion.eclipse.org and my local Orion
2) I install fileSystem from local into orion.eclipse.org
3) Go to orion.eclpse.org navigator and navigate to the remote files
4) If there are remote operations modifying folders, files, eg. repository operations (git clone, pull whatever) I would like to see an indicator. It could be something next to the filesystem item (in Places)

Thought?
Comment 1 Szymon Brandys CLA 2012-12-03 10:52:05 EST
Created attachment 224218 [details]
Screenshot

The navigator page shows operations triggered by another page.
Comment 2 Malgorzata Janczarska CLA 2012-12-04 06:00:53 EST
Generally when Bug 395260 is resolved the background operations should not be shown under the spinning weal. However I talked to Szymon and we both agree that in some situations we would like to see on the current page operations that are running in background.
We talked that we could use a similar idea we used in related pages. If operations would "know" the resource on which it's performed we could use this knowledge to list operations related to the current resource on the page. For instance when we open a folder in navigator that has GitCloneLocation we could use the GitCloneLocation to check if there are any operations running on this git clone. This way in the navigator we could display information that Git Clone on the current folder is now running.
Comment 3 John Arthorne CLA 2015-05-05 14:48:43 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html