[Mono-bugs] [Bug 348649] New: Flat style button wrong background image and problem with text selection.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 14 03:21:21 EST 2007


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


           Summary: Flat style button wrong background image and problem
                    with text selection.
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: 32bit
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Drawing.
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: manfred.ramoser at emdse.eu
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=187588)
 --> (https://bugzilla.novell.com/attachment.cgi?id=187588)
Contains the test project which shows the bug.

Hello,
while trying to port a .Net Windows Forms application to Linux I run into the
following problems with Mono:

1) If the style of a button is set to flat, there is set a background image and
the user does not specify a MouseOverBackColor in the point FlatAppearance then
on MouseOver the background image disappears and a grey background is shown.
This happens also if the MouseOverBackColor is set to some color; the only
difference is that then on MouseOver this color is shown instead of grey but
the background image is still hidden.
Under windows this works correctly because regardless of the
MouseOverBackColor, if a background image is set it is visible.

If someone needs to resolve this issue in an easy way it is enough to set the
MouseOverBackColor to transparent. Then it should work on operating systems
that support transparency.

2) The second thing that I noticed is that there occur nasty graphical effects
when selecting text in a textbox, richtextbox,...

A test case and explanation of the problems can be found in the sample project
which is attached to this bug report.

Regards
Manfred


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