Thanks I have tested it, and it is working in the case I was using when I
reported the problem.



On Fri, Dec 14, 2018 at 10:48 AM Guillermo Polito <guillermopol...@gmail.com>
wrote:

> Hi all,
>
> I've created issue
> https://pharo.fogbugz.com/f/cases/22772/chooseExistingFileReference-extensions-path-preview-returning-wrong-FileReference
>
> And proposed a single-line fix:
> https://github.com/pharo-project/pharo/pull/2075
>
> I've tested those scenarios and it was working but some more testing would
> not hurt :)
> Guille
>
> On Tue, Dec 11, 2018 at 11:15 PM Ben Coman <b...@openinworld.com> wrote:
>
>> https://pharo.fogbugz.com
>>
>> On Wed, 12 Dec 2018 at 01:54, Arturo Zambrano <arturo.zambr...@gmail.com>
>> wrote:
>>
>>>  Should I report a bug? If so please send me the link to thw issue
>>> tracker
>>>
>>> On Tue, 11 Dec 2018, 13:05 Sven Van Caekenberghe, <s...@stfx.eu> wrote:
>>>
>>>> I confirm that this does indeed seem to be a problem, weird.
>>>>
>>>> > On 11 Dec 2018, at 16:53, Arturo Zambrano <arturo.zambr...@gmail.com>
>>>> wrote:
>>>> >
>>>> > Hi All,
>>>> >  I'm  replacing a deprecated call by this:
>>>> > UIManager default
>>>> chooseExistingFileReference:extensions:path:preview:.
>>>> >
>>>> > The returned fileRefence does not point the actual file selected by
>>>> the user (if the file was chosen navigating to other directories than the
>>>> default).
>>>> > For example:
>>>> >
>>>> > UIManager default chooseExistingFileReference:'Title'
>>>> extensions:#('pdf') path: './' preview: nil
>>>> >
>>>> > <image.png>
>>>> >
>>>> > Inspect the result:
>>>> > <image.png>
>>>> >
>>>> >
>>>> >
>>>> > It seems to be a bug, or maybe there  is any other way to call the
>>>> dialog.
>>>> >
>>>> > Any pointer is welcome.
>>>> >
>>>> > TIA
>>>> >
>>>> >
>>>> >
>>>>
>>>>
>>>>
>
> --
>
>
>
> Guille Polito
>
> Research Engineer
>
> Centre de Recherche en Informatique, Signal et Automatique de Lille
>
> CRIStAL - UMR 9189
>
> French National Center for Scientific Research - *http://www.cnrs.fr
> <http://www.cnrs.fr>*
>
>
> *Web:* *http://guillep.github.io* <http://guillep.github.io>
>
> *Phone: *+33 06 52 70 66 13
>

Reply via email to