Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350916 - [build path] "Build path entry is missing:" -> "Edit" opens in last used directory
Summary: [build path] "Build path entry is missing:" -> "Edit" opens in last used dire...
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 06:16 EDT by arne anka CLA
Modified: 2020-04-10 18:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka CLA 2011-07-01 06:16:59 EDT
after exchanging some files my project misses a build path entry.
going to the build path configuration (rmc on project -> properties -> java build path -> libraries), selecting the missing entry and hitting "edit" opens a file chooser dialog.
but the file chooser does not open in the actual directory the missing entry is supposed to be in, not even in the project nor the workspace -- but the my home folder!
this is certainly unexpected and means a lot of cklicking to get back to the folder, where the now missing file was and the replacement isfile is now.

old file lived at
WORKSPACE/PROJECT/FOLDERA/FOLDERB/FOLDERC/foo0.jar
new file lives at
WORKSPACE/PROJECT/FOLDERA/FOLDERB/FOLDERC/foo1.jar

despite file foo0.jar now being gone, WORKSPACE/PROJECT/FOLDERA/FOLDERB/FOLDERC/ still exists -- so i expect the file chooser to open in the rightmost still existing folder of the path (here WORKSPACE/PROJECT/FOLDERA/FOLDERB/FOLDERC/, but even if i removed the parent folder also, there would still be WORKSPACE/PROJECT/FOLDERA/FOLDERB/, or at least WORKSPACE/PROJECT/).

-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F
Comment 1 Dani Megert CLA 2011-07-04 09:45:28 EDT
It uses the last used directory. We could be smarter here. This probably affects all chooser dialogs on the build path page.
Comment 2 Eclipse Genie CLA 2020-04-10 18:54:17 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.