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

Dragging on disabled QGraphicsView moves the whole Application

    XMLWordPrintable

Details

    • 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

            f.fuga Federico Fuga
            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