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

Bug 76086

Summary: [Operations] No user feedback on replace with
Product: [Eclipse Project] Platform Reporter: Kent Johnson <kent_johnson>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 Keywords: helpwanted
Version: 3.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Kent Johnson CLA 2004-10-12 11:33:09 EDT
3.0.1

I started up my 3.0.1 maintenance workspace (which I seldom use) & tried to 
replace 5 projects (jdt core + tests) with a new branch.

There was no user feedback while you computed whether I had outgoing changes. 
This took quite a while.
Comment 1 Michael Valenta CLA 2004-10-12 15:36:21 EDT
In turns out we do show a busy cursor in the replace with operation. Are you 
sure you had no feedback at all? If this is true, it either happened before 
our code was run (perhaps during classloading for the CVS plugin) or there was 
a failure to show the busy cursor.

This operation can take a while but in most cases it does not. For this 
reason, I hesitate to show a progress dialog all the time. We could use the 
IProgressService API to show a delayed progress dialog but we would need to 
refactor the code a bit to ensure that prompting does not occur inside the 
runnable passed to the progress service as this can cause deadlock on some 
platforms.
Comment 2 Kent Johnson CLA 2004-10-12 16:17:59 EDT
There may have been a busy cursor but that's useless when something can take 
over a minute to execute... especially when you expect an immediate prompt to 
let you choose the version to replace.

Instead of asking the user if you can replace his changes, why not always make 
him confirm that this operation will replace his changes?

That way you don't waste time finding out if he has any changes in the first 
place.
Comment 3 Michael Valenta CLA 2004-10-12 16:26:18 EDT
Regarding comment #2, because we used to do that and got plenty of bug reports 
requesting to get prompted only when there were really outgoing changes. 
However, It may be possible to defer the checking until we are traversing the 
file system to purge any dirty resources before the replace. This part is done 
in the background so would not block the user until the prompt occurred.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:30:15 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-10-19 11:04:12 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.