зеркало из https://github.com/mono/mail-archives.git
171 строка
5.1 KiB
HTML
171 строка
5.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 554635] New: System.Drawing.Point.Point(int) transposes X & Y
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20554635%5D%20New%3A%20System.Drawing.Point.Point%28int%29%0A%09transposes%20X%20%26%20Y&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="094883.html">
|
|
<LINK REL="Next" HREF="095182.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 554635] New: System.Drawing.Point.Point(int) transposes X & Y</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20554635%5D%20New%3A%20System.Drawing.Point.Point%28int%29%0A%09transposes%20X%20%26%20Y&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 554635] New: System.Drawing.Point.Point(int) transposes X & Y">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Nov 11 13:25:11 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="094883.html">[Mono-bugs] [Bug 554587] New: System.AppDomain.CurrentDomain.BaseDirectory does not contains ending separator
|
|
</A></li>
|
|
<LI>Next message: <A HREF="095182.html">[Mono-bugs] [Bug 554635] System.Drawing.Point.Point(int) transposes X & Y
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#94885">[ date ]</a>
|
|
<a href="thread.html#94885">[ thread ]</a>
|
|
<a href="subject.html#94885">[ subject ]</a>
|
|
<a href="author.html#94885">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=554635">http://bugzilla.novell.com/show_bug.cgi?id=554635</A>
|
|
|
|
|
|
Summary: System.Drawing.Point.Point(int) transposes X & Y
|
|
Classification: Mono
|
|
Product: Mono: Class Libraries
|
|
Version: 2.6.x
|
|
Platform: All
|
|
OS/Version: All
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: Sys.Drawing.
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">landrus2 at by-rite.net</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
Created an attachment (id=326919)
|
|
--> (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=326919">http://bugzilla.novell.com/attachment.cgi?id=326919</A>)
|
|
A Form that should display Red where it is clicked
|
|
|
|
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us)
|
|
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
|
|
|
|
The constructor (.ctor) of Point that takes a single int parameter does not
|
|
work as described in the documentation
|
|
(<A HREF="http://msdn.microsoft.com/en-us/library/bf1b4f2b.aspx">http://msdn.microsoft.com/en-us/library/bf1b4f2b.aspx</A>). It transposes the X &
|
|
Y coordinates. Its behavior is consistent with the <remarks /> before its
|
|
source code. However, the documented description of the parameter is probably
|
|
more useful because it is consistent with the LParam of a mouse Message.
|
|
|
|
Reproducible: Always
|
|
|
|
Steps to Reproduce:
|
|
1. Handle a WM_LBUTTONDOWN Message (or any mouse Message).
|
|
2. Construct a Point from the LParam property of the Message. { Point p = new
|
|
Point ((int) m.LParam); }
|
|
3. Draw a small Rectangle at that Point, or display or log the coordinates of
|
|
the Point.
|
|
Actual Results:
|
|
The X & Y coordinates of the mouse event are transposed in the Point.
|
|
Rectangles appear farther to the right as the mouse is clicked farther down and
|
|
vice versa.
|
|
|
|
Expected Results:
|
|
The X & Y coordinates of the mouse event should be accurately reflected in the
|
|
Point. If drawing a Rectangle, it should appear directly under the cursor.
|
|
|
|
--
|
|
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="094883.html">[Mono-bugs] [Bug 554587] New: System.AppDomain.CurrentDomain.BaseDirectory does not contains ending separator
|
|
</A></li>
|
|
<LI>Next message: <A HREF="095182.html">[Mono-bugs] [Bug 554635] System.Drawing.Point.Point(int) transposes X & Y
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#94885">[ date ]</a>
|
|
<a href="thread.html#94885">[ thread ]</a>
|
|
<a href="subject.html#94885">[ subject ]</a>
|
|
<a href="author.html#94885">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|