[Mono-bugs] [Bug 343837] User-scoped setting is initialized with application-scoped value

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343837#c4





--- Comment #4 from Mark Lambert <[EMAIL PROTECTED]>  2007-11-26 02:25:26 MST 
---
Yes, the CallUpgrade setting doesn't exist in the user settings, and the
application setttings section has some other unrelated setting.

The CallUpgrade property used to have a DefaultSettingValueAttribute on it, but
it got lost when I was chopping down the example to the minimum needed to show
the problem.

Sorry for the added confusion.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343952] New: TextBox: NRE setting Lines property

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343952

   Summary: TextBox: NRE setting Lines property
   Product: Mono: Class Libraries
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce, run the code.

Observed:

  System.NullReferenceException: Object reference not set to an instance of an
object
  at System.Windows.Forms.Document.RecalculateDocument (System.Drawing.Graphics
g, Int32 start, Int32 end, Boolean optimize) [0x0] 
  at System.Windows.Forms.Document.ResumeRecalc (Boolean immediate_update)
[0x0] 
  at System.Windows.Forms.TextBoxBase.set_Lines (System.String[] value)
[0x0] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.TextBoxBase:set_Lines (string[])
  at DialogMessages..ctor () [0x0] 
  at (wrapper remoting-invoke-with-check) DialogMessages:.ctor ()
  at Test.Main () [0x0] 

Code to reproduce:

using System;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
using System.Collections;

public class Test
{
[STAThread]
static void Main()
{
try
{
Application.Run(new DialogMessages());
} catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}

}
}

public class DialogMessages : Form {
private TextBox tbMessages = new TextBox();

public DialogMessages(){
IList msgs = new string[1];
msgs[0] = "";

string[] lines = new string[msgs.Count];
int l = 0;
foreach (string msg in msgs)  {
lines[l++] = msg;
}
tbMessages.Lines = lines;
return;
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343956] New: Cannot use VBCodeProvider

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343956

   Summary: Cannot use VBCodeProvider
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: System
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce, run code.

Observed:

1 Errors:
Line: 0 - 

Code:

using System;
using System.Windows.Forms;
using Microsoft.VisualBasic;
using System.CodeDom.Compiler;

public class Test
{
[STAThread]
static void Main()
{
try
{
VBCodeProvider provider = new VBCodeProvider();
CompilerParameters compilerParameters = new CompilerParameters();
compilerParameters.GenerateInMemory = true;

string code = @"Public Class MyClassn
Sub New()
End Sub
  ' this is the code in the  tag
End Class
";
CompilerResults compilerResults =
 provider.CompileAssemblyFromSource(compilerParameters,
code);
if (compilerResults.Errors.HasErrors)
{
string msg;
msg = compilerResults.Errors.Count.ToString() + " Errors:";

for (int x = 0; x < compilerResults.Errors.Count; x++)
msg = msg + "\r\nLine: " +

compilerResults.Errors[x].Line.ToString() + " - " +

compilerResults.Errors[x].ErrorText;
MessageBox.Show(msg);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}

}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343959] New: Couldn't impersonate token running MS ReportViewer

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343959

   Summary: Couldn't impersonate token running MS ReportViewer
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce:

Run freely donwloadable Microsoft WinForms ReportViewer 
in local mode.

Observed:

Couldn't impersonate token.
Stack trace: at System.Security.Principal.WindowsImpersonationContext..ctor
(intptr) <0x00079>at System.Security.Principal.WindowsIdentity.Impersonate
(intptr) <0x00019>at
Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext..ctor ()
<0x00010>at Microsoft.ReportingServices.Diagnostics.Utilities.RSEventLog.Init
() <0x00106>at Microsoft.ReportingServices.Diagnostics.Globals.Init
(Microsoft.ReportingServices.Diagnostics.RSConfigurationManager,Microsoft.ReportingServices.Diagnostics.Globals/RunningApplication,bool)
<0x00056>at Microsoft.ReportingServices.Diagnostics.Globals.Init
(Microsoft.ReportingServices.Diagnostics.RSConfigurationManager,Microsoft.ReportingServices.Diagnostics.Globals/RunningApplication)
<0xf>at Microsoft.Reporting.WinForms.LocalReport.Construct () <0x0002d>at
Microsoft.Reporting.WinForms.LocalReport..ctor () <0x00079>at
Microsoft.Reporting.WinForms.ReportViewer.CreateLocalReport () <0x00016>at
Microsoft.Reporting.WinForms.ReportViewer.Reset () <0x0002c>at
Microsoft.Reporting.WinForms.ReportViewer..ctor () <0x00211>at (wrapper
remoting-invoke-with-check) Microsoft.Reporting.WinForms.ReportViewer..ctor ()
<0x00021>at MyApp.MSPreviewForm.InitializeComponent () <0x00059>at
MyApp.MSPreviewForm..ctor () <0x00053>
...


Environment:

1.2.6 charged preview 2
NET 2 profile
Windows XP
VCSE 2008


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343960] New: XPathException removing comment

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343960

   Summary: XPathException removing comment
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Sys.XML
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce

Run the code

Observed:

System.Xml.XPath.XPathException: Current node is removed while it should not
be, or there are some bugs in the XPathNavigator implementation class:
Mono.Xml.XPath.XmlDocumentEditableNavigator
  at System.Xml.XPath.DescendantIterator.MoveNextCore () [0x0] 
  at System.Xml.XPath.BaseIterator.MoveNext () [0x0] 
  at System.Xml.XPath.AxisIterator.MoveNextCore () [0x0] 
  at System.Xml.XPath.BaseIterator.MoveNext () [0x0] 
  at System.Xml.XPath.SimpleSlashIterator.MoveNextCore () [0x0] 
  at System.Xml.XPath.BaseIterator.MoveNext () [0x0] 
  at System.Xml.XmlIteratorNodeList+XPathNodeIteratorNodeListIterator.MoveNext
() [0x0] 
  at Test.Main () [0x0] 

Environment:

1.2.6 charged preview 2
NET 2 profile
Windows XP
VCSE 2008


using System;
using System.Windows.Forms;
using System.Xml;

public class Test
{
[STAThread]
static void Main()
{
try
{
XmlDocument xDoc = new XmlDocument();
xDoc.PreserveWhitespace = false;
xDoc.LoadXml(xml);
XmlNodeList list = xDoc.SelectNodes("//comment()");
foreach (XmlNode node in list)
{
node.ParentNode.RemoveChild(node);
}
}
catch (Exception ex)
{
Clipboard.SetText(ex.ToString());
MessageBox.Show(ex.ToString());
}
}

const string xml = @"

";

}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343961] New: DataGridView: empty row appears in top

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343961

   Summary: DataGridView: empty row appears in top
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce

Run the code

Observed:

First row is empty

Expected:

First row should contain test

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008

Code:

using System;
using System.Windows.Forms;
using System.Collections.Generic;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new Grid());

}
}

class Grid : DataGridView
{
public Grid()
{
BindingSource BindingSource = new BindingSource();
List l = new List();
l.Add(new cust());

BindingSource.DataSource = l;
DataSource = BindingSource;
}
}

class cust
{
public string Name
{
get { return "test"; }

set { }
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343962] New: DataGridView: down arrow key ignored

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343962

   Summary: DataGridView: down arrow key ignored
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
Depends on: 343961
  Found By: ---


To reproduce

Run the code, press down arrow key

Observed:

keypress is ignored

Expected:

second row should become active.

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


Code:

using System;
using System.Windows.Forms;
using System.Collections.Generic;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new Grid());

}
}

class Grid : DataGridView
{
public Grid()
{
BindingSource BindingSource = new BindingSource();
List l = new List();
l.Add(new cust());

BindingSource.DataSource = l;
DataSource = BindingSource;
}
}

class cust
{
public string Name
{
get { return "test"; }

set { }
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343961] DataGridView: empty row appears in top

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343961


andrus moor <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Blocks||343962




-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343964] New: DataGridView: part of cell contents visible in edit mode

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343964

   Summary: DataGridView: part of cell contents visible in edit mode
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
Depends on: 343962
  Found By: ---


To reproduce

Run the code, double click in word test

Observed:

bottom pixels of word test are visible belox editing TextBox

Expected:

Only edit textbox contents should be visible in cell.

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


Code:

using System;
using System.Windows.Forms;
using System.Collections.Generic;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new Grid());

}
}

class Grid : DataGridView
{
public Grid()
{
BindingSource BindingSource = new BindingSource();
List l = new List();
l.Add(new cust());

BindingSource.DataSource = l;
DataSource = BindingSource;
}
}

class cust
{
public string Name
{
get { return "test"; }

set { }
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343962] DataGridView: down arrow key ignored

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343962


andrus moor <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Blocks||343964




-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343965] New: DataGridView: allows edit cells without setter

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343965

   Summary: DataGridView: allows edit cells without setter
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
Depends on: 343964
  Found By: ---


To reproduce, run the code, edit cell.

Observed: 

Cell is editable

Expeced:

Grid cells should be read only.

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


Code:

using System;
using System.Windows.Forms;
using System.Collections.Generic;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new Grid());

}
}

class Grid : DataGridView
{
public Grid()
{
BindingSource BindingSource = new BindingSource();
List l = new List();
l.Add(new cust());

BindingSource.DataSource = l;
DataSource = BindingSource;
}
}

class cust
{
public string Name
{
get { return "test"; }
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343964] DataGridView: part of cell contents visible in edit mode

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343964


andrus moor <[EMAIL PROTECTED]> changed:

   What|Removed |Added

 Blocks||343965




-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343966] New: DateTimePicker: cannot deactivate dropdown without selecting date

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343966

   Summary: DateTimePicker: cannot deactivate dropdown without
selecting date
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce

1. Run the code
2. Open dropdown calendar
3. Click in month name
4. Click outside dropdown calendar in form

Observed:

DropDown calendar is not closed.

Expected:

Dropdown should closed

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343966] DateTimePicker: cannot deactivate dropdown without selecting date

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343966#c1





--- Comment #1 from andrus moor <[EMAIL PROTECTED]>  2007-11-26 03:27:59 MST ---
Code to reproduce:

using System;
using System.Windows.Forms;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new DateTimePicker());
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343969] New: DateTimePicker: month selection menu not activated

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343969

   Summary: DateTimePicker: month selection menu not activated
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce

1. Run the code
2. Open dropdown calendar
3. Click in month name

Observed:

Month selection menu not activated

Expected:

Month selection menu should activated

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing & Configuration from Nov 24, 2007 monocharge
Windows XP
VCSE 2008

Code:

using System;
using System.Windows.Forms;

public class Test
{
static void Main()
{
Application.Run(new Form1());
}
}

class Form1 : Form
{
public Form1()
{
Controls.Add(new DateTimePicker());
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343971] New: ListBox: Pressing first character does not select item

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343971

   Summary: ListBox: Pressing first character does not select item
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce: run code, press 3

Observed:

Nothing happens

Expected: 

First list item must activated


Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing from Nov 24, 2007 monocharge
Windows XP
VCSE 2008

ListBox: Focused state not visible

To reproduce, run the code.

Expected:

First item (1) borders should marked with dotted rectangle 

Observed:

Focus not indicated

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343972] New: MenuStrip: Alt+U does not open menu

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343972

   Summary: MenuStrip: Alt+U does not open menu
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


To reproduce:

1. Run code
2. Press Alt+U

Observed:

User menu is not opened

Expected:

User menu should opened

Environment:

1.2.6 preview 2
NET 2 profile
System.Drawing from Nov 24, 2007 monocharge
Windows XP
VCSE 2008


using System;
using System.Windows.Forms;

public class Test {
static void Main(){
Application.Run(new Form1());
}
}

class Form1 : Form {
public Form1(){
menuStrip1 = new MenuStrip();
fileToolStripMenuItem = new ToolStripMenuItem();
openToolStripMenuItem = new ToolStripMenuItem();
userToolStripMenuItem = new ToolStripMenuItem();
loginToolStripMenuItem = new ToolStripMenuItem();
menuStrip1.Items.AddRange(new ToolStripItem[] {
fileToolStripMenuItem,
userToolStripMenuItem});
menuStrip1.TabIndex = 0;
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
openToolStripMenuItem});
fileToolStripMenuItem.Text = "File";
openToolStripMenuItem.Text = "Open";
userToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] {
loginToolStripMenuItem
});
userToolStripMenuItem.Text = "&User";
loginToolStripMenuItem.Text = "Login";
Controls.Add(menuStrip1);
MainMenuStrip = menuStrip1;
menuStrip1.PerformLayout();
PerformLayout();
}

MenuStrip menuStrip1;
ToolStripMenuItem fileToolStripMenuItem;
ToolStripMenuItem openToolStripMenuItem;
ToolStripMenuItem userToolStripMenuItem;
ToolStripMenuItem loginToolStripMenuItem;
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 344012] New: Adding to LinkLabel Links collection causes NullReferenceException

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=344012

   Summary: Adding to LinkLabel Links collection causes
NullReferenceException
   Product: Mono: Class Libraries
   Version: 1.2.6
  Platform: x86-64
OS/Version: Windows XP
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: Beta-Customer


I get a NullReferenceException with this stack trace:

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object

at Link.Invalidate () [0x7] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:882
at Link.set_Focused (bool) [0xc] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:864
at System.Windows.Forms.LinkLabel.Select (bool,bool) [0x0004b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:533
at System.Windows.Forms.Control.SelectNextControl
(System.Windows.Forms.Control,bool,bool,bool,bool) [0x00076] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4111
at System.Windows.Forms.Form.SelectActiveControl () [0x00030] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:253
at System.Windows.Forms.Form.WmActivate (System.Windows.Forms.Message&)
[0x0001d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2586
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) [0x00100]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2408
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x0] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:225
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x0] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1886
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32ShowWindow
(intptr,System.Windows.Forms.XplatUIWin32/WindowPlacementFlags) <0x4>
at System.Windows.Forms.XplatUIWin32.SetVisible (intptr,bool,bool) [0x00066] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:2144
at System.Windows.Forms.XplatUI.SetVisible (intptr,bool,bool) [0x0] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:1020
at System.Windows.Forms.Control.SetVisibleCore (bool) [0x00060] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4776
at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00071] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2333
at System.Windows.Forms.Control.set_Visible (bool) [0xc] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3260
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x0004f>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) [0x00059] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:731
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) [0x00014] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:630
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x0]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:618
at LinkLabelX.Form1.Main () <0x0002c>


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact

[Mono-bugs] [Bug 344012] Adding to LinkLabel Links collection causes NullReferenceException

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=344012#c1





--- Comment #1 from Mark Lambert <[EMAIL PROTECTED]>  2007-11-26 05:39:38 MST 
---
Created an attachment (id=184713)
 --> (https://bugzilla.novell.com/attachment.cgi?id=184713)
Test program


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 343959] Couldn't impersonate token running MS ReportViewer

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=343959#c1


Jonathan Pobst <[EMAIL PROTECTED]> changed:

   What|Removed |Added

  Component|Windows.Forms   
|System.Security




--- Comment #1 from Jonathan Pobst <[EMAIL PROTECTED]>  2007-11-26 08:11:00 MST 
---
==> System.Security


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 344156] New: System.Net.IPAddress.TryParse bug

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=344156

   Summary: System.Net.IPAddress.TryParse bug
   Product: Mono: Class Libraries
   Version: 1.2.5
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: CORLIB
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


This code should not parse successfully:

using System;
using System.Net;

namespace TCP
{
class Program
{
static void Main(string[] args)
{
IPAddress address;
if (IPAddress.TryParse("", out address))
Console.WriteLine("THIS IS A BUG");
else
Console.WriteLine("This is correct behavior");
Console.ReadLine();
}
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 344163] New: HttpListener - Not accepting local connections

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=344163

   Summary: HttpListener - Not accepting local connections
   Product: Mono: Class Libraries
   Version: 1.2.5
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: P5 - None
 Component: System
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


using System;
using System.Net;
The listener is listening at the loopback address and the request is sent to
localhost.. When initiating the webrequest on windows under .NET, it succeeds.
On windows under mono, the connection is never received.


namespace TCP
{
class Tester
{
static void Main(string[] args)
{
string location = string.Format("http://{0}:{1}/";,
IPAddress.Loopback.ToString(), 1);
HttpListener listener = new HttpListener();
listener.Prefixes.Add(location);
listener.Start();

IAsyncResult listenerResult = listener.BeginGetContext(null, null);
WebRequest webRequest =
WebRequest.Create("http://localhost:1";);

IAsyncResult requestResult = webRequest.BeginGetResponse(null,
null);
HttpListenerContext context =
listener.EndGetContext(listenerResult);
Console.WriteLine("Got the request");
Console.ReadLine();
}
}
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 344217] New: VB. NET Late binding fails with ByRef output 2-dimensional array parameters.

2007-11-26 Thread bugzilla_noreply
https://bugzilla.novell.com/show_bug.cgi?id=344217

   Summary: VB.NET Late binding fails with ByRef output 2-
dimensional array parameters.
   Product: Mono: Runtime
   Version: SVN
  Platform: x86
OS/Version: Windows XP
Status: NEW
  Severity: Major
  Priority: P5 - None
 Component: misc
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
 QAContact: [EMAIL PROTECTED]
  Found By: ---


We are migrating some code from VB 6.0 to VB.NET under VS2005 to mono.

We found a problem with late binding in which the invocation of a method with a
ByRef output parameter whose type is a bidimensional array will fail.

This is a test case that works in MS .NET implementation:

-

Option Strict Off
Option Explicit On

Module TestModule
Public Class StrangeClass
Sub TheFunc(ByRef output(,) As Double)
output(0, 0) = 1.0
End Sub
End Class

Sub Main()
Dim o As Object
o = New StrangeClass
Dim data(1, 1) As Double

o.TheFunc(data)
End Sub
End Module

-

This, however, when run on SVN mono under Windows produces the following
output:

-

[EMAIL PROTECTED]
/cygdrive/x/Test/QANP_Excel/Tests/Monocompat/LateBindingTest1/bin/Debug
$ mono --version
Mono JIT compiler version 1.2.6 (/trunk/ r90275)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
TLS:   normal
GC:Included Boehm (with typed GC)
SIGSEGV:   normal
Notification:  Thread + polling
Architecture:  x86
Disabled:  none

[EMAIL PROTECTED]
/cygdrive/x/Test/QANP_Excel/Tests/Monocompat/LateBindingTest1/bin/Debug
$ mono LateBindingTest1.exe 

Unhandled Exception: System.ArgumentException: Array was not a one-dimensional
array.
  at System.Array.GetValue (Int32 index) [0x0] 
  at Microsoft.VisualBasic.CompilerServices.LateBinder.ReorderArgumentArray
(System.Object[]& args, System.Object state) [0x0] 
  at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object target, System.Object[] args,
System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] namedParameters)
[0x0] 
  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet (System.Object
o, System.Type objType, System.String name, System.Object[] args,
System.String[] paramnames, System.Boolean[] CopyBack) [0x0] 
  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall
(System.Object Instance, System.Type Type, System.String MemberName,
System.Object[] Arguments, System.String[] ArgumentNames, System.Type[]
TypeArguments, System.Boolean[] CopyBack, Boolean IgnoreReturn) [0x0] 
  at LateBindingTest1.TestModule.Main () [0x0] 

[EMAIL PROTECTED]
/cygdrive/x/Test/QANP_Excel/Tests/Monocompat/LateBindingTest1/bin/Debug
$ 

-

The limited amount of debugging that I've been able to do seems to suggest that
Microsoft.VisualBasic.CompilerServices.LateBinder.ReorderArgumentArray() is not
actually prepared to handle this case and will try to do something with the
parameter as a 1-dimensional array, triggering the issue at
System.Array.GetValue().


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
You are the assignee for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs