Bug #5052
closeddefault file open directory of Kepler 2.0
0%
Description
If I remember correctly, the default directory for 'File-->Open File...' menu item is getting-started directory in Kepler 1.0. In Kepler 2.0 RC 5, the default directory is KeplerData and the getting-started directory is at KeplerData/workflows/module/outreach-2.0.0/demos/getting-started. It might be inconvenient to find this directory, especially for novice.
The discussion about it on IRC is as follows:
<jianwu> but why it has such a name, and it is not the default dir for 'file opening'
<jianwu> If I remember correctly, the file open will go to the getting-started directory by default.
<jianwu> for Keplre 1.0
<jianwu> In Kepler 2.0, this directory will take people a long time to find it.
<jianwu> what do you think, davidwelker?
<davidwelker> hmm
<davidwelker> I think we could change it
<davidwelker> who knows how to change it quickly?
<davidwelker> I agree this is less convenient. But I am not going to delay the release for it
<davidwelker> Oh wait...
<jianwu> not sure. may chad know the situation of Kepler 1.0 and how to do it?
<davidwelker> I don't know if we should use getting-started anymore as the defult
<davidwelker> what if outreach is patched and goes to outreach-2.0.1
<davidwelker> then you code might break
<davidwelker> that is sort of fragile
<davidwelker> yeah, lets just leave it
<davidwelker> I agree it is a little less convenient
<davidwelker> But it is fine for now
<davidwelker> I want to do a Kepler 2.1 in the not too distant future
<davidwelker> and we can fix stuff like this
<jianwu> hmm
<davidwelker> you feel strongly about this =)
<davidwelker> if you feel really strongly, we can move it up
<davidwelker> but the issue is tricky. We have to find where the default is set
<davidwelker> and then that person has to detect not outreach
<davidwelker> but the latest outreach
<davidwelker> and then go from there to demos/getting-started
<jianwu> you can set it acordding to property("outreach.workflowdir")
<davidwelker> I am not sure how exactly to do that in code right off the top of my head
<davidwelker> right
<jianwu> not like outreach-2.0.1 or outreach-2.0.0
<davidwelker> you want to change it?
<davidwelker> I agree
<davidwelker> that is right
<davidwelker> I remember now
<davidwelker> derik made that
<davidwelker> so, if you want to put this out before 2.0, do you think you can hunt down where the default is and change it?
<davidwelker> if you don't have time, it would be fine to do it post 2.0
<davidwelker> I am not even sure that getting-started is where we want it to always open files
<davidwelker> that seems great for checking out demos
<jianwu> I can try. I'll fire a bug firstly about the issue.
<davidwelker> but what about their own work?
<davidwelker> If you are working on your own stuff, you want to open your own workflow
<davidwelker> so, should the default really be getting-started?
<jianwu> it's true.
<jianwu> so it should be configurable?
<davidwelker> yeah
<davidwelker> I think it should be configurable
<davidwelker> but, I think KeplerData would probably be good for now, actually
<jianwu> ok. good discussion. I'll fire an enhancement bug and see what other guys say about it.
<davidwelker> perfect
<derik_> just catching up here
<derik_> i think Open dialog opens whereever you last opened from
<davidwelker> yeah
<jianwu> yes
<davidwelker> it definitely does htat
<davidwelker> cause if I open one workflow from getting-started
<davidwelker> then it opens from there without me having to navigate to it
<derik_> ok...maybe that wasn't relevant to what you guys are discussing :)
<davidwelker> so, where should it start the first time?
<davidwelker> actually derik, it is relevant
<davidwelker> it puts it in context
<derik_> ok, hmm
<davidwelker> we are just talking about where it should open the first time
<davidwelker> so, getting-started is not a bad choice
<jianwu> I agree
<davidwelker> since if you are working on your own stuff, well, it is going to open near there anyway
<davidwelker> I will leave decision to whoever has an opinion. =) I can go either way
<derik_> yeah getting-started would be a good choice for first time open. it would be a bad choice for first time save (not sure if they're one and the same or not)
<davidwelker> good point derik_
<davidwelker> I don't think getting-started would be a good choice for first time save