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

QDrag Pixmap problems on Windows 7 (64Bit)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.7.2, 4.7.3, 4.8.0, 5.4.0
    • GUI: Drag and Drop
    • None
    • Intel I5 with on board Intel GMA graphics, 4 GB RAM, Windows 7 (64bit), MinGw delivered with Qt SDK

    Description

      I have a problem with pixmaps in QDrag class. The problem is that directly after entering the QDrag::exec() function a "destroyed" image appears beneath the mouse cursor. "Destroyed" means there are black/white lines in the image. The image is on "hot-spot" position (0,0) even if there's another hot-spot set. This "destroyed" image appears only a very short time. Sometimes the whole screen flickers for a short time too (depends on the pixmap set with QDrag::setPixmap()). One time I got a destroyed mouse cursor. After that short strange behaviour the dragging is working correctly. I tested Qt 4.7.2 as well as 4.7.3 (all 32 bit) under Windows 7 (64 bit). The problem also appears in the Qt Drag&Drop Puzzle and the Drag&Drop DragableIcons example. The problem does not appear in the GraphicsView DragDropRobot example.

      Thanks...

      Attachments

        1. main.cpp
          0.2 kB
        2. TestDragCursor.pro
          0.3 kB
        3. Widget.cpp
          0.6 kB
        4. Widget.h
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            cunsdorfer Ralf Schubert
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes