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 Inspect the result: 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 <[hidden email]> 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, <[hidden email]> wrote: I confirm that this does indeed seem to be a problem, weird. |
https://pharo.fogbugz.com On Wed, 12 Dec 2018 at 01:54, Arturo Zambrano <[hidden email]> wrote: Should I report a bug? If so please send me the link to thw issue tracker |
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 <[hidden email]> wrote:
|
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 <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |