[Bug 938491] [NEW] Drag and drop does not take into account input shaping

Albert Astals Cid albert.astals at canonical.com
Wed Feb 22 08:46:10 UTC 2012


Public bug reported:

This is a follow up of
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/926129

Take into account input shaping in findRealWindow

In previous commits we took into account bound shaping, but X also
supports input shaping, so make sure it's inside both input and bounding
shaping to consider the position as inside a window

My tests show that when unset Bound Shaping and Input Shaping return the
rectangle of the window itself, so we need to be inside both of the
rectangle sets to consider the position as a dragabble position for the
window

You can find the patch at
http://qt.gitorious.org/qt/qt/commit/33bb996c83e541c26df632b3e8883a1190cc97f0/diffs

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.
https://bugs.launchpad.net/bugs/938491

Title:
  Drag and drop does not take into account input shaping

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/938491/+subscriptions




More information about the kubuntu-bugs mailing list