Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Starting QMessageBox while moving window
Forum Updated to NodeBB v4.3 + New Features

Starting QMessageBox while moving window

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    floatingWoods
    wrote on last edited by
    #1

    Hello,

    I have a strange thing happening:

    when I trigger a modal QMessageBox while the user is moving the application window, then the mouse can't interact anymore with any application/window/button on the desktop. Only <alt + Tab> helps to restore a "normal" mouse operation. I am not sure if this is a bug, but it only appears on the Windows platform (Linux and Mac work fine in the same situation).

    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      It maybe usual Windows window manager behavior or you have discovered a bug.
      Could you create simple app that reproduce the problem and post a bugreport on https://bugreports.qt-project.org/

      1 Reply Last reply
      0
      • F Offline
        F Offline
        floatingWoods
        wrote on last edited by
        #3

        Thank you for your reply. I will post a bugreport.
        At the same time I am looking for a workaround in the mean time. Any idea how I could detect a situation where the window is being moved or resized? I do not mean the signals "resizeEvent" or similar, since they are not called when the mouse is not moving (even if the mouse is caught in a window move or resize operation). I am more looking for a function like: "isResizeOperationUnderway", or "isWindowMoveOperationUnderway".

        Thanks!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          I don't know if these events exist.
          If you could post a simple example that reproduces the scenario we can try to find a solution together.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            floatingWoods
            wrote on last edited by
            #5

            Hello again,

            thank you. I have posted the issue as a bugreport here:
            https://bugreports.qt-project.org/browse/QTBUG-43308

            Attached to the bugreport, there is also a simple application that reveals the problem.

            Thanks!

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved