STEPS TO REPRODUCE 1. add Analog Clock widget to desktop 2. remove the added widget from desktop 3. OBSERVED RESULT plasma does not show "Undo" notification anymore EXPECTED RESULT plasma shows a notification with "Undo" button SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.92.0 KDE Frameworks Version: 5.248.0 Qt Version: 6.7.0 Graphics Platform: Wayland
Cannot reproduce with Qt 6.6.0. Possibly a Qt 6.7 regression. Can you attach a screen recording?
I have just noticed that the bug is reproducible after restarting Plasma with "plasmashell --replace". Can you reproduce too?
I cannot.
Can't reproduce with Qt 6.7
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Created attachment 165832 [details] screen recording Screen recording attached. Plasma does not notify when removing the Analog Clock widget after restarting Plasma by running "plasmashell --replace" with Krunner.
Thanks. I still can't reproduce it when I follow the steps in your video, though. Perhaps the differences in our Qt versions is relevant here (you have the 6.7 beta, I have 6.6.0).
Created attachment 167353 [details] screenshot The "Undo" notification (any notification, in fact) does not appear because the notification service is not available due to a Plasma crash that occurs after restarting Plasma with "plasmashell --replace". See the attached screenshot and the backtrace of the crash occurred after restarting Plasma. Operating System: Arch Linux KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Graphics Platform: Wayland
Thread 9 (Thread 0x722b12a006c0 (LWP 1090)): #0 0x0000722b25ca5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x6525e7c56490) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6525e7c56490, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x0000722b25ca5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6525e7c56490, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x0000722b25ca8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x6525e7c56438, cond=0x6525e7c56468) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x6525e7c56468, mutex=0x6525e7c56438) at pthread_cond_wait.c:618 #5 0x0000722b1848685c in cnd_wait () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:135 #6 util_queue_thread_func () at ../mesa-24.0.3/src/util/u_queue.c:290 #7 0x0000722b1849e80c in impl_thrd_routine () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:67 #8 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #9 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 8 (Thread 0x722b13e006c0 (LWP 1086)): #0 0x0000722b25ca5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x6525e7b18558) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6525e7b18558, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x0000722b25ca5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6525e7b18558, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x0000722b25ca8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x6525e7b18500, cond=0x6525e7b18530) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x6525e7b18530, mutex=0x6525e7b18500) at pthread_cond_wait.c:618 #5 0x0000722b1848685c in cnd_wait () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:135 #6 util_queue_thread_func () at ../mesa-24.0.3/src/util/u_queue.c:290 #7 0x0000722b1849e80c in impl_thrd_routine () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:67 #8 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #9 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 7 (Thread 0x722b116006c0 (LWP 1349)): #0 0x0000722b25d190bf in __GI___poll (fds=0x722ae4007000, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x0000722b24ea72f6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x722ae4007000, timeout=<optimized out>, context=0x722ae4000c60) at ../glib/glib/gmain.c:4653 #2 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x722ae4000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344 #3 0x0000722b24e47162 in g_main_context_iteration (context=0x722ae4000c60, may_block=1) at ../glib/glib/gmain.c:4414 #4 0x0000722b265739c4 in QEventDispatcherGlib::processEvents (this=0x722ae4000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x0000722b26343d6e in QEventLoop::processEvents (flags=..., this=0x722b115ffb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100 #6 QEventLoop::exec (this=0x722b115ffb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182 #7 0x0000722b2642106f in QThread::exec (this=this@entry=0x6525e95bf400) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74 #8 0x0000722b27b0d0d3 in QQuickPixmapReader::run (this=0x6525e95bf400) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/quick/util/qquickpixmapcache.cpp:1188 #9 0x0000722b264a0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324 #10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260 #11 QThreadPrivate::start (arg=0x6525e95bf400) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283 #12 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #13 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 6 (Thread 0x722b134006c0 (LWP 1089)): #0 0x0000722b25ca5ebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x6525e7be14b0) at futex-internal.c:57 #1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x6525e7be14b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 #2 0x0000722b25ca5f3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x6525e7be14b0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139 #3 0x0000722b25ca8750 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x6525e7be1458, cond=0x6525e7be1488) at pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x6525e7be1488, mutex=0x6525e7be1458) at pthread_cond_wait.c:618 #5 0x0000722b1848685c in cnd_wait () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:135 #6 util_queue_thread_func () at ../mesa-24.0.3/src/util/u_queue.c:290 #7 0x0000722b1849e80c in impl_thrd_routine () at ../mesa-24.0.3/src/c11/impl/threads_posix.c:67 #8 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #9 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 5 (Thread 0x722b1b0006c0 (LWP 1085)): #0 0x0000722b25d190bf in __GI___poll (fds=fds@entry=0x722b1afffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x0000722b27f4db18 in poll (__timeout=-1, __nfds=2, __fds=0x722b1afffb70) at /usr/include/bits/poll2.h:39 #2 QtWaylandClient::EventThread::run (this=0x6525e7a490a0) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:184 #3 0x0000722b264a0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324 #4 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260 #5 QThreadPrivate::start (arg=0x6525e7a490a0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283 #6 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #7 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 4 (Thread 0x722b120006c0 (LWP 1188)): #0 0x0000722b25d190bf in __GI___poll (fds=0x6525e8132320, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x0000722b24ea72f6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x6525e8132320, timeout=<optimized out>, context=0x722ae8000c60) at ../glib/glib/gmain.c:4653 #2 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x722ae8000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344 #3 0x0000722b24e47162 in g_main_context_iteration (context=0x722ae8000c60, may_block=1) at ../glib/glib/gmain.c:4414 #4 0x0000722b265739c4 in QEventDispatcherGlib::processEvents (this=0x722ae8000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x0000722b26343d6e in QEventLoop::processEvents (flags=..., this=0x722b11fffb90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100 #6 QEventLoop::exec (this=0x722b11fffb90, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182 #7 0x0000722b2642116f in QThread::exec (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread.cpp:578 #8 QThread::run (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread.cpp:699 #9 0x0000722b264a0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324 #10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260 #11 QThreadPrivate::start (arg=0x6525e80d9c00) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283 #12 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #13 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 3 (Thread 0x722b1ba006c0 (LWP 1084)): #0 0x0000722b25d190bf in __GI___poll (fds=fds@entry=0x722b1b9ffb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x0000722b27f4db18 in poll (__timeout=-1, __nfds=2, __fds=0x722b1b9ffb70) at /usr/include/bits/poll2.h:39 #2 QtWaylandClient::EventThread::run (this=0x6525e79e4160) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.2/src/client/qwaylanddisplay.cpp:184 #3 0x0000722b264a0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324 #4 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260 #5 QThreadPrivate::start (arg=0x6525e79e4160) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283 #6 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #7 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 2 (Thread 0x722b20c006c0 (LWP 1083)): #0 0x0000722b25d190bf in __GI___poll (fds=0x6525e79da470, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x0000722b24ea72f6 in g_main_context_poll_unlocked (priority=2147483647, n_fds=3, fds=0x6525e79da470, timeout=<optimized out>, context=0x722b1c000c80) at ../glib/glib/gmain.c:4653 #2 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x722b1c000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344 #3 0x0000722b24e47162 in g_main_context_iteration (context=0x722b1c000c80, may_block=1) at ../glib/glib/gmain.c:4414 #4 0x0000722b265739c4 in QEventDispatcherGlib::processEvents (this=0x722b1c000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #5 0x0000722b26343d6e in QEventLoop::processEvents (flags=..., this=0x722b20bffb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100 #6 QEventLoop::exec (this=0x722b20bffb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182 #7 0x0000722b2642106f in QThread::exec (this=this@entry=0x722b27140b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74 #8 0x0000722b270b89df in QDBusConnectionManager::run (this=0x722b27140b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/dbus/qdbusconnection.cpp:131 #9 0x0000722b264a0bd3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:324 #10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:260 #11 QThreadPrivate::start (arg=0x722b27140b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qthread_unix.cpp:283 #12 0x0000722b25ca955a in start_thread (arg=<optimized out>) at pthread_create.c:447 #13 0x0000722b25d26a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 1 (Thread 0x722b212999c0 (LWP 1066)): #0 0x0000722b28939522 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.0.0/src/kcrash.cpp:519 #1 0x0000722b25c5a770 in <signal handler called> () at /usr/lib/libc.so.6 #2 0x0000722b289c9b93 in wl_proxy_marshal_flags (proxy=0x6525ea1d9170, opcode=1, interface=0x0, version=2, flags=0) at ../wayland-1.22.0/src/wayland-client.c:819 #3 0x0000722b1bf62479 in xdg_activation_token_v1_set_app_id (app_id=0x6525eab97eb0 "@\205\313(+r", xdg_activation_token_v1=0x6525ea1d9170) at /usr/src/debug/kwindowsystem/build/src/platforms/wayland/wayland-xdg-activation-v1-client-protocol.h:363 #4 QtWayland::org_kde_kwin_shadow_manager::unset (this=<optimized out>, surface=0x6525eab97eb0) at /usr/src/debug/kwindowsystem/build/src/platforms/wayland/qwayland-shadow.cpp:78 #5 WindowShadow::internalDestroy (this=0x6525eaa680a0) at /usr/src/debug/kwindowsystem/kwindowsystem-6.0.0/src/platforms/wayland/windowshadow.cpp:195 #6 0x0000722b287b131a in KWindowShadow::destroy (this=this@entry=0x6525eab8e710) at /usr/src/debug/kwindowsystem/kwindowsystem-6.0.0/src/kwindowshadow.cpp:266 #7 0x0000722b287b133c in KWindowShadow::~KWindowShadow (this=0x6525eab8e710, this=<optimized out>) at /usr/src/debug/kwindowsystem/kwindowsystem-6.0.0/src/kwindowshadow.cpp:65 #8 0x0000722b287b136e in KWindowShadow::~KWindowShadow (this=0x6525eab8e710, this=<optimized out>) at /usr/src/debug/kwindowsystem/kwindowsystem-6.0.0/src/kwindowshadow.cpp:66 #9 0x0000722b2637c6fb in QObjectPrivate::deleteChildren (this=this@entry=0x6525eaa65e70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:2207 #10 0x0000722b26380f38 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1159 #11 0x0000722b28c5f20d in DialogShadows::~DialogShadows (this=0x6525eaa65e40, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.2/src/plasmaquick/dialogshadows.cpp:63 #12 0x0000722b2637c6fb in QObjectPrivate::deleteChildren (this=this@entry=0x6525e79c8550) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:2207 #13 0x0000722b26380f38 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1159 #14 0x00006525e6f1e73e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/shell/main.cpp:215 Warning: the current language does not match this frame.
*** This bug has been marked as a duplicate of bug 487660 ***