Bug 2251 - [Navigator] [UI] Canceling rename due to conflict changes selection (1GEAVIG)
Summary: [Navigator] [UI] Canceling rename due to conflict changes selection (1GEAVIG)
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 98
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andrew Irvine CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2001-10-10 22:31 EDT by Nick Edgar CLA
Modified: 2003-02-07 15:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2001-10-10 22:31:54 EDT
- new basic project A
- new folder A/B
- new file A/C.txt
- rename B to C.txt
- No to overwrite prompt
- it changes the selection to C.txt

Also, the selection is grayed even though the Navigator is still active.
Looks like the tree didn't regain focus properly, perhaps due to cancelling editor.

NOTES:

NE (5/25/01 5:14:21 PM)
	Also note that when the overwrite prompt comes up, the navigator shows the old name for the resource being renamed.
	That is, it shows B where the user just changed it to C.txt.

EJP (9/24/2001 11:26:38 AM)
	We do have the overwrite prompt now but we are still changing the selection
	with 'No' is pressed.

EJP (9/24/2001 11:40:46 AM)
	The problem is in ResourcenavigatorRenameAction>>#runWithNewPath.
	It changes the selection indepedent of the result of the super.runWithNewPath.

EJP (9/24/2001 11:54:54 AM)
	Have to add API so ResourcenavigatorRenameAction knows if the operation
	was completed
Comment 1 DJ Houghton CLA 2001-10-29 18:02:34 EST
PRODUCT VERSION:
110 JDK

Comment 2 Nick Edgar CLA 2002-01-25 22:26:50 EST
Not critical.
Comment 3 Randy Giffen CLA 2002-08-08 10:05:24 EDT
Reopen for investigation
Comment 4 Kevin Haaland CLA 2002-09-03 14:46:24 EDT
Pls try in latest. 
Comment 5 Andrew Irvine CLA 2002-09-10 15:24:41 EDT
In R2.1 focus is still lost, but item is no longer greyed out. There is still 
no API letting us know if the operation completed.
Comment 6 Kevin Haaland CLA 2003-02-07 15:18:47 EST
Closing