[Mono-winforms-list] SWF test applications

2006-06-01 Thread Carlos Alberto Cortez
Hey, We are putting some small SWF applications in mono-cvs.ximian.com/extras/trunk/wf-apps (from sites such CodeProject and SourceForge, and free applications in general). Some of they expose small problems (bugs or performance issues). I'm taking note of some problems and trying to cook small

[Mono-winforms-list] [PATCH] Correct behavior for PrintDialog.PrinterSettings/Document

2006-07-28 Thread Carlos Alberto Cortez
IN THE SOFTWARE. // // Copyright (c) 2006 Novell, Inc. (http://www.novell.com) // // Authors: // Carlos Alberto Cortez [EMAIL PROTECTED] // using System; using System.Collections; using System.Drawing; using System.Drawing.Printing; using System.Windows.Forms; using NUnit.Framework; namespace

Re: [Mono-winforms-list] [PATCH] Correct behavior for PrintDialog.PrinterSettings/Document

2006-07-28 Thread Carlos Alberto Cortez
we can either 1) clear up the names (current_settings and printer_settings are confusing), or 2) get rid of one of them and only have one PrinterSettings object? Chris On Fri, 2006-07-28 at 14:53 -0500, Carlos Alberto Cortez wrote: Hey, The attached patch fixes the behaviour

Re: [Mono-winforms-list] ListView fails to update ListViewItem display on submember updates

2007-01-29 Thread Carlos Alberto Cortez
El dom, 28-01-2007 a las 15:05 -0600, Brian Wolfe escribió: I wrote an application in VisualStudio that uses a ListView. On windows, when I call myListView.Update() it repaints all of the changed items jsut fine. When I compile it under Mono it fails to update the rows. It should behave

Re: [Mono-winforms-list] Again problems with ListView

2007-02-15 Thread Carlos Alberto Cortez
El jue, 15-02-2007 a las 15:15 +0100, pablosantosluac escribió: Hi all, I've just detected the following problem in our GUI client (a WinForms app running on Mono/Linux). In a listView the AfterLabelEdit event doesn't seem to be working correctly. It should receive a

[Mono-winforms-list] [PATCH] ToolTip patch

2007-05-15 Thread Carlos Alberto Cortez
Hey, The small attached patch changes a pair of bits of the ToolTip class. The first change is that calling SetToolTip for a control that already shown its associated tooltip should make it visible _again_ if the mouse pointer is inside its bounds. The second one is that we were not updating

Re: [Mono-winforms-list] New to the list

2007-09-07 Thread Carlos Alberto Cortez
Hello Heh... yes, I have that feeling too. I just didn't want to made design-level changes (and even if I did want, I didn't dare since this is my first day with the winforms source code). However, I can explain how I see the problem so you guys decide if deeper changes are necesary.

Re: [Mono-winforms-list] [PATCH] Invalidate non visible areas when scrolling

2007-11-06 Thread Carlos Alberto Cortez
Hey Chris, Sorry for the late answer (spent some time fixing some other winforms bugs). Commnts below. El lun, 01-10-2007 a las 22:03 -0700, Chris Toshok escribió: It does, but I don't think we need to add tracking of invalid areas which are offscreen - the whole point of the invalid area

[Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Carlos Alberto Cortez
Hey Chris, Attached is an updated patch that basically incorporates all the things you mentioned in your last mail: * Determines the visible rectangle, and intersects it with the required area (this is, we copy only the visible area). - First by determining the visible area based on its

Re: [Mono-winforms-list] [Patch] Invalidate non visible areas in scrolling

2008-01-21 Thread Carlos Alberto Cortez
can just use this one. Jon Carlos Alberto Cortez wrote: Hey Chris, Attached is an updated patch that basically incorporates all the things you mentioned in your last mail: * Determines the visible rectangle, and intersects it with the required area (this is, we copy only

Re: [Mono-winforms-list] X11 Scrolling Regressions

2008-06-04 Thread Carlos Alberto Cortez
This is likely caused by my last scrolling patch. I'm taking a look now, Carlos. 2008/6/4 Ivan N. Zlatev [EMAIL PROTECTED]: On Wed, Jun 4, 2008 at 7:04 PM, Ernesto [EMAIL PROTECTED] wrote: Ivan N. Zlatev escribió: On Wed, Jun 4, 2008 at 6:01 PM, Ernesto [EMAIL PROTECTED] wrote: Ivan N.

[Mono-winforms-list] [Patch] Navigation for auto complete in TextBox

2008-07-13 Thread Carlos Alberto Cortez
Hey, The attached patch adds support for navigation in TextBox. It also tries to show the auto complete window when a new char has been typed, instead of trying to do so when the Text changes. The reason is that the auto complete window should only appear when the user types, but not when Text

[Mono-winforms-list] Scrolling performance isues

2008-07-25 Thread Carlos Alberto Cortez
Hey, The new code that detects not visibles areas of the window to scroll (obscured by other mwf windows or x11 top level ones), although working fine, is somewhat slow, as some people have noticed. After some research, I found that getting all the child windows for the root window (using

Re: [Mono-winforms-list] Scrolling performance isues

2008-08-07 Thread Carlos Alberto Cortez
Hey Chris Comments below. I'm also not sure flushing the paint queue before doing the XCopyArea (suggestion 1 above) will be enough either. It's very easy to imagine a scenario where you're scrolling and we do another ScrollWindow before all the GraphicsExpose events have been received.

Re: [Mono-winforms-list] [DataGrid] System.IndexOutOfRangeException: list position

2008-08-10 Thread Carlos Alberto Cortez
Hey, If it works on .net, and not in mono, please fill a bug report at http://mono-project.com/Bugs in the System.Windows.Forms section, so we can fix it. Thanks, Carlos. El dom, 10-08-2008 a las 00:08 -0700, mbertoli escribió: Hi, I have a simple DataGrid in which I load data from a

Re: [Mono-winforms-list] Scrolling performance isues

2008-08-11 Thread Carlos Alberto Cortez
El dom, 10-08-2008 a las 18:55 -0700, Chris Toshok escribió: Nice. That look pretty good, with the only issue being performance over an X connection with high latency - it'll block all UI until the redraws complete. I thought that was exactly we wanted to do ;-) That said, it's

Re: [Mono-winforms-list] DataGrid

2008-08-11 Thread Carlos Alberto Cortez
Probably it's a regression. Would you mind filling a bug report? This way we can track the error with the details. Carlos. El lun, 11-08-2008 a las 03:41 -0700, mbertoli escribió: Do anyone of you use a DataGrid in your applications? Does it work? I tried various applications on various

[Mono-winforms-list] [PATCH] Avoid sending MouseEnter messages when clicking

2008-08-11 Thread Carlos Alberto Cortez
Hey Ivanz, The attached patch reverts a check in XplatUIX11.GetMessage method, specifically handling the X11 EnterNotify message generated when clicking a control (rev 101225). Basically when a control is clicked, EnterNotify events are generated for the container form and the control being

Re: [Mono-winforms-list] Usercontrol inheritance not working with mono 1.2.6

2008-11-27 Thread Carlos Alberto Cortez
Besides what Rafael mentioned, it's important to send the code, so we can test it. Carlos. 2008/11/27 Rafael Teixeira [EMAIL PROTECTED] 1.2.6 is too old, specially for WinForms. Please upgrade to 2.x. On Wed, Nov 26, 2008 at 1:14 PM, RobWeatherford [EMAIL PROTECTED] wrote: Hi, I was

Re: [Mono-winforms-list] works!

2008-12-09 Thread Carlos Alberto Cortez
You should always include the error message ;-) I suspect you are not telling the compiler to reference System.Windows.Forms: gmcs hello-winforms.cs -r:System.Windows.Forms Carlos. 2008/12/9 pepe_eloy [EMAIL PROTECTED] Thanks Andy for your help. I ran the program as you tell me and

Re: [Mono-winforms-list] Treeview select bug

2009-02-01 Thread Carlos Alberto Cortez
This sounds like a bug. Please fill a bug report. Thanks! Carlos. 2009/2/2 qed naoti...@gmail.com The Treeview control wants to select its first item when it gains focus for the first time (after the application starts running) via a mouse-click whether the user clicked on the first item or

Re: [Mono-winforms-list] Can I execute the exe file of visual studio project on linux+MONO ?

2009-02-03 Thread Carlos Alberto Cortez
Yes, you can run winforms apps in linux. Basically you take the .exe produced by Visual Studio (usually under MyProjectName/MyProjectName/bin/Release) and then you have to run it (from the console): mono MyProjectName.exe Carlos. 2009/2/3 mohammed_aid mohammed_...@yahoo.com hello everybody,

Re: [Mono-winforms-list] Question about Linux compatibality

2009-02-08 Thread Carlos Alberto Cortez
Yeah, VB.Net is cross platform and the .exe you get should work in Mono without problems. The difference between using VB.Net and C# is mostly the fact, as far as I know, that the first uses some additional libraries (that btw have been implemented in Mono already). If your application doesn't

[Mono-winforms-list] [Patch] CausesValidation handling

2009-02-16 Thread Carlos Alberto Cortez
Hey, The attached patch basically adds support for Control.CausesValidation, which means that in some scenarios the validation is postponed (when CausesValidation if false, basically). I'm concerned -specially- about the code readibility (it also includes the description of the algorithm in the

Re: [Mono-winforms-list] [Patch] CausesValidation handling

2009-03-25 Thread Carlos Alberto Cortez
does). Comments? Carlos. 2009/2/16 Carlos Alberto Cortez calberto.cor...@gmail.com Hey, The attached patch basically adds support for Control.CausesValidation, which means that in some scenarios the validation is postponed (when CausesValidation if false, basically). I'm concerned

Re: [Mono-winforms-list] Very slow performance in WinForms ListView

2009-04-21 Thread Carlos Alberto Cortez
I commited some changes some weeks ago (not available in 2.4, but they will be ready for 2.6) that improve the rendering, with less flicker changing columns width/position. But anyway, would you mind filling a bug report with a test case? There are different things that can affect the performance

Re: [Mono-winforms-list] Strange exception related to TableLayoutPanel?

2009-04-22 Thread Carlos Alberto Cortez
It seems like a bug. Would you mind filling a bug with an attached test case? Thanks! 2009/4/22 noda www@free.fr Hello, I have the strange exception below that is raised when I try to create a new instance of my MainForm class (a classic windows Form):

Re: [Mono-winforms-list] Problems WinForms in Linux

2009-04-28 Thread Carlos Alberto Cortez
I filled a new bug report regarding your application's issue: https://bugzilla.novell.com/show_bug.cgi?id=498963 Thanks! Carlos. 2009/4/27 v567 viv...@yandex.ru MSI MegaBook M510A (CPU Intel Pentium-M 1.7 Gb, Memory 2 Ggb, ATI Mobility Radeon 9700 64 Mb) test.exe: 1. XP SP2 .NET FrameWork

Re: [Mono-winforms-list] [PATCH] System.Windows.Forms.Form ControlBox bug

2009-05-22 Thread Carlos Alberto Cortez
Hey! Would it be possible to fill a bug report with the attached patch, so we don't forget about it? Thanks! Carlos. 2009/5/22 Lachlan Keown lachlanke...@gmail.com Hi, I've been working on getting my Windows Forms app to work under Mono and finding a few bugs along the way... This one

Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
This issue has nothing to see with that Changelog entry. Basically we have never supported copying/pasting other than text/rtf text. So feel free to open a bug report for it :-) Thanks! Carlos. 2009/5/24 Christoph Teuber christoph.teu...@gmx.li Hello, thanks for your fast answer. You

Re: [Mono-winforms-list] Clipboard.SetDataObject() doing nothing

2009-05-24 Thread Carlos Alberto Cortez
some notes if someone is interested. On Sun, May 24, 2009 at 4:33 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: This issue has nothing to see with that Changelog entry. Basically we have never supported copying/pasting other than text/rtf text. So feel free to open a bug

Re: [Mono-winforms-list] C# 2008 - Buttons not showing up on RHEL 5

2009-06-05 Thread Carlos Alberto Cortez
Hey! Well, it sounds like a bug, but it sounds like an old version, too. Would you mind running mono --version? Carlos. 2009/6/4 Aatif_Chaudhry gaa...@gmail.com I have a simple form application made in C# (MS VS 2008), it has two buttons, but when I run it on RH Linux 5 through mono, the

Re: [Mono-winforms-list] MessageDialog.Show() Wont close

2009-06-05 Thread Carlos Alberto Cortez
I extracted this from your file: using System; using System.Windows.Forms; public class Test { static void Main () { string outputText = Succesfully STARTED MySQL CHECKER; MessageBox.Show(outputText, SUCCES, MessageBoxButtons.OK,

Re: [Mono-winforms-list] PrintPreviewControl

2009-06-08 Thread Carlos Alberto Cortez
As I said before, you need to print here the entire message error you are getting, so we can get an idea ;-) 2009/6/9 Jyoti Seth jyotiseth2...@gmail.com Hi All, I am trying to use PrintPreviewControl on Mono 2.4 on Suse linux. It is throwing GDI32.dll error. Libgdiplus package is already

Re: [Mono-winforms-list] [PATCH] For MouseClick Event in SWF

2009-10-27 Thread Carlos Alberto Cortez
Hey, I will review the patch later, but there's no need to send the patch to the mono develop list, since the change is related to windows.forms. Also, the mono-patches list is used to receive/catch the changes in svn. Next time send the patch to the winforms list, please. Carlos. 2009/10/27

Re: [Mono-winforms-list] Using Windows Forms over Linux

2009-11-18 Thread Carlos Alberto Cortez
Hey, There are some limitations on our implementation of Windows.Forms, just as any other re-implementation can have. We provide it however, to let developers to bring their applications from .net to linux with Mono. Now: if you are going to create a new app, then you can go with Gtk#, and

Re: [Mono-winforms-list] Some Winforms Questions

2009-11-24 Thread Carlos Alberto Cortez
Hey! I'm not our OSX expert, so I will leave those questions unanswered. 3) The RichTextEditor in Winforms on Mono is mostly useless. Does GTK# provide something better? Or can anyone recommend any libraries for Winforms? I actually don't need richtext, but I do need undo, hyperlinks,

Re: [Mono-winforms-list] menustrip

2009-12-14 Thread Carlos Alberto Cortez
With Mono 2.4/2.6/trunk it's working fine. Please update. Carlos. 2009/12/14 andi ari twentyfirsta...@gmail.com Hi All, My name is Andi. Im a newbie it tried to run some lines of c# code using monodevelp on Ubuntu 8.10. Here are the codes using System; using System.Drawing; using

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
We had an issue but it was only happening for ToolStrip menus. Is that the case, or is it happening with other controls as well? I remember testing extensively with dark themes and the only issue was related to ToolStrip (which has been fixed in 2.4/2.6/trunk, but didn't make it in the version you

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
buhochile...@gmail.com buhochil...@gmail.com On 01/07/2010 11:05 AM, Carlos Alberto Cortez wrote: We had an issue but it was only happening for ToolStrip menus. Is that the case, or is it happening with other controls as well? yeap, all kind of winform controls like texboxes, menus, labels, etc

Re: [Mono-winforms-list] gnome white font color and mono WinForm issue..

2010-01-07 Thread Carlos Alberto Cortez
work 'fine' (remember to set this env var only in the terminal where you execute your winforms app ;-) ) Try something like: env DESKTOP_SESSION=KDE mono MyApp.exe Carlos. 2010/1/7 buhochile...@gmail.com buhochil...@gmail.com On 01/07/2010 11:05 AM, Carlos Alberto Cortez wrote

Re: [Mono-winforms-list] Native Menu Bars in Winforms on OSX

2010-01-21 Thread Carlos Alberto Cortez
The support for this hasn't been implemented in winforms, and we don't have plans to implement it in a near future. Patches are accepted, however ;-) Carlos. 2010/1/20 Daniel Rosenstark dr.public.dev...@confusionists.com I think I may have asked this before: it is totally absurd that Winforms

Re: [Mono-winforms-list] Runtime error accessing Icons in Resources

2010-01-26 Thread Carlos Alberto Cortez
This seems to be a resources issue. Would it be possible to get the code producing this error, so we could test what's happening? Carlos. 2010/1/18 georgec giorgos.constanti...@gmail.com The following code is running fine on .NET but produces a runtime error with Mono: 1:

Re: [Mono-winforms-list] TextBox bugs

2010-02-26 Thread Carlos Alberto Cortez
Hey Dick! I will take a look at them this weekend. Carlos. 2010/2/26 Dick Porter dpor...@codicesoftware.com Hi all I recently submitted a couple of bugs to do with keyboard handling in TextBox: https://bugzilla.novell.com/show_bug.cgi?id=582691 - Return key works intermittently in

Re: [Mono-winforms-list] Wrong icons on OpenSuse, right on Ubuntu

2010-03-01 Thread Carlos Alberto Cortez
Hey Pablo, What version of OpenSuse are you using? I'm trying 11.1 and it's working fine. Also, any chance to attach a screenshot? Carlos. 2010/3/1 pablosantosl...@terra.es pablosantosl...@terra.es Hi there, We're experiencing some graphical issues with Plastic on OpenSuse (latest) while

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
Hey, This should be working. Maybe you hit a bug, but it seems, based on the other information, that you are using an old version. Take a look at that and let us know. Carlos. 2010/3/23 Latif Khalifa lati...@radegastclient.org Hi, I'm trying to cure a few last quirks an an application I'm

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
is always alphabetic and my Compare() never gets called. Latif On Tue, Mar 23, 2010 at 4:00 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey, This should be working. Maybe you hit a bug, but it seems, based on the other information, that you are using an old version. Take

Re: [Mono-winforms-list] Transparency Problem

2010-04-06 Thread Carlos Alberto Cortez
Hey, On my machine (openSuse 11.1) using 2.4/2.6 series it works fine. Basically our code tries to detect a property in the window manager to detect whether there's transparency support or not. So it should work *at least* in Linux. Could you elaborate more so we can try to figure out what's

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-04-17 Thread Carlos Alberto Cortez
Sort(). Nodes are sorted as they are inserted. Latif On Tue, Mar 23, 2010 at 7:03 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey! I tested this on those same versions, and I cannot get the error. Could you cook a small test case? Carlos. 2010/3/23 Latif Khalifa lati

Re: [Mono-winforms-list] Odd StatusStrip.PreferredSize behavior

2010-05-17 Thread Carlos Alberto Cortez
Hello, This seems to be a bug in our implementation. If you provide a test case (a small one ideally) we can try to figure out what's happening. Carlos. 2010/5/17 Mike Fried michaelbfr...@gmail.com I'm writing a program under Windows in Visual Studio (2008, switching to 2010 soon) that will