notes icon indicating copy to clipboard operation
notes copied to clipboard

Bug: Dragging a card in the Notes list to another section exits the application

Open jheyd opened this issue 1 month ago • 2 comments

  • Dragging a card in the Notes list from the "Notes" section to the "Pinned" section exits the application.
  • Dragging a card in the Notes list from the "Pinned" section to the "Notes" section exits the application.

No output is printed, the application just exits.

Environment

  • flatpak
  • Linux Mint 22.2 Cinnamon
  • Cinnamon Version 6.4.8 (X11)

jheyd avatar Dec 06 '25 10:12 jheyd

Can you test on latest git?

Just checked on 2.3.1, and I notice that simply dragging a note (doesn't matter if it's pinned or not) will crash notes. This doesn't happen on latest git for me.

gdb backtrace:

0x00007fffea1c49c4 in QtWaylandClient::QWaylandDataDevice::startDrag (this=this@entry=0x555556127670, mimeData=0x1, supportedActions=..., supportedActions@entry=..., icon=icon@entry=0x555557060d90)
    at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddatadevice.cpp:98
/home/zjeffer/.cache/debuginfod_client/11a4037d6a70e31b61e40f0faed477bd0dadf1d1/source-65b8dab5-#usr#src#debug#qt6-base#qtbase#src#plugins#platforms#wayland#qwaylanddatadevice.cpp:98:2777:beg:0x7fffea1c49c4
(gdb)
(gdb) bt                                                                                                                     #0  0x00007fffea1c49c4 in QtWaylandClient::QWaylandDataDevice::startDrag (this=this@entry=0x555556127670, mimeData=0x1, supportedActions=..., supportedActions@entry=..., icon=icon@entry=0x555557060d90)
    at /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylanddatadevice.cpp:98
#1  0x00007fffea1c58a9 in QtWaylandClient#2  0x00007ffff6224393 in QBasicDrag::drag (this=0x55555612c8a0, o=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qsimpledrag.cpp:174
#3  0x00007ffff6225601 in QDragManager::drag (this=0x555556e0b2c0, o=o@entry=0x555556f98860) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qdnd.cpp:81
#4  0x00007ffff6225872 in QDrag::exec (this=<optimized out>, supportedActions=..., defaultDropAction=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qdrag.cpp:248
#5  QDrag::exec (this=0x555556f98860, supportedActions=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qdrag.cpp:203
#6  0x0000555555e796b8 in ??? ()
#7  0x00007ffff6f5ccbf in QWidget::event (this=0x555556e6dcf0, event=0x7fffffffc880) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8991
#8  0x00007ffff6fcb766 in QFrame::event (this=0x555556e6dcf0, e=0x7fffffffc880) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qframe.cpp:522
#9  0x00007ffff556846a in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x555557206250, event=event@entry=0x7fffffffc880) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1246
#10 0x00007ffff6f021b0 in QApplicationPrivate::notify_helper (this=this@entry=0x555556093870, receiver=receiver@entry=0x555557206250, e=e@entry=0x7fffffffc880) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3299
#11 0x00007ffff6f03c37 in QApplication::notify (this=<optimized out>, receiver=0x555557206250, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2785
#12 0x00007ffff556a958 in QCoreApplication::notifyInternal2 (receiver=0x555557206250, event=0x7fffffffc880) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#13 0x00007ffff556a9ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1563
#14 0x00007ffff6ef8068 in QApplicationPrivate::sendMouseEvent
    (receiver=0x555557206250, event=0x7fffffffc880, alienWidget=<optimized out>, nativeWidget=0x7fffffffd440, buttonDown=0x7ffff7548730 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false)
    at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2366
#15 0x00007ffff6f77507 in QWidgetWindow::handleMouseEvent (this=0x555556e80350, event=event@entry=0x7fffffffcc10) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:688
#16 0x00007ffff6f7836b in QWidgetWindow::event (this=<optimized out>, event=0x7fffffffcc10) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:293
#17 0x00007ffff6f021c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555556e80350, e=0x7fffffffcc10) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#18 0x00007ffff556a958 in QCoreApplication::notifyInternal2 (receiver=0x555556e80350, event=0x7fffffffcc10) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#19 0x00007ffff556a9ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1563
#20 0x00007ffff5da8218 in QGuiApplicationPrivate::processMouseEvent (e=0x55555819bfd0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2470
#21 0x00007ffff5e2ca2c in QWindowSystemInterface::sendWindowSystemEvents (flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1117
#22 0x00007ffff5e2cc08 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1086
#23 0x00007ffff55c4994 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#24 0x00007ffff6f021c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5555561175c0, e=0x7fffdc0015b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#25 0x00007ffff556a958 in QCoreApplication::notifyInternal2 (receiver=0x5555561175c0, event=event@entry=0x7fffdc0015b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#26 0x00007ffff556ad30 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7fffdc0015b0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555556112b90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#28 0x00007ffff584ae18 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#29 postEventSourceDispatch (s=0x5555561147e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#30 0x00007ffff4f06f8d in g_main_dispatch (context=0x7fffe4000f60) at ../glib/glib/gmain.c:3565
#31 0x00007ffff4f08657 in g_main_context_dispatch_unlocked (context=0x7fffe4000f60) at ../glib/glib/gmain.c:4425
#32 g_main_context_iterate_unlocked (context=context@entry=0x7fffe4000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#33 0x00007ffff4f08865 in g_main_context_iteration (context=0x7fffe4000f60, may_block=1) at ../glib/glib/gmain.c:4556
#34 0x00007ffff5848152 in QEventDispatcherGlib::processEvents (this=0x555556114290, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#35 0x00007ffff5575786 in QEventLoop::processEvents (this=0x7fffffffd350, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#36 QEventLoop::exec (this=0x7fffffffd350, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#37 0x00007ffff556f3f1 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#38 0x0000555555df81c0 in ??? ()
#39 0x00007ffff4c27635 in __libc_start_call_main (main=main@entry=0x555555df79f0, argc=argc@entry=1, argv=argv@entry=0x7fffffffd9d8) at ../sysdeps/nptl/libc_start_call_main.h:58
#40 0x00007ffff4c276e9 in __libc_start_main_impl (main=0x555555df79f0, argc=1, argv=0x7fffffffd9d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd9c8) at ../csu/libc-start.c:360
#41 0x0000555555d756e5 in ??? ()
(gdb)

@nuttyartist I'm thinking we should make a new minor release from latest git?

zjeffer avatar Dec 06 '25 11:12 zjeffer

https://github.com/user-attachments/assets/22823077-6e26-4fed-ac7f-f1c4e959c750

I can't reproduce this in macOS, is this issue only on Linux? (Used the .dmg of 2.3.1).

nuttyartist avatar Dec 06 '25 15:12 nuttyartist