This probably is caused by the GTK file dialog the Qt clipboard fighting. We solved the issue in Krita by blocking the QClipboard signals before opening the file dialog. See https://phabricator.kde.org/diffusion/KRITA/browse/master/libs/widgetutils/KoFileDialog.cpp
Do you have a gdb backtrace? Can you point to the exact commit that fixed this for Krita? I see a bunch of changes at https://phabricator.kde.org/diffusion/KRITA/history/master/libs/widgetutils/KoFileDialog.cpp Finally Krita removed the native dialog in https://phabricator.kde.org/rKRITAcfc4efaf01cc17e795dfcac972563d4095cbd02f in attempt to solve bug 364864 (which it did not according to the comments?)
Er... No, it's so long ago that I don't have a backtrace anymore. The relevant commit is:L commit a73c6840854a4fae24019a88ebcfd89dad250d71 Author: Boudewijn Rempt <boud@valdyas.org>, Wed Aug 6 16:57:49 2014 +0200 (2 years, 2 months ago) Committer: Boudewijn Rempt <boud@valdyas.org>, Wed Aug 6 16:57:49 2014 +0200 (2 years, 2 months ago) Precedes: v2.99.88 Branches: <Expand> BUG:338067 Workaround broken cliplboard in the the gtk file dialog Krita hangs when it gets a signal from the application clipboard when the user copies a string in the gtk-based file dialog. This hangs somewhere deep in Qt, with a seemlingly endless loop in QVariant QMimeDataPrivate::retrieveTypedData(const QString &format, QVariant::Type type) const By blocking the clipboard's signals we avoid the hang.
Is this issue still reproducible or can the bug be closed?
It is reproducible with 15.12.3; I tried to update yesterday but apparently opensuse leap doesn't have a newer version yet.
If it is reproducible, can you attach a gdb backtrace? Thanks :)
Updated versions of KDE software probably doesn't make a difference here; you'll need the latest version of Gtk. Is there some way to force using Gtk's QPA plugin when launching Spectacle? I could test it on Arch, maybe.
(In reply to Boudhayan Gupta from comment #6) > Is there some way to force using Gtk's QPA plugin when launching Spectacle? > I could test it on Arch, maybe. You can force it with: QT_QPA_PLATFORMTHEME=gtk3 spectacle However on Arch I cannot reproduce a crash on saving the screenshot: spectacle 19.04.2-1 gtk3 1:3.24.10-1 qt5-base 5.13.0-7
Me neither. Let's re-open if we see it again.