Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347423 - Restrict "Synchronize Changed" to current (task) working set
Summary: Restrict "Synchronize Changed" to current (task) working set
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 373888
Blocks:
  Show dependency tree
 
Reported: 2011-05-27 05:34 EDT by Jörg Thönnes CLA
Modified: 2012-03-11 10:44 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Thönnes CLA 2011-05-27 05:34:58 EDT
If I have several task working sets and one working set is enabled, the button / menu entry
"Synchronize changed" should be restricted to all repositories and tasks part of the current working set.

E.g. either the repository is part of the working set --> sync or for categories every task should be checked.

Could the performance impact of synchronizing all tasks belonging to a category be larger than syncing
whole repositories? In that case, the list of tasks should be used to find a list of extra repositories to query.

h1. Versions

bc. 
-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.mylyn_feature 3.5.1.v20110422-0200
Comment 1 Steffen Pingel CLA 2011-05-27 06:42:10 EDT
I have been synchronizing over mobile connections more frequently lately and have often missed better controls for synchronization. The suggested scoping to repositories/queries of the current working set seems like a good idea. Additionally I would like to be able to turn off sync on submit or open of tasks. This is not quite an offline mode as I would still like to be able to submit tasks but at times bandwidth is a scarce resource and I would like to have explicit control how it is used.
Comment 2 Jörg Thönnes CLA 2011-05-27 07:59:16 EDT
(In reply to comment #1)
> I have been synchronizing over mobile connections more frequently lately and
> have often missed better controls for synchronization. The suggested scoping to
> repositories/queries of the current working set seems like a good idea.

Will it have a chance for Mylyn 3.6?

> Additionally I would like to be able to turn off sync on submit or open of
> tasks.

I am not aware of sync on open. Do you mean to sync the task just opened?

> This is not quite an offline mode as I would still like to be able to
> submit tasks but at times bandwidth is a scarce resource and I would like to
> have explicit control how it is used.

At least, it would be good if the query setting "Sync automatically" would be honoured.
I would expect that these queries are skipped if "Sync changed" is triggered.
Shall I file a bug for this?

This is also related:

1607: IMAP Task should fetch related comments on refresh
https://tasktop.com/bugs/show_bug.cgi?id=1607
Comment 3 Steffen Pingel CLA 2011-05-27 08:12:06 EDT
(In reply to comment #2)
> Will it have a chance for Mylyn 3.6?

Unfortunately we are getting very close to the code freeze and it's not likely that we'll be able to make improvements in this area for 3.6.

> > Additionally I would like to be able to turn off sync on submit or open of
> > tasks.
> 
> I am not aware of sync on open. Do you mean to sync the task just opened?

Yes, tasks are automatically refreshed in the background on open.

> > This is not quite an offline mode as I would still like to be able to
> > submit tasks but at times bandwidth is a scarce resource and I would like to
> > have explicit control how it is used.
> 
> At least, it would be good if the query setting "Sync automatically" would be
> honoured.
> I would expect that these queries are skipped if "Sync changed" is triggered.
> Shall I file a bug for this?

We can track it here for now.
Comment 4 Jörg Thönnes CLA 2011-05-27 08:42:04 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Will it have a chance for Mylyn 3.6?
> 
> Unfortunately we are getting very close to the code freeze and it's not likely
> that we'll be able to make improvements in this area for 3.6.
> [...]
> > At least, it would be good if the query setting "Sync automatically" would be
> > honoured.
> > I would expect that these queries are skipped if "Sync changed" is triggered.
> > Shall I file a bug for this?
> 
> We can track it here for now.

OK, if you are running out of time for 3.6, then you probably split off a separate bug
this request since I guess it is easier to implement as a first improvement.
Comment 5 Thomas Ehrnhoefer CLA 2011-07-13 12:09:36 EDT
Another related requirement is for hidden queries not to be synced when invoking the sync action on the task list.
The feature I am using creates hidden queries, but I will have my own queries catching those tasks as well (I assume whatever creates hidden queries has exactly that use case in mind: hidden, because user will have it's own queries anyway). Sync Action syncs those as well, which is redundant (as whatever feature needs the hidden query will most likely manage it itself)
Comment 6 Jörg Thönnes CLA 2012-02-07 10:02:39 EST
Any progress here?

I am using 9 Workings Sets on the trim and would prefer to only update the current one.
Comment 7 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn