Pavel Sanda wrote: > the crash with "up" button disappear (but empty field in "Look in" appears > after clicking to up button. but ok, better than crash.)
better with the attached? > the original crash (with the recipy in previous mails) remains though. Hm. And this goes away if you chose "Show hidden files"? Jürgen
Index: src/frontends/qt4/LyXFileDialog.cpp =================================================================== --- src/frontends/qt4/LyXFileDialog.cpp (Revision 22895) +++ src/frontends/qt4/LyXFileDialog.cpp (Arbeitskopie) @@ -52,6 +52,13 @@ toqstr(t), toqstr(p), toqstr(filters.as_string())), b1_(0), b2_(0) { + QString const path = toqstr(p); + QDir dir(path); + // FIXME: workaround for a bug in qt which makes LyX crash + // with hidden paths (bug 4513). Recheck with recent Qt versions. + if (path.contains("/.")) + dir.setFilter(QDir::Hidden); + setDirectory(dir); setWindowTitle(toqstr(t)); QList<QHBoxLayout *> layout = findChildren<QHBoxLayout *>();