[Bug 24514] LVM_SUBITEMHITTEST should return negative subitem index for negative Y coordinate

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 26 03:37:28 CDT 2010


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

--- Comment #3 from Austin Lund <austin.lund at gmail.com> 2010-09-26 03:37:28 CDT ---
(In reply to comment #2)
> So if there's no application that depends on this for now, I'm suggesting it to
> be fixed in tests and another todo test to be added that shows negative subitem
> index increasing.

Setting y=-1 stops the failures, but I'm not exactly sure how to do the
"negative subitem index increasing" bit to be locale independent as I'm not
100% sure what it's doing.  It does seem to be doing a calculation of the index
by just dividing the y coordinate by a height (perhaps the height of an item),
but exactly where the change from -1 to -2 and -2 to -3 (etc.) occurs seems
perplexing to me.

-- 
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