[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 36065] dragging from a window should not raise it
From: Tim Hutt <tdh29 () cam ! ac ! uk>
Date: 2006-08-21 21:47:05
Message-ID: 20060821214705.17162.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=36065
------- Additional Comments From tdh29 cam ac uk 2006-08-21 23:47 -------
Ok I investigated how windows does this, and its algorithm is this:
On mouse-down, if the clicked item can be dragged, do nothing, otherwise raise and \
pass click. If it is possible for the item to be dragged, wait for mouse-up or \
mouse-move to decide what to do.
The trouble with implementing this on linux, is that there is no easy way (afaics) to \
tell whether the item under the mouse can be dragged.
I looked in Qt a while ago, and QWidget's don't seem to make that information \
available - to support d&d you just modify the onMouseMove event (or something).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic