Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89063

Dragging on disabled QGraphicsView moves the whole Application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Incomplete
    • Affects Version/s: 5.12.10
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows, X11
    • Platform/s:
      Linux/X11

      Description

      When clicking and dragging on a DISABLED QGraphicsView component on a QMainiWndow, the whole application is moved. This happens with the component at ANY level, from central widget down to any level (this works even on complex UI hierarchies, doesn't matter if containers are enabled or disabled).

      Attached are 4 files for demonstrating the issue.

       

      The expected behayiour would be the events (clicking + dragging) to be ignored as it happens with ANY other disabled component (buttons, anything else)

       

      Instead, the WHOLE application moves.

       

      DisabledViewTest.pro

        Attachments

        1. DisabledViewTest.pro
          0.9 kB
          Federico Fuga
        2. main.cpp
          0.2 kB
          Federico Fuga
        3. mainwindow.cpp
          0.2 kB
          Federico Fuga
        4. mainwindow.h
          0.2 kB
          Federico Fuga
        5. qtbug-89063.zip
          2 kB
          Kai Köhne
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            f.fuga Federico Fuga
            Reporter:
            f.fuga Federico Fuga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes