[Mono-bugs] [Bug 599248] New: Keyboard input disabled in TextBox when FormBorderStyle == None

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 23 10:43:13 EDT 2010


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

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


           Summary: Keyboard input disabled in TextBox when
                    FormBorderStyle == None
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: maxicombina at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2
(KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

Putting a TextBox inside a System.Windows.Form and setting FormBorderStyle to
System.Windows.Forms.FormBorderStyle.None prevents the keyboard from typing.
Using a different option for FormBorderStyle causes no problem.

This does not happen in Linux.

Attachment shows an example. To compile:
mcs textbox.cs /r:System.Windows.Forms.dll /r:System.Drawing.dll


Reproducible: Always

Steps to Reproduce:
1. mcs textbox.cs /r:System.Windows.Forms.dll /r:System.Drawing.dll
2. mono textbox.exe
3. try to type something inside the TextBox
Actual Results:  
Can not write or delete into the TextBox!

Expected Results:  
Well, keyboard input should work :)

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