https://bugs.kde.org/show_bug.cgi?id=501796
--- Comment #2 from Jaime Torres <jtam...@gmail.com> --- XDG Desktop portal takes up to 5 seconds to open or close the Choose file dialog. I can reproduce it. Tried two times with the same Valgrind log. After the save as dialog is accepted and hides, I just close okular (I have to tell kwin to not close okular). Same error with kwrite. It's not an okular problem. ==291811== at 0x484EC7C: realloc (vg_replace_malloc.c:1801) ==291811== by 0x66A3EE7: QArrayData::reallocateUnaligned(QArrayData*, void*, long long, long long, QArrayData::AllocationOption) (qarraydata.cpp:244) ==291811== by 0x664ABF2: UnknownInlinedFun (qarraydata.h:155) ==291811== by 0x664ABF2: UnknownInlinedFun (qarraydataops.h:275) ==291811== by 0x664ABF2: QByteArray::reallocData(long long, QArrayData::AllocationOption) (qbytearray.cpp:1989) ==291811== by 0x651FB2E: QByteArray::reserve(long long) (qbytearray.h:641) ==291811== by 0x677A521: UnknownInlinedFun (qstringconverter.h:192) ==291811== by 0x677A521: QSettingsPrivate::iniEscapedString(QString const&, QByteArray&) (qsettings.cpp:653) ==291811== by 0x685A06E: UnknownInlinedFun (qsettings.cpp:692) ==291811== by 0x685A06E: QConfFileSettingsPrivate::writeIniFile(QIODevice&, QMap<QSettingsKey, QVariant> const&) [clone .isra.0] (qsettings.cpp:1856) ==291811== by 0x6781D61: QConfFileSettingsPrivate::syncConfFile(QConfFile*) (qsettings.cpp:1481) ==291811== by 0x6781FD9: QConfFileSettingsPrivate::sync() (qsettings.cpp:1304) ==291811== by 0x677BC18: UnknownInlinedFun (qsettings.cpp:1310) ==291811== by 0x677BC18: QSettings::~QSettings() (qsettings.cpp:2739) ==291811== by 0x556B041: QFileDialogPrivate::saveSettings() (qfiledialog.cpp:2811) ==291811== by 0x555D7AE: .LTHUNK1.lto_priv.6 (qfiledialog.cpp:378) ==291811== by 0x5568CED: UnknownInlinedFun (qfiledialog.cpp:386) ==291811== by 0x5568CED: UnknownInlinedFun (qdialog_p.h:109) ==291811== by 0x5568CED: QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QList<QString> const&) (qfiledialog.cpp:2495) ==291811== by 0x1AAFC75C: Okular::Part::slotSaveFileAs(bool) [clone .part.0] (part.cpp:2597) ==291811== by 0x1AAA9306: Okular::Part::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_part.cpp:709) ==291811== by 0x65FFFC0: void doActivate<false>(QObject*, int, void**) (qobject.cpp:4127) -- You are receiving this mail because: You are watching all bug changes.