[Bug 926129] [NEW] Drag and drop does not take into account window shaping

Albert Astals Cid albert.astals at canonical.com
Fri Feb 3 15:13:34 UTC 2012

Public bug reported:

There is a bug in Qt 4.8.0 that it does not take into account shaping in
findRealWindow in qdnd_x11.cpp so in some cases drag and drop does not

It can happen that there is a window covering all the screen but it is shaped
to only take part of the screen. If that happens, besides the condition of
we also need to query the server for its region rectangles and make
sure the cursor is inside one of those rectangles. If that does not happen
we have to return 0 so the hierarchical XQueryTree search continues

There is an approved Merge Request at Qt-project.org about this

If you don't have an account at Qt-project.org you can find the patch at

We need this for Unity-2d

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.

  Drag and drop does not take into account window shaping

To manage notifications about this bug go to:

More information about the kubuntu-bugs mailing list