Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320978 - provide a way to refresh attributes in query dialog without blocking the UI
Summary: provide a way to refresh attributes in query dialog without blocking the UI
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2010-07-27 02:33 EDT by Ankur Sharma CLA
Modified: 2011-04-05 14:45 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ankur Sharma CLA 2010-07-27 02:33:04 EDT
I use Mylyn with Eclipse SDK (latest I-Build) and it keeps forgetting the attributes (like 3.7 Mx entries from the Milestone list). Clicking the 'Update Attributes from Repository' on the Query Form block the UI for good 5 minutes for me. Needless to say this is very inconvenient.
Comment 1 Steffen Pingel CLA 2010-07-27 13:16:12 EDT
On what repository did you observe this? Did you see the progress indicator in the dialog? Were you able to cancel?
Comment 2 Ankur Sharma CLA 2010-07-27 13:33:22 EDT
repository: bugs.eclipse.org
I was able to cancel but that too took a while. I would prefer it to refresh in background.

possible reason: Slow internet connection that moment.

I am OK if it takes long but it should not hold the UI until it completes. May be we can make the query dialog non-modal. Or some way to refresh the attributes in a background job.
Comment 3 Steffen Pingel CLA 2010-07-27 14:19:51 EDT
The repository configuration attributes are regularly refreshed in the background. If you want to manually trigger a refresh in the background you can use the popup menu in the Task Repositories view. 

Note that bugs.eclipse.org mirrors the configuration which can sometimes cause a delay when new values are added to the configuration: http://wiki.eclipse.org/index.php/Mylyn_FAQ#Why_are_my_updated_repository_attributes_not_showing_up.3F . In your case it sounds like you keep getting a stale configuration which causes values to get lost. 

If you go to https://bugs.eclipse.org/bugs/config.cgi in a browser, where does that redirect you? Do you have any Mylyn extensions such as Tasktop installed?
Comment 4 Steffen Pingel CLA 2010-07-27 14:23:43 EDT
*** Bug 321054 has been marked as a duplicate of this bug. ***
Comment 5 Ankur Sharma CLA 2010-07-27 14:30:58 EDT
I had opened another Bug 321054 for attribute problem. It is understandable
that new attributes takes a while to get replicated. But here I have them and
after I update to next I-build, some of them are gone! and unfortunately they
are the ones I need.

The link https://bugs.eclipse.org/bugs/config.cgi redirects me to
http://d2u376ub0heus3.cloudfront.net/arch/config.xml

I do not have any extension installed. Only these two features
  Mylyn Connector: Bugzilla    3.4.0.v20100608-0100-e3x   
org.eclipse.mylyn.bugzilla_feature.feature.group
  Mylyn Task List (Required)    3.4.0.v20100608-0100-e3x   
org.eclipse.mylyn_feature.feature.group

This particular bug is more about not being able to work while the modal dialog
refreshes the attributes (which in my case is slow).

I am reopening Bug 321054 to track the attribute refresh issue while this one to blocked UI problem. I believe both the problems are quite different.
Comment 6 Steffen Pingel CLA 2011-04-05 14:45:40 EDT
I don't see any simple way to run the refreshing of attributes in the background since  the query dialog is currently modal. I understand that this an annoyance particularly if the refresh takes a long time, e.g. for Bugzilla repositories with many products. I am open to  improving the UI interaction if anyone has good suggestions how to design the workflow.
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