Bug 72607 - [WorkspaceLauncher] Workspace chooser does not expand ~
Summary: [WorkspaceLauncher] Workspace chooser does not expand ~
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 169385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-25 11:34 EDT by Pascal Rapicault CLA
Modified: 2020-03-23 10:20 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2004-08-25 11:34:16 EDT
When ~/bar is entered as a workspace location, the ~ is not expanded resulting
in the creation of a folder called "~" inside of which there will be a folder
called "bar".
Comment 1 Andrew Eidsness CLA 2004-08-25 12:06:56 EDT
It turns out that this is a common problem in eclipse.  The expansion works 
properly in things like file choosers (since its a native control) but not in 
things like the prefs import/export dialogs.

I'm forwarding this to billy to keep with his growing collection of this type of 
bug.  Once a common solution has been figured out I don't mind applying the 
changes to the workspace selection dialog if needed.
Comment 2 Paul Webster CLA 2013-09-20 15:47:32 EDT
*** Bug 169385 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Genie CLA 2020-03-20 15:19:50 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.
Comment 4 Mat Booth CLA 2020-03-23 10:20:56 EDT
I would still like to see this fixed.

If you try to open a workspace at, e.g. "~/some/dir" then you end up with a directory called "/home/$USER/~/some/dir" when the user intended it to be "/home/$USER/some/dir"

And then the "~" directory is hard (and possibly dangerous!) to delete because your shell expands ~ to /home/$USER if you are not careful