Hi guys
I did a pass (ported to P7, tonel, some little fixes) on the file-dialog developed by Peter Uhnak and I think that it would be good to propose it by default in the image. what do you think? https://github.com/Ducasse/file-dialog I would also like that the filedialog remembers the last list of visited directory. (I will see if I can add this). When Spec2 is out I would like to port it to Spec2. Does anybody want to help? Because it would be super nice and I’m full with cleaning textEditor and pluggableTextMorph. Stef |
What is cool is that you can add bookmarks :) I did it to list the place where I store all my iceberg repo :)
|
In reply to this post by ducasse
I do not have time to personally work on this. But yes, having a better file dialog would be fantastic
Alexandre > On Mar 18, 2019, at 4:31 PM, ducasse <[hidden email]> wrote: > > Hi guys > > I did a pass (ported to P7, tonel, some little fixes) on the file-dialog developed by Peter Uhnak and I think that it would be good to propose it by default in the image. > what do you think? > > https://github.com/Ducasse/file-dialog > > I would also like that the filedialog remembers the last list of visited directory. (I will see if I can add this). > When Spec2 is out I would like to port it to Spec2. > > Does anybody want to help? Because it would be super nice and I’m full with cleaning textEditor and pluggableTextMorph. > > Stef > > > |
Alex
Have a look at the one I propose and play with it. Let me know what you think. Stef
|
Thanks Stef! The build is failing for Pharo 6.1 for some reason (I can't reproduce it locally), but I can look at that during the weekend... Peter On Mon, Mar 18, 2019 at 9:23 PM ducasse <[hidden email]> wrote:
|
Yes I had to rename ComposableModel into ComposablePresenter so this is probably that
|
YES! On Mon, Mar 18, 2019 at 11:13 PM ducasse <[hidden email]> wrote:
|
Ah, I probably need to add dependency on the Spec Compat library for P6.1 On Tue, Mar 19, 2019 at 9:50 AM Guillermo Polito <[hidden email]> wrote:
|
In reply to this post by Guillermo Polito
and there are tests.
We should check the UIManager dependency. For now I just make it works in P7 Stef
|
In reply to this post by ducasse
For DrGeo, when loading a sketch from an arbitrary location, I use the
preview feature of the polymorph File Dialog. I don't see it in this simple replacement of File Dialog. Hilaire Le 18/03/2019 à 20:31, ducasse a écrit : > what do you think? > > https://github.com/Ducasse/file-dialog -- Dr. Geo http://drgeo.eu |
Preview is indeed not supported. My original idea was to show a regular GTInspector view on the file, but I never got around to implementing it. On Tue, Mar 19, 2019 at 8:36 PM Hilaire <[hidden email]> wrote: For DrGeo, when loading a sketch from an arbitrary location, I use the |
Something as simple as in the current filedialog will be far than
enough: an option to toggle a preview display. It is then the responsibility of the user to code the preview view. I am afraid an inspector view will look too hackish for a user like a teacher or a kid. Hilaire Le 19/03/2019 à 20:42, Peter Uhnak a écrit : > Preview is indeed not supported. My original idea was to show a > regular GTInspector view on the file, but I never got around to > implementing it. -- Dr. Geo http://drgeo.eu |
In reply to this post by HilaireFernandes
> On 19 Mar 2019, at 20:35, Hilaire <[hidden email]> wrote: > > For DrGeo, when loading a sketch from an arbitrary location, I use the > preview feature of the polymorph File Dialog. I don't see it in this > simple replacement of File Dialog. Can you send a snippet so that I can see what it means because I do not understand exactly how this is related to the fileDialog. Stef > > Hilaire > > Le 18/03/2019 à 20:31, ducasse a écrit : >> what do you think? >> >> https://github.com/Ducasse/file-dialog > > -- > Dr. Geo > http://drgeo.eu > > > |
See this filedialog screenshot.
Hilaire -- Dr. Geo http://drgeo.eu Choisir un fichier Dr. Geo.png (152K) Download Attachment |
Ok I see and how the preview is done?
You register some objects to the fileDialog? Because I get this one. So may be we are talking about a different one. |
Ah, may be we are not talking about the same tool. I am talking about
the FileDialogWindow, I think part of the Gary's Polymorph. And you about FileList according to your screenshot. Is Peter's FileDialog intend is to replace FileList? Or FileDialogWindow? Hilaire Le 20/03/2019 à 19:13, ducasse a écrit : > Ok I see and how the preview is done? > You register some objects to the fileDialog? > Because I get this one. > > So may be we are talking about a different one. > -- Dr. Geo http://drgeo.eu |
> On 20 Mar 2019, at 19:29, Hilaire <[hidden email]> wrote: > > Ah, may be we are not talking about the same tool. I am talking about > the FileDialogWindow, I think part of the Gary's Polymorph. And you > about FileList according to your screenshot. > > Is Peter's FileDialog intend is to replace FileList? Or FileDialogWindow? I was thinking the FileList. Now I will look at the FileDialogWindow :) Stef > > Hilaire > > > Le 20/03/2019 à 19:13, ducasse a écrit : >> Ok I see and how the preview is done? >> You register some objects to the fileDialog? >> Because I get this one. >> >> So may be we are talking about a different one. >> > -- > Dr. Geo > http://drgeo.eu > > > |
I checked and they are not related.
And we can keep for now the DileDialogWindow. Stef > On 20 Mar 2019, at 20:09, ducasse <[hidden email]> wrote: > > > >> On 20 Mar 2019, at 19:29, Hilaire <[hidden email]> wrote: >> >> Ah, may be we are not talking about the same tool. I am talking about >> the FileDialogWindow, I think part of the Gary's Polymorph. And you >> about FileList according to your screenshot. >> >> Is Peter's FileDialog intend is to replace FileList? Or FileDialogWindow? > > I was thinking the FileList. > Now I will look at the FileDialogWindow :) > > Stef >> >> Hilaire >> >> >> Le 20/03/2019 à 19:13, ducasse a écrit : >>> Ok I see and how the preview is done? >>> You register some objects to the fileDialog? >>> Because I get this one. >>> >>> So may be we are talking about a different one. >>> >> -- >> Dr. Geo >> http://drgeo.eu >> >> >> > > > |
Hi,
While a good FileDialog may have a preview… I think the best thing is that you can take the component and reuse it, adding the behaviour you want. At least, that would be the purpose of Spec, isn’t? So… you could not wait until someone add a preview and you could add the preview you like it :) Esteban Ps: Of course, I know that means time… and I know a new component has to provide the same functionalities as the older one at least. I was just pointing it :) > On 20 Mar 2019, at 20:11, ducasse <[hidden email]> wrote: > > I checked and they are not related. > And we can keep for now the DileDialogWindow. > > Stef > >> On 20 Mar 2019, at 20:09, ducasse <[hidden email]> wrote: >> >> >> >>> On 20 Mar 2019, at 19:29, Hilaire <[hidden email]> wrote: >>> >>> Ah, may be we are not talking about the same tool. I am talking about >>> the FileDialogWindow, I think part of the Gary's Polymorph. And you >>> about FileList according to your screenshot. >>> >>> Is Peter's FileDialog intend is to replace FileList? Or FileDialogWindow? >> >> I was thinking the FileList. >> Now I will look at the FileDialogWindow :) >> >> Stef >>> >>> Hilaire >>> >>> >>> Le 20/03/2019 à 19:13, ducasse a écrit : >>>> Ok I see and how the preview is done? >>>> You register some objects to the fileDialog? >>>> Because I get this one. >>>> >>>> So may be we are talking about a different one. >>>> >>> -- >>> Dr. Geo >>> http://drgeo.eu >>> >>> >>> >> >> >> > > > |
In reply to this post by ducasse
Peter's FileDialog looks so much better than FileList :)
Le 20/03/2019 à 20:09, ducasse a écrit : > I was thinking the FileList. > Now I will look at the FileDialogWindow :) > > Stef -- Dr. Geo http://drgeo.eu |
Free forum by Nabble | Edit this page |