[Mono-bugs] [Bug 538037] New: ISelectionService only available after IDesignerHost.CreateComponent

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 10 07:31:28 EDT 2009


User andreas.flucke at t-online.de added comment

           Summary: ISelectionService only available after
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.flucke at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=317590)
 --> (http://bugzilla.novell.com/attachment.cgi?id=317590)

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 4.0.20506)

In the attached testcase, when requesting the ISelectionService (and maybe
others) from IServiceContainer it fails if IDesignerHost hasn't created a root
This is easy to circumvent, but not compatible with MS.Net (and took me some
time to find out).

Reproducible: Always

Steps to Reproduce:
1. Compile and run attached testcase
Actual Results:  
Exception when trying to access ISelectionService.

Expected Results:  
Should be accessible from the beginning.

I used Mono and the given Patch for #537131

Configure bugmail: http://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.

More information about the mono-bugs mailing list