[Bug 9932] Listview highlight issues when drag&drop enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 8 16:23:35 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=9932

--- Comment #16 from Daniel Jelinski <djelinski1 at gmail.com> 2013-02-08 16:23:35 CST ---
There's more issues here:
- with native comctl dragging almost works, except that the cursor is replaced
by a black square. I already sent a patch for that:
http://www.winehq.org/pipermail/wine-patches/2013-February/122123.html
- with builtin two cursors appear during dragging. This is because Delphi calls
ImageList_SetDragCursorImage twice, with different hotspot coordinates.
Apparently in native this results in a single cursor - in wine it paints two.
- also the icon being dragged is invisible. It disappears when
ImageList_SetDragCursorImage is called. That's because listview creates
imagelist with no mask. When that is merged with cursor image, the resulting
imagelist contains incorrect mask. Then alpha blending removes the image.
The solution involves creating correctly masked imagelist in listview, which
seems nontrivial.
- finally when the icon is painted, item text uses System font instead of the
font used by listview. I don't know why this happens yet.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list