Bug 395081

Summary: Plasma crash when undoing 'Remove this icon' from desktop in multi-screen mode
Product: [Plasma] plasmashell Reporter: magiblot
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel, plasma-bugs, U2FsdGVkX1
Priority: NOR Keywords: drkonqi
Version: 5.12.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description magiblot 2018-06-06 10:58:27 UTC
Application: plasmashell (5.12.5)

Qt Version: 5.11.0
Frameworks Version: 5.46.0
Operating System: Linux 4.16.13-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I was using two monitors. Desktop icons/shortcuts/items ('Home' and 'Trash', I don't know what technically they are) appeared in the screen I didn't want them to, so I tried dragging them from one screen to the other. A context menu appeared with some options, and I chose 'Move here', but it wouldn't work because plasma would attempt to overwrite the files in the 'Desktop' directory. I skipped overwriting.

Then I tried dragging them again and then chose 'Add Icon', under 'Widgets' in the context menu. However, this again was not what I wanted and I made right click on the icon > 'Remove this Icon', which sent it to the Trash.

Eventually, I thought of undoing all the movements I did, so I made right click on the desktop > 'Undo Move'. Then the desktop turned black and the task bar disappeared: Plasma had crashed. After some seconds, Plasma recovered and the icon I created with 'Add Icon' was there again, so the 'Move' action I undid was 'Remove this icon'.

Additional information:
* Compositing was disabled.
* Screen configuration:
```xrandr --verbose

Screen 0: minimum 8 x 8, current 1824 x 600, maximum 32767 x 32767
LVDS1 connected primary 1024x600+0+0 (0x46) normal (normal left inverted right x axis y axis) 220mm x 130mm
        Identifier: 0x42
        Timestamp:  354481
        Subpixel:   horizontal rgb
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID: 
                00ffffffffffff0006afd23100000000
                0112010380160d780ab9a59659579128
                1f505400000001010101010101010101
                0101010101012c15009e41581c201888
                3100df7d000000180000000f00000000
                00000000000000000020000000fe0041
                554f0a202020202020202020000000fe
                004231303141573033205631200a000f
        BACKLIGHT: 0 
                range: (0, 7)
        Backlight: 0 
                range: (0, 7)
        scaling mode: Full aspect 
                supported: Full, Center, Full aspect
        link-status: Good 
                supported: Good, Bad
        non-desktop: 0 
                range: (0, 1)
  [skipping modelines...]
VGA1 connected 800x600+1024+0 (0xce) normal (normal left inverted right x axis y axis) 0mm x 0mm
        Identifier: 0x43
        Timestamp:  354481
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       1
        CRTCs:      1 0
        Transform:  0.500000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: nearest
        link-status: Good 
                supported: Good, Bad
        non-desktop: 0 
                range: (0, 1)
  [skipping modelines...]```

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff08df3fc80 (LWP 559))]

Thread 8 (Thread 0x7fefba033700 (LWP 667)):
#0  0x00007ffcd6556a80 in clock_gettime ()
#1  0x00007ff0874e3fb6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007ff087de7772 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ff087de5f5a in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007ff087de6556 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff087de7bcf in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ff081d00a49 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#7  0x00007ff081d0144e in  () at /usr/lib/libglib-2.0.so.0
#8  0x00007ff081d0163e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#9  0x00007ff087de7e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#10 0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007ff087bdcac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#12 0x00007ff08ad1c559 in  () at /usr/lib/libQt5Qml.so.5
#13 0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fefd845d700 (LWP 652)):
#0  0x00007ffcd6556b91 in clock_gettime ()
#1  0x00007ff0874e3fb6 in clock_gettime () at /usr/lib/libc.so.6
#2  0x00007ff087de7772 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ff087de5f5a in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#4  0x00007ff087de6556 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff087de7bcf in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ff081d00a49 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#7  0x00007ff081d0144e in  () at /usr/lib/libglib-2.0.so.0
#8  0x00007ff081d0163e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#9  0x00007ff087de7e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#10 0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007ff087bdcac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#12 0x00007ff08b8f327b in  () at /usr/lib/libQt5Quick.so.5
#13 0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7ff063fff700 (LWP 651)):
#0  0x00007ff086d8affc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff08d61dbbc in  () at /usr/lib/libQt5Script.so.5
#2  0x00007ff08d61dbd9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ff06dd37700 (LWP 650)):
#0  0x00007ff081d00e1f in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#1  0x00007ff081d014c6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff081d0163e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff087de7e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff087bdcac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff08ad1c559 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff06f7cc700 (LWP 643)):
#0  0x00007ff081d46ecb in  () at /usr/lib/libglib-2.0.so.0
#1  0x00007ff081d00ff8 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff081d014c6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff081d0163e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007ff087de7e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007ff087bdcac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007ff08ad1c559 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff075308700 (LWP 600)):
#0  0x00007ff0874cbea9 in poll () at /usr/lib/libc.so.6
#1  0x00007ff081d01523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff081d0163e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff087de7e64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff087bdcac9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff088237976 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff0776d1700 (LWP 588)):
#0  0x00007ff0874cbea9 in poll () at /usr/lib/libc.so.6
#1  0x00007ff08c542180 in  () at /usr/lib/libxcb.so.1
#2  0x00007ff08c543e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ff079e5af1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ff087be6b95 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ff086d85075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff0874d653f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff08df3fc80 (LWP 559)):
[KCrash Handler]
#6  0x00007ff08741486b in raise () at /usr/lib/libc.so.6
#7  0x00007ff0873ff40e in abort () at /usr/lib/libc.so.6
#8  0x00007ff0873ff2e0 in _nl_load_domain.cold.0 () at /usr/lib/libc.so.6
#9  0x00007ff08740d112 in  () at /usr/lib/libc.so.6
#10 0x00007ff0855ee05c in  () at /usr/lib/libKF5KIOWidgets.so.5
#11 0x00007ff087dbeb60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007ff088d8e183 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007ff088d9087a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007ff088d90e58 in  () at /usr/lib/libQt5Widgets.so.5
#15 0x00007ff088d913a7 in QAction::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007ff08accdfae in  () at /usr/lib/libQt5Qml.so.5
#17 0x00007ff08ac313a4 in  () at /usr/lib/libQt5Qml.so.5
#18 0x00007ff08ac327a9 in  () at /usr/lib/libQt5Qml.so.5
#19 0x00007ff08ac33444 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#20 0x00007ff08ac35a60 in  () at /usr/lib/libQt5Qml.so.5
#21 0x00007ff087dbeb60 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#22 0x00007ff088d8e183 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007ff088d9087a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007ff06dd4c3f1 in  () at /usr/lib/qt/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#25 0x00007ff088d94984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007ff088d9c25b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ff087d94bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#28 0x00007ff08b9c6d8a in QQuickWindowPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#29 0x00007ff08b9cbfc0 in QQuickWindow::keyPressEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#30 0x000055a2220372d7 in  ()
#31 0x00007ff0885d9035 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0x00007ff08b9d695c in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#33 0x00007ff088d94984 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007ff088d9c25b in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007ff087d94bc9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#36 0x00007ff0885c8ed2 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#37 0x00007ff0885ce4f6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#38 0x00007ff0885a5a5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#39 0x00007ff079eefb3d in  () at /usr/lib/libQt5XcbQpa.so.5
#40 0x00007ff087d9385c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007ff087d9bb56 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#42 0x000055a22202b85a in  ()
#43 0x00007ff08740106b in __libc_start_main () at /usr/lib/libc.so.6
#44 0x000055a22202bc1a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-07-13 09:46:12 UTC
*** Bug 396459 has been marked as a duplicate of this bug. ***
Comment 2 Justin Zobel 2020-12-04 00:23:17 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-19 04:35:19 UTC
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!
Comment 4 magiblot 2020-12-19 21:07:48 UTC
Fixed. Dragging icons on the desktop no longer pops out a context menu, but effectively changes their position. So there is no way to reproduce the issue in Plasma 5.20.5.

Setting to RESOLVED > WORKSFORME because I have no clue when this was fixed.