зеркало из https://github.com/mono/mail-archives.git
208 строки
7.2 KiB
HTML
208 строки
7.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 323053] DataGrid: Arrow and Tab keys not working
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20323053%5D%20DataGrid%3A%20Arrow%20and%20Tab%20keys%20not%20working&In-Reply-To=bug-323053-28286%40https.bugzilla.novell.com/">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="079629.html">
|
|
<LINK REL="Next" HREF="079570.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 323053] DataGrid: Arrow and Tab keys not working</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20323053%5D%20DataGrid%3A%20Arrow%20and%20Tab%20keys%20not%20working&In-Reply-To=bug-323053-28286%40https.bugzilla.novell.com/"
|
|
TITLE="[Mono-bugs] [Bug 323053] DataGrid: Arrow and Tab keys not working">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Sep 17 14:14:39 EDT 2008</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="079629.html">[Mono-bugs] [Bug 427039] Need a low-level keystroke filter
|
|
</A></li>
|
|
<LI>Next message: <A HREF="079570.html">[Mono-bugs] [Bug 323053] DataGrid: Arrow and Tab keys not working
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#79569">[ date ]</a>
|
|
<a href="thread.html#79569">[ thread ]</a>
|
|
<a href="subject.html#79569">[ subject ]</a>
|
|
<a href="author.html#79569">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=323053">https://bugzilla.novell.com/show_bug.cgi?id=323053</A>
|
|
|
|
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">nagappan at gmail.com</A> added comment
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=323053#c2">https://bugzilla.novell.com/show_bug.cgi?id=323053#c2</A>
|
|
|
|
|
|
|
|
|
|
|
|
--- Comment #2 from Nagappan A <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">nagappan at gmail.com</A>> 2008-09-17 12:14:39 MDT ---
|
|
Created an attachment (id=240128)
|
|
--> (<A HREF="https://bugzilla.novell.com/attachment.cgi?id=240128">https://bugzilla.novell.com/attachment.cgi?id=240128</A>)
|
|
Proposed patch
|
|
|
|
The attached patch fixes the crash. But I notice:
|
|
|
|
1) always the first row / first column value is null. If I select that, I get a
|
|
warning window, saying that "Exception of type
|
|
'System.Data.NoNullAllowedException' was thrown. Do you wish to correct the
|
|
value?".
|
|
2) When I press tab in second column with this test say, I have 5 rows and each
|
|
of them has a value. If I navigate back in row 2 and column 2 using tab key,
|
|
the previous column value is getting stored and further pressing tab, I get a
|
|
warning window "Column 'Column2' us constrained to be unique. Value 'b' is
|
|
already present. Do you wish to correct the value?"
|
|
3) If I press No in procedure 2, I get:
|
|
|
|
System.IndexOutOfRangeException: Array index is out of range.
|
|
at System.Windows.Forms.DataGrid.InvalidateRowHeader (Int32 row) [0x0002c] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:3143
|
|
at System.Windows.Forms.DataGrid.EndEdit
|
|
(System.Windows.Forms.DataGridColumnStyle gridColumn, Int32 rowNumber, Boolean
|
|
shouldAbort) [0x0006b] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:1075
|
|
at (wrapper remoting-invoke-with-check) System.Windows.Forms.DataGrid:EndEdit
|
|
(System.Windows.Forms.DataGridColumnStyle,int,bool)
|
|
at System.Windows.Forms.DataGrid.EndEdit () [0x0003c] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:2501
|
|
at System.Windows.Forms.DataGrid.ScrollToColumnInPixels (Int32 pixel)
|
|
[0x0007e] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:2548
|
|
at System.Windows.Forms.DataGrid.EnsureCellVisibility (DataGridCell cell)
|
|
[0x00053] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:2260
|
|
at System.Windows.Forms.DataGrid.set_CurrentCell (DataGridCell value)
|
|
[0x00216] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:533
|
|
at System.Windows.Forms.DataGrid.ProcessGridKey
|
|
(System.Windows.Forms.KeyEventArgs ke) [0x001de] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:1871
|
|
at System.Windows.Forms.DataGrid.ProcessKeyPreview
|
|
(System.Windows.Forms.Message& m) [0x00028] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGrid.cs:1994
|
|
at System.Windows.Forms.Control.ProcessKeyPreview
|
|
(System.Windows.Forms.Message& m) [0x0000b] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4743
|
|
at System.Windows.Forms.DataGridTextBox.ProcessKeyMessage
|
|
(System.Windows.Forms.Message& m) [0x000fe] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBox.cs:126
|
|
at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message& m)
|
|
[0x0003e] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs:1535
|
|
at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message& m)
|
|
[0x000d0] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs:606
|
|
at System.Windows.Forms.DataGridTextBox.WndProc
|
|
(System.Windows.Forms.Message& m) [0x00031] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBox.cs:149
|
|
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
|
|
(System.Windows.Forms.Message& m) [0x00000] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:228
|
|
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
|
|
(System.Windows.Forms.Message& m) [0x00000] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:209
|
|
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
|
|
wParam, IntPtr lParam) [0x00085] in
|
|
/home/nags/work/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242
|
|
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="079629.html">[Mono-bugs] [Bug 427039] Need a low-level keystroke filter
|
|
</A></li>
|
|
<LI>Next message: <A HREF="079570.html">[Mono-bugs] [Bug 323053] DataGrid: Arrow and Tab keys not working
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#79569">[ date ]</a>
|
|
<a href="thread.html#79569">[ thread ]</a>
|
|
<a href="subject.html#79569">[ subject ]</a>
|
|
<a href="author.html#79569">[ 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>
|