chooseExistingFileReference:extensions:path:preview returning wrong FileReference?
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: image.png] Inspect the result: [image: image.png] It seems to be a bug, or maybe there is any other way to call the dialog. Any pointer is welcome. TIA
I confirm that this does indeed seem to be a problem, weird.
On 11 Dec 2018, at 16:53, Arturo Zambrano <arturo.zambrano@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
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, <sven@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.zambrano@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
https://pharo.fogbugz.com On Wed, 12 Dec 2018 at 01:54, Arturo Zambrano <arturo.zambrano@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, <sven@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.zambrano@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
Hi all, I've created issue https://pharo.fogbugz.com/f/cases/22772/chooseExistingFileReference-extensio... 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 <btc@openinworld.com> wrote:
On Wed, 12 Dec 2018 at 01:54, Arturo Zambrano <arturo.zambrano@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, <sven@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.zambrano@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
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 <guillermopolito@gmail.com> wrote:
Hi all,
I've created issue https://pharo.fogbugz.com/f/cases/22772/chooseExistingFileReference-extensio...
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 <btc@openinworld.com> wrote:
On Wed, 12 Dec 2018 at 01:54, Arturo Zambrano <arturo.zambrano@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, <sven@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.zambrano@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
participants (4)
-
Arturo Zambrano -
Ben Coman -
Guillermo Polito -
Sven Van Caekenberghe