pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.19k stars 353 forks source link

FileSelectionDialog: remember the last explored directory to start with it for the next selection #2917

Open VincentBlondeau opened 5 years ago

VincentBlondeau commented 5 years ago

Migrated case from Manuscript.

Original case: https://pharo.fogbugz.com/f/cases/19225 Status: Work Needed Project: Morphic Original Author: Vincent Blondeau Date: 19 October 2016 1:18:25 pm

Description:

In FileSelectionDialog, the first selected folder is alway the working directory. It will be nice to remember the last explored directory to start with it for the next folder selection.

VincentBlondeau commented 5 years ago

Reply: Author: Nicolai Hess Date: 20 October 2016 7:00:07 am

Message:

Looks good, did you test what happens if the lastLocation is not available anymore (because you moved the image to another platform or a network share has been removed)? On windows it seems to fall back to an empty directory and so the directory selection shows the top level (a list of drives), it would be good if the directory chooser would start again at the working directory again.

VincentBlondeau commented 5 years ago

Reply: Author: Vincent Blondeau Date: 21 October 2016 11:06:58 pm

Message:

You're right, I did not take this into account. A check have to be done if the system is the same or not.

VincentBlondeau commented 5 years ago

Reply: Author: Pavel Krivanek Date: 27 January 2017 12:06:37 pm

Message:

Low priority issue. Not for Pharo 6. The milestone "Later" was set automatically.

VincentBlondeau commented 5 years ago

Reply: Author: Vincent Blondeau Date: 28 September 2018 5:13:12 pm

Message:

Not fixed in Pharo 7 build 1276 (sha 6c09bd4)

stale[bot] commented 5 years ago

To limit bug bankruptcy (see https://www.joelonsoftware.com/2012/07/09/software-inventory/) this issue has been automatically marked as stale because it has not had any activity in 6 months. It will be closed in 1 month if no further activity occurs. If this issue remains important to you, please comment to reactivate the issue. Thank you for your contributions.

Joel on Software
Software Inventory
Imagine, for a moment, that you came upon a bread factory for the first time. At first it just looks like a jumble of incomprehensible machinery with a few people buzzing around. As your eyes adjus…
VincentBlondeau commented 4 years ago

Not fixed yet

guillep commented 4 years ago

I don't think this is the responsibility of the file selection dialog... It looks to me it should depend on the tool. Maybe two tools (in the same image) would want to remember two different locations (thinking for example iceberg and epicea).

Thoughts?

no-response[bot] commented 4 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

VincentBlondeau commented 4 years ago

I think it should be a default in the dialog itself and in the tool for override if necessary. Anyway, I think that as a first step in the dialog is fine.

VincentBlondeau commented 4 years ago

PS: the bot should put a reminder first and then close it

VincentBlondeau commented 4 years ago

@PharoProject Can you please reopen this issue?

Ducasse commented 4 years ago

We should do a pass on the new file dialog in new tools because it is in spec20 and we can specify special places and it remembers previous ones. So may be we should focus on the spec20 version and let the morphic one. I added esteban so that we talk about it.