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

Hiding a QToolTip while a drag and drop event sometimes interrupts program execution on X11 (bad window error)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.4
    • 4.7.3
    • None
    • X11 (tested with Linux/Ubuntu 10.04) + Qt 4.7.3 (reproduces also with Qt 4.7.2). Error is not reproduced on Windows.
    • 16fae7e72c4688f5000cb825da2cab3c0d2baa28

    Description

      Run the attached example code (modified from Qt example application /examples/draganddrop/draggableicons/) and execute following use case:

      • drag one of the icon to top of the text label "Drop Icon here.This a simple example to test Drag drop issue."
        --> tool tip is displayed outside the widget window.
      • continue dragging until the icon is on top of the tool tip and drop the icon

      Error: sometimes the program execution interrupts.

      • interruption happens after calling QToolTip::hideText(); on the attached dragwidget.cpp line 72
      • Qt generates debug print "xdndHandleBadwindow returned true" from qapplication_x11.cpp: qt_x_errhandler() function
        Easy to reproduce on X11. Error is not reproduced on Windows.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            tarjasundqvist Tarja Sundqvist
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes