[Mono-bugs] [Bug 576426] New: Windows.Forms app gives kCGErrorCannotComplete, invalid device window errors

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 3 03:02:28 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=576426

http://bugzilla.novell.com/show_bug.cgi?id=576426#c0


           Summary: Windows.Forms app gives kCGErrorCannotComplete,
                    invalid device window errors
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johnnynine at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7

The attached project runs in Linux but has problems on a Mac. Follow the steps
below using the attached project. More info is given below.

Reproducible: Always

Steps to Reproduce:
1. Compile and run the attached VS project using MonoDevelop on a Mac.
2. Click in the username, password, and server address text boxes.
3. You will notice that you can't actually enter any text in the text boxes
(but they work on linux mono).
4. Click the right arrow.
5. Right click when the screen says "Connecting..." as select "Toggle
Fullscreen".
6. You will notice nothing happens. This also does not work in Linux, but does
in Windows. I tried to debug this but I seem to get the "Debugger
Application..." feature to work.
7. Right click and select Exit.

Actual Results:  
1. The sign-in window text boxes should allow text entry.
2. The Toggle Fullscreen menu item should work (it works in Windows).
3. The Application Output shows the following errors:

Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceGetGeometry: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorFailure: Set a
breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceGetGeometry: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceGetGeometry: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceGetGeometry: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceGetGeometry: Invalid device window
Wed Feb  3 00:27:54 macmini.local mono[26003] <Error>: kCGErrorCannotComplete:
CGSDeviceSynchronize: Invalid device window

Expected Results:  
1. The text boxes should allow entry... they do work when running on Linux
mono.
2. The toggle fullscreen menu item should work but I can't seem to get the
"Debugger Application..." feature to work.
3. The application output should not show the "invalid device window" errors.

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