[Mono-bugs] [Bug 427884] New: ToolTip.SetToolTip() messes up line breaks

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 19 14:32:47 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=427884


           Summary: ToolTip.SetToolTip() messes up line breaks
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: awunwpa7 at yahoo.com.ph
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer


Description of Problem:

Contrary to the MS framework, MONO's ToolTip class cannot display line breaks
('\n') correctly.

Steps to reproduce the problem:

Consider the following C# example:


ToolTip t;
t.SetToolTip( some_cntrl, "Line1\nLine2" );


Actual Results:

It seems that a tool tip window with the correct bounds (two lines) is shown,
but the text is displayed only as a single line, with a non printable character
instead of the newline char. Also this single line exceeds the bounds of the
window and cannot be read fully.

Expected Results:

The text should appear in two separate lines and be completly readable.

How often does this happen?

Always.


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


More information about the mono-bugs mailing list