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

Drag and Drop/X11: DnD Esc-handling conflicts with global shortcut for 'Escape'-key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.1
    • GUI: Drag and Drop
    • None
    • c8e08e5c74fbdae8a60bdd9b08966ea7fc728845

    Description

      Subtask of http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1126

      The attached example has a QListWidget with InternalMove enabled and a global shortcut registered for the 'Escape'-key printing 'ESC" on stderr.

      To reproduce:

      • Drag a list item around and press 'Escape'
      • X11- Bug: DnD is not canceled, "ESC" is printed (that is, the shortcut slot is triggered instead).
      • WIndows/Mac: DnD is canceled as expected.

      In addition, note that pressing ESC apparently does not cancel dragging the dock widgets around on all platforms.

      The parent task is about a conflict between Qt Creator's ESC shortcut switching back to edit mode and the integrated Designer's/QmlDesigner's DnD handling.

      Attachments

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

        Activity

          People

            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes