On Sun, Jul 24, 2011 at 11:35 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > Note that we do not use the native qt file dialog either on Linux, but our > own. This is due to the custom location buttons ("Templates", "Cliparts", > I didn't know we had Cliparts. I inspected ~/.lyx/clipart and it's empty. What should it be used for?
> etc.), which are not easy to provide with the native dialog. > > Out ultimate goal would be to provide those locations via the location or > "places" bar, also on Win and Mac, where these are currently missing > completely. But astonishingly enough, this is all but a straightforward task. > I've been giving this some thought, lately, and I don't think it's a good idea to provide custom location buttons such as those you mentioned above. They're not visible enough, and the user would need to know where to look to find them. For example, since I've been introduced to LyX I was aware of the Templates folder via the all too visible 'File > New from Template..'. On the other hand, I have discovered the existence of the Examples folder only 2-3 years later, by accident, when it was mentioned on the ML. And all this time I have been using our custom Qt chooser and never truly paid attention to (or noticed) the 'Examples' button. I've also regularly inspected the contents of ~/.lyx/, without ever realising the value of the 'examples' folder. What I would suggest, and this seems fairly easy to implement should there be agreement, is to have a 'File > New from..' submenu that would contain the items 'Template', 'Example', etc. I'm not sure what 'Clipart' is for, but if it is what I think it is, one accessible place to put it would be inside the 'Insert > Graphics' dialogue, which would then feature the 'File' input box, a 'Browse..' button and a 'Clipart' button. If we adopt the solution above, then (incidentally) there would no longer be any need for a custom Qt chooser and (possibly) the GTK chooser could be activated within a properly configured system. What do you think? Liviu