Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » USS client usability(USS client usability)
USS client usability [message #1801930] Tue, 29 January 2019 15:18 Go to next message
Dmitry Zagrebaev is currently offline Dmitry ZagrebaevFriend
Messages: 5
Registered: January 2019
Junior Member
Please explain a few questions

1.Why does the USS not synchronize the settings when the IDE starts, even if the user has allowed it?

2. Why does USS synchronize settings only after clicking Window -> Preferences -> Oomph -> Setup Tasks -> Preference Synchronizer -> Synchronize Now ... ?

3. Why USS does not synchronize settings if there is an active Oomph task in the lower right corner of the screen?

4. Please describe how you see the working scenario of using USS by Eclipse user. Because we are testing USS client usage and dont understand how to use it correctly. We expect that user settings will be synchronized when you start the Eclipse IDE, when you press the Help -> Perform Setup Tasks key. But synchronization does not occur during the above described actions.
Re: USS client usability [message #1802047 is a reply to message #1801930] Thu, 31 January 2019 10:56 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
It's quite long ago that I was concerned with preference synchronization and at that time all the requirements (especially the higher level user workflows) were provided by the Eclipse Foundation.

Quote:
1.Why does the USS not synchronize the settings when the IDE starts, even if the user has allowed it?


I don't think that's generally true. In SetupUIPlugin.performStartup() I see the following code almost right at the beginning:

    if (SynchronizerManager.Availability.AVAILABLE)
    {
      try
      {
        synchronizationController = SynchronizerManager.INSTANCE.startSynchronization(false, false, false);
      }
      catch (Exception ex)
      {
        INSTANCE.log(ex);
      }
    }


Perhaps you can remote debug your startup and check whether SynchronizerManager.Availability.AVAILABLE is true and whether the returned synchronizationController is not null?

If I recall correctly all requirements of the Eclipse Foundation followed the prime directive "Never interrupt the user when she might be doing other things". In this case that means, if there are sync conflicts at startup time, don't bother the user.

Quote:
2. Why does USS synchronize settings only after clicking Window -> Preferences -> Oomph -> Setup Tasks -> Preference Synchronizer -> Synchronize Now ... ?


What makes this question different from question 1?

Here's the call hierarchy of SynchronizerManager.startSynchronization():

org.eclipse.oomph.setup.ui.synchronizer.SynchronizerManager.startSynchronization(boolean, boolean, boolean)
    org.eclipse.oomph.setup.ui.SetupUIPlugin.performStartup(IWorkbench, IProgressMonitor)
    org.eclipse.oomph.setup.ui.synchronizer.SynchronizerManager.synchronize(boolean, boolean, boolean)
        org.eclipse.oomph.setup.ui.synchronizer.SynchronizerManager.performFullSynchronization()
        org.eclipse.oomph.setup.presentation.handlers.PerformHandler.run()


As you can see, synchronization is triggered in three places:

1. Startup perform (see question 1)
2. "Synchronize Now ..." action (full sync, i.e., possibly with conflict resolution dialog)
3. "Perform Setup Tasks..." action (see question 3)

Quote:
3. Why USS does not synchronize settings if there is an active Oomph task in the lower right corner of the screen?


I think it generally does. See my previous answer.

Quote:
4. [...] We expect that user settings will be synchronized when you start the Eclipse IDE, when you press the Help -> Perform Setup Tasks key. But synchronization does not occur during the above described actions.


I have the feeling that your expectations are correct. It's probably best to use the (remote) debugger to find out what's going wrong in your case.


Previous Topic:Custom setup task dependencies problem
Next Topic:Oomph silent installation? How to?
Goto Forum:
  


Current Time: Fri Apr 26 09:56:58 GMT 2024

Powered by FUDForum. Page generated in 0.02904 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top