Bug 34462 - DirectoryDialog - "New Folder" doesn't allow rename, confusing
Summary: DirectoryDialog - "New Folder" doesn't allow rename, confusing
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2003-03-10 15:57 EST by Kevin McGuire CLA
Modified: 2016-02-20 02:43 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2003-03-10 15:57:45 EST
RC2

1. create a new project (any kind)
2. on the project location page, de-select "Use Default"
3. select "Browse"
4. in the resulting prompter, pick the D: drive and select "Make New Folder"

=> Observe 1: when the folder appears in the directory tree (as "New Folder") 
it will be highlighted so that you can just start typing to change its name

5. Select this folder and again pick "Make New Folder"

=> Observer 2: unlike above, the folder is not highlighted so you cannot 
change its name just by typing (bug #1).

=> Observe 3: if you create a folder name that sorts outside the visible area 
of the tree, the widget is not scrolled to make that item visible (bug #2)

Now the confusing part is the purpose of the text field where the selected 
folder name appears.  Changing the contents of this field seems to have no 
effect (bug #3).

For example, it does not rename the selected directory by either hitting 
return, "OK", or "Make New Folder".  It also does not make a directory by that 
name by hitting "Make New Folder".

As a workaround, to create a directory tree with the names you want, you must 
rename the folders by poping up the context menu in the directory tree and 
picking "Rename".
Comment 1 Nick Edgar CLA 2003-03-21 16:20:44 EST
Defer
Comment 2 Peter Kidson CLA 2003-04-10 08:37:21 EDT
Simpler workaround?
Just type the name of the intended subsirectory into the edit box, rather than 
proceeding via the Browse button.


Comment 3 Rob Frost CLA 2006-06-02 12:07:03 EDT
Any thoughts on when this might be targeted? thanks, Rob
Comment 4 Karice McIntyre CLA 2006-06-28 10:42:29 EDT
The first and third bugs mentioned are still problems, the second one is not.  These are all issues with SWT's DirectoryDialog.  Moving to SWT.
Comment 5 Steve Northover CLA 2006-06-28 18:53:37 EDT
We just use the platform directory dialog and are subject to the behavior is provides, warts and all.
Comment 6 Steve Northover CLA 2006-06-28 18:53:55 EDT
Please reopen if I am missing something.
Comment 7 rupert THURNER CLA 2016-02-20 02:43:00 EST
this is fixed with eclipse-4.5.1 at least