Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15245

UI freezes sometimes when dragging materials from material browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QDS 4.8
    • QDS 4.8
    • Material Browser
    • None
    • Windows
    • 2
    • b68ee8a13 (qds/dev)
    • QDS Oulu - 2025 Week 15/16

    Description

      • Create new 3d project
      • Add e.g. glass material from content library or create a new material
      • Repeatedly drag materials from material browser into navigator or other views

      -> Sometimes the entire UI freezes after the drag starts. Unclear how to reproduce this reliably, but usually happens within a <10 drags if it's going to happen. However, sometimes it won't happen at all until QDS is restarted.

      Stack trace of the freeze:

      1  NtUserGetMessage                                       win32u                              0x7fff8b031104 
      2  GetMessageW                                            USER32                              0x7fff8ce9210e 
      3  startDoDragDrop                                        qwindowsdrag.cpp               661  0x7fff611c4017 
      4  QWindowsDrag::drag                                     qwindowsdrag.cpp               746  0x7fff611c3320 
      5  QDragManager::drag                                     qdnd.cpp                       82   0x7fff39726a8f 
      6  QDrag::exec                                            qdrag.cpp                      248  0x7fff39727f27 
      7  QmlDesigner::Model::startDrag                          model.cpp                      2001 0x7fff26ddcc7f 
      8  QmlDesigner::MaterialBrowserWidget::eventFilter        materialbrowserwidget.cpp      120  0x7ffec1b97cf9 
      9  QCoreApplicationPrivate::sendThroughObjectEventFilters qcoreapplication.cpp           1309 0x7fff3abe5ba7 
      10 QApplicationPrivate::notify_helper                     qapplication.cpp               3290 0x7fff3c1a34a7 
      11 QApplication::notify                                   qapplication.cpp               2774 0x7fff3c1a1658 
      12 QCoreApplication::notifyInternal2                      qcoreapplication.cpp           1172 0x7fff3abe313f 
      13 QApplicationPrivate::sendMouseEvent                    qapplication.cpp               2355 0x7fff3c1a6446 
      14 QWidgetWindow::handleMouseEvent                        qwidgetwindow.cpp              668  0x7fff3c20bfc7 
      15 QWidgetWindow::event                                   qwidgetwindow.cpp              300  0x7fff3c20994f 
      16 QApplicationPrivate::notify_helper                     qapplication.cpp               3298 0x7fff3c1a34c2 
      17 QApplication::notify                                   qapplication.cpp               3250 0x7fff3c1a25f6 
      18 QCoreApplication::notifyInternal2                      qcoreapplication.cpp           1172 0x7fff3abe313f 
      19 QGuiApplicationPrivate::processMouseEvent              qguiapplication.cpp            2465 0x7fff393a83fc 
      20 QWindowSystemInterface::sendWindowSystemEvents         qwindowsysteminterface.cpp     1119 0x7fff3940427b 
      21 QEventDispatcherWin32::processEvents                   qeventdispatcher_win.cpp       470  0x7fff3ad6eb70 
      22 QWindowsGuiEventDispatcher::processEvents              qwindowsguieventdispatcher.cpp 37   0x7fff396b7de9 
      23 QWindowsOleDropSource::QueryContinueDrag               qwindowsdrag.cpp               377  0x7fff611c1def 
      24 OleGetPackageClipboardOwner                            ole32                               0x7fff8b6fd2ee 
      25 DoDragDrop                                             ole32                               0x7fff8b6fdd3c 
      26 startDoDragDrop                                        qwindowsdrag.cpp               669  0x7fff611c406c 
      27 QWindowsDrag::drag                                     qwindowsdrag.cpp               746  0x7fff611c3320 
      28 QDragManager::drag                                     qdnd.cpp                       82   0x7fff39726a8f 
      29 QDrag::exec                                            qdrag.cpp                      248  0x7fff39727f27 
      30 QmlDesigner::Model::startDrag                          model.cpp                      2001 0x7fff26ddcc7f 
      31 QmlDesigner::MaterialBrowserWidget::eventFilter        materialbrowserwidget.cpp      120  0x7ffec1b97cf9 
      32 QCoreApplicationPrivate::sendThroughObjectEventFilters qcoreapplication.cpp           1309 0x7fff3abe5ba7 
      33 QApplicationPrivate::notify_helper                     qapplication.cpp               3290 0x7fff3c1a34a7 
      34 QApplication::notify                                   qapplication.cpp               2774 0x7fff3c1a1658 
      35 QCoreApplication::notifyInternal2                      qcoreapplication.cpp           1172 0x7fff3abe313f 
      36 QApplicationPrivate::sendMouseEvent                    qapplication.cpp               2355 0x7fff3c1a6446 
      37 QWidgetWindow::handleMouseEvent                        qwidgetwindow.cpp              668  0x7fff3c20bfc7 
      38 QWidgetWindow::event                                   qwidgetwindow.cpp              300  0x7fff3c20994f 
      39 QApplicationPrivate::notify_helper                     qapplication.cpp               3298 0x7fff3c1a34c2 
      40 QApplication::notify                                   qapplication.cpp               3250 0x7fff3c1a25f6 
      41 QCoreApplication::notifyInternal2                      qcoreapplication.cpp           1172 0x7fff3abe313f 
      42 QGuiApplicationPrivate::processMouseEvent              qguiapplication.cpp            2465 0x7fff393a83fc 
      43 QWindowSystemInterface::sendWindowSystemEvents         qwindowsysteminterface.cpp     1119 0x7fff3940427b 
      44 QEventDispatcherWin32::processEvents                   qeventdispatcher_win.cpp       470  0x7fff3ad6eb70 
      45 QWindowsGuiEventDispatcher::processEvents              qwindowsguieventdispatcher.cpp 37   0x7fff396b7de9 
      46 QEventLoop::exec                                       qeventloop.cpp                 184  0x7fff3abe9c44 
      47 QCoreApplication::exec                                 qcoreapplication.cpp           1515 0x7fff3abe1642 
      48 main                                                   main.cpp                       1026 0x7ff6ee727797 
      49 qtEntryPoint                                           qtentrypoint_win.cpp           59   0x7ff6ee72fd00 
      50 __scrt_common_main_seh                                 exe_common.inl                 288  0x7ff6ee72e92a 
      51 BaseThreadInitThunk                                    KERNEL32                            0x7fff8c447374 
      52 RtlUserThreadStart                                     ntdll                               0x7fff8d3bcc91 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes