[Mono-list] Re gression bug in 2.4.2.3 (WinForms)

Stifu stifu at free.fr
Mon Sep 14 14:48:36 EDT 2009


Here you go: http://mono-project.com/Bugs#How_to_make_a_good_bug_report


LKeene wrote:
> 
> Hello all, 
> there seems to be a regression bug in Mono 2.4.2.3 concerning the
> ProcessCmdKey event in a WinForms application running on Linux (RedHat).
> The following used to work just fine in 2.4.2.1 but on 2.4.2.3 is causing
> the app to crash:
> 
> public partial class Form1 : Form
> {
> .
> .
> .
> protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
> {
> 
>      switch (keyData)
>      {
>           case Keys.F11:
>                F11ButtonPressed();
>                break;
>           case Keys.F12:
>                F12ButtonPressed();
>                break;
>      }
> 
>      return true;
> 
> }
> 
> private void F11ButtonPressed()
> {
>      this.Text = "F11 button pressed.";
> }
> 
> private void F12ButtonPressed()
> {
>      this.Text = "F12 button pressed.";
> }
> 
> }
> 
> I'm absolutely sure this was working on earlier version of Mono on the
> RedHat platform. Is anyone lese aware of this, and has this bug been
> filed? If not, can someone point me to the bug report page? This
> regression involves major functionality issues. Thanks.
> 
> -L
> 

-- 
View this message in context: http://www.nabble.com/Regression-bug-in-2.4.2.3-%28WinForms%29-tp25440676p25440687.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list