Ronald Florence wrote:

> This may be a helpful in discerning why LyX/Mac sometimes uses the
> native (Finder) for FileDialog and sometimes uses the Qt dialog.
> 
> On LyX/Mac-1.3.4, the native (Finder) dialog is used for the Print,
> BibTeX and Externalinsets, and the Qt dialog is used only for
> File->Open.
> 
> One LyX/Mac-1.4.0, the native (Finder) dialog is used for Print and
> Bibtex, and the Qt dialog is used for File->Open and Externalinsets.
> 
> I think the application would be much improved (for Mac users) if it
> always used the native (Finder).

what about InsetGraphics?

In 1.4, ControlBibtex::browse invokes:
        return browseRelFile(in_name, kernel().bufferFilepath(),
                             title, filters, false, dir1);

ControlExternal::browse
        return browseRelFile(input, bufpath, title, filter, false, 
dir1);

so it looks like something weird is going on if these cause different 
dialogs to be actually launched.

browseRelFile is defined in frontends/controllers/helper_funcs.C. 
Maybe you could dig some more?

-- 
Angus

Reply via email to