-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target Editor UI freeze / taking very long when refresh a target file #1523
Labels
Comments
laeubi
added a commit
to laeubi/eclipse.pde
that referenced
this issue
Dec 20, 2024
A target refresh operation is currently run in the UI thread as it probably in the past where considered a fast operation. At least with P2 Updatesites this is no longer the case and we can'T really make any valid assumptions on how other implementation might perform. This now schedule the work into a background job and also cleanup the code to reflect current code base. In addition to that, if a job is already running, the user is asked to cancel it before perform other actions. Fix eclipse-pde#1523
laeubi
added a commit
to laeubi/eclipse.pde
that referenced
this issue
Dec 20, 2024
A target refresh operation is currently run in the UI thread as it probably in the past where considered a fast operation. At least with P2 Updatesites this is no longer the case and we can'T really make any valid assumptions on how other implementation might perform. This now schedule the work into a background job and also cleanup the code to reflect current code base. In addition to that, if a job is already running, the user is asked to cancel it before perform other actions. Fix eclipse-pde#1523
laeubi
added a commit
to laeubi/eclipse.pde
that referenced
this issue
Dec 20, 2024
A target refresh operation is currently run in the UI thread as it probably in the past where considered a fast operation. At least with P2 Updatesites this is no longer the case and we can'T really make any valid assumptions on how other implementation might perform. This now schedule the work into a background job and also cleanup the code to reflect current code base. In addition to that, if a job is already running, the user is asked to cancel it before perform other actions. Fix eclipse-pde#1523
laeubi
added a commit
that referenced
this issue
Dec 20, 2024
A target refresh operation is currently run in the UI thread as it probably in the past where considered a fast operation. At least with P2 Updatesites this is no longer the case and we can'T really make any valid assumptions on how other implementation might perform. This now schedule the work into a background job and also cleanup the code to reflect current code base. In addition to that, if a job is already running, the user is asked to cancel it before perform other actions. Fix #1523
Great! Thanks a lot @laeubi . |
I tried it with the last nightly build and now the refresh button works as expected and there is no ui freeze anymore. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added an example test.zip file which is somehow similar to our internal target file, just for the sake of reproducing the described problem.
Originally posted by @phermsdorf in #1513 (reply in thread)
The text was updated successfully, but these errors were encountered: