SUMMARY Didn't know where to file this since three different components were involved. Plasmashell, kdeconnect, and spectacle. It happens when initiated via the gui, but not through the terminal. I press shift + print a screenshot is taken. A notification appears from spectacle giving me a preview of the screenshot and the hamburger menu for more options. I click the hamburger menu and click send to device via kdeconnect. The first thing I notice is that the hamburger menu does not stop glowing like it would if this error did not occur. The entire desktop freezes. The panel which I have set to autohide becomes inaccessible. Restarting plasmashell would fix the issue. After doing a fresh reinstall. I get the same thing exxept. It seems as if the top portion of the desktop is what freezes. The panel is still inaccessible, but everything else works more or less. Walking through virtual desktops however has this weird effect where about 1/4 of the screen lags behind the other 3/4s. After a few seconds of this. Spectacle then shares the screenshot with my device and everything is normal. That's the best I can describe it across two different installs. I'm on Opensuse Tumbleweed. Everything is up to date. I don't have a Nvidia gpu. Just the integrated graphics in a two in one laptop. Spectacle is version 19.12.3. Kde version 5.18.4. Kdeconnect is version 1.4-1.2. STEPS TO REPRODUCE 1. Take a screenshot using print shortcut 2. wait for notification to appear 3. use hamburger menu in notification to share screenshot to android device via kdeconnect OBSERVED RESULT Desktop Freezes or lags when walking through desktops, autohidden panel becomes inaccessible, hamburger menu does not loose focus once button is clicked. EXPECTED RESULT Screenshot immediately shared like it did in kde plasma version 5.17.5 SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20200422 KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.1 Kernel Version: 5.6.4-1-default OS Type: 64-bit Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz Memory: 15.4 GiB of RAM
Created attachment 127924 [details] Video of What Happens?
Watch the video till the end it took a few seconds to take effect. I also forgot to mention that infinite loading notification from kdeconnect that occurs when the lag/freeze stops and the screenshot has been sent.
I don't really understand why it would freeze here, the file item actions plugin in kdeconnect does a simple async DBus call to KDE Connect. Any chance you could get a backtrace of when it freezes?
(In reply to Kai Uwe Broulik from comment #3) > I don't really understand why it would freeze here, the file item actions > plugin in kdeconnect does a simple async DBus call to KDE Connect. > Any chance you could get a backtrace of when it freezes? If you can let me know how. I'll try it.
On a terminal run $ gdb plasmashell wait for it to load, then type "run" to start plasmashell. Then do whatever you did to make it freeze, then hit Ctrl+C in the terminal window to interrupt it and type "thread apply all bt" and paste the output here.
Also please make sure to have the relevant debugging symbols for plasma-workspace and kde connect installed
(In reply to Kai Uwe Broulik from comment #6) > Also please make sure to have the relevant debugging symbols for > plasma-workspace and kde connect installed Sorry it's taking so long. It seems gdb wants a debuginfo package lower than what is available in the opensuse kde repositories.
(In reply to Kai Uwe Broulik from comment #6) > Also please make sure to have the relevant debugging symbols for > plasma-workspace and kde connect installed Well a 148 packages later and this is what we got. Thread 3 (Thread 0x7ffff0b73700 (LWP 9370)): #0 0x00007ffff56feacf in poll () from /lib64/libc.so.6 #1 0x00007ffff421033e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fffe4004e60, timeout=<optimized out>, context=0x7fffe4000c20) at ../glib/gmain.c:4253 #2 g_main_context_iterate (context=context@entry=0x7fffe4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3949 #3 0x00007ffff421045f in g_main_context_iteration (context=0x7fffe4000c20, may_block=may_block@entry=1) at ../glib/gmain.c:4015 #4 0x00007ffff5ca7bee in QEventDispatcherGlib::processEvents (this=0x7fffe4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #5 0x00007ffff5c4fb9b in QEventLoop::exec (this=this@entry=0x7ffff0b72d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #6 0x00007ffff5a7a5ce in QThread::exec (this=this@entry=0x7ffff6e0eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #7 0x00007ffff6d8c507 in QDBusConnectionManager::run (this=0x7ffff6e0eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179 --Type <RET> for more, q to quit, c to continue without paging--c #8 0x00007ffff5a7b698 in QThreadPrivate::start (arg=0x7ffff6e0eda0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342 #9 0x00007ffff4ef6efa in start_thread () from /lib64/libpthread.so.0 #10 0x00007ffff57093bf in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7ffff16cd700 (LWP 9365)): #0 0x00007ffff56feacf in poll () from /lib64/libc.so.6 #1 0x00007ffff7bb4772 in poll (__timeout=-1, __nfds=1, __fds=0x7ffff16ccca8) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (cond=<optimized out>, count=<optimized out>, vector=<optimized out>, c=<optimized out>) at xcb_conn.c:480 #3 _xcb_conn_wait (c=0x555555636ee0, cond=<optimized out>, vector=0x0, count=0x0) at xcb_conn.c:436 #4 0x00007ffff7bb543a in xcb_wait_for_event (c=c@entry=0x555555636ee0) at xcb_in.c:697 #5 0x00007ffff18b0ab0 in QXcbEventQueue::run (this=0x555555643ea0) at qxcbeventqueue.cpp:228 #6 0x00007ffff5a7b698 in QThreadPrivate::start (arg=0x555555643ea0) at thread/qthread_unix.cpp:342 #7 0x00007ffff4ef6efa in start_thread () from /lib64/libpthread.so.0 #8 0x00007ffff57093bf in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff3766440 (LWP 9274)): #0 0x00007ffff7fe61b8 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2 #1 0x00007ffff57438c0 in _dl_catch_exception () from /lib64/libc.so.6 #2 0x00007ffff7fe5a2a in _dl_open () from /lib64/ld-linux-x86-64.so.2 #3 0x00007ffff5378258 in dlopen_doit () from /lib64/libdl.so.2 #4 0x00007ffff57438c0 in _dl_catch_exception () from /lib64/libc.so.6 #5 0x00007ffff574397f in _dl_catch_error () from /lib64/libc.so.6 #6 0x00007ffff5378995 in _dlerror_run () from /lib64/libdl.so.2 #7 0x00007ffff53782e6 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2 #8 0x00007ffff5c4ceef in QLibraryPrivate::load_sys (this=0x5555557db290) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:208 #9 0x00007ffff5c46465 in QLibraryPrivate::load (this=0x5555557db290) at plugin/qlibrary.cpp:553 #10 0x00007ffff5c46a13 in QLibraryPrivate::loadPlugin (this=this@entry=0x5555557db290) at plugin/qlibrary.cpp:608 #11 0x00007ffff5c3d2b8 in QFactoryLoader::instance (this=<optimized out>, index=index@entry=15) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211 #12 0x00007ffff60d5127 in createReadHandlerHelper (device=0x7fffffffcfc0, format=..., autoDetectImageFormat=<optimized out>, ignoresFormatAndExtension=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:306 #13 0x00007ffff60d797c in QImageReaderPrivate::initHandler (this=0x5555557a5bc0) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:236 #14 0x00007ffff60d8ec8 in QImageReader::read (this=0x7fffffffcfb8, image=0x7fffffffcf50) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:236 #15 0x00007ffff60d9065 in QImageReader::read (this=this@entry=0x7fffffffcfb8) at image/qimagereader.cpp:1227 #16 0x00007ffff60bba38 in QImage::fromData (data=<optimized out>, size=<optimized out>, format=format@entry=0x0) at image/qimage.cpp:3672 #17 0x00007ffff51ddd61 in QImage::fromData (format=0x0, data=...) at /usr/include/qt5/QtCore/qarraydata.h:208 #18 createImageNode (parent=0x5555556fbba0, attributes=..., handler=<optimized out>) at qsvghandler.cpp:2779 #19 0x00007ffff51d9b08 in QSvgHandler::startElement (this=this@entry=0x7fffffffd310, localName=..., attributes=...) at /usr/include/qt5/QtCore/qvector.h:88 #20 0x00007ffff51dc1e3 in QSvgHandler::parse (this=this@entry=0x7fffffffd310) at qsvghandler.cpp:3647 #21 0x00007ffff51dc37c in QSvgHandler::init (this=0x7fffffffd310) at qsvghandler.cpp:3625 #22 0x00007ffff51d608e in QSvgTinyDocument::load (fileName=...) at qsvgtinydocument.cpp:184 #23 0x00007ffff51ca54b in loadDocument<QString> (in=..., d=0x5555556f10d0, q=0x5555556edb10) at qsvgrenderer.cpp:342 #24 QSvgRenderer::load (this=0x5555556edb10, filename=...) at qsvgrenderer.cpp:342 #25 0x00007ffff02b3272 in Kvantum::Style::setBuiltinDefaultTheme() () from /usr/lib64/qt5/plugins/styles/libkvantum.so #26 0x00007ffff02c19f9 in Kvantum::Style::Style(bool) () from /usr/lib64/qt5/plugins/styles/libkvantum.so #27 0x00007ffff0332bfe in Kvantum::KvantumPlugin::create(QString const&) () from /usr/lib64/qt5/plugins/styles/libkvantum.so #28 0x00007ffff682831a in qLoadPlugin<QStyle, QStylePlugin> (key=..., loader=0x7ffff6ce3a30 <(anonymous namespace)::Q_QGS_loader::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:519 #29 QStyleFactory::create (key=...) at styles/qstylefactory.cpp:105 #30 0x00007ffff67b9c67 in QApplication::style () at kernel/qapplication.cpp:1038 #31 0x00007ffff67ba1ca in QApplicationPrivate::initialize (this=this@entry=0x555555622720) at kernel/qapplication.cpp:611 #32 0x00007ffff67ba461 in QApplicationPrivate::init (this=0x555555622720) at kernel/qapplication.cpp:557 #33 0x0000555555577a79 in main (argc=<optimized out>, argv=0x7fffffffdd48) at /usr/src/debug/plasma5-workspace-5.18.4.1-1.1.x86_64/shell/main.cpp:71
No to mention if it goes on for long enough gdb asks for more debug packages.
Oh, apparently, this was fixed very recently. Sorry about having to litter your hard drive and thanks for your help! If you (somehow) upgrade KDE Applications 20.04 then this should work. *** This bug has been marked as a duplicate of bug 419133 ***
(In reply to Kai Uwe Broulik from comment #10) > Oh, apparently, this was fixed very recently. Sorry about having to litter > your hard drive and thanks for your help! > If you (somehow) upgrade KDE Applications 20.04 then this should work. > > *** This bug has been marked as a duplicate of bug 419133 *** No problem. Learning how to make a back trace will be useful in the future. Anyways thanks again.
*** This bug has been marked as a duplicate of bug 419133 ***