bugDotGNU Portable.NET - Bugs: bug #12505, LostFocus for ComboBox not invoked...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #12505: LostFocus for ComboBox not invoked correctly

Submitted by:  Erich Kitzmüller <ammoq>
Submitted on:  Wed 30 Mar 2005 10:31:30 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Postponed
Privacy: PublicAssigned to: Deryk Robosson <drobosson>
Open/Closed: Open

Wed 13 Apr 2005 10:54:18 AM UTC, comment #4:

Added GotFocus handler. The only remaining issue is that (when compared against MS implementation) when closing the dropdown, a GotFocus event is thrown. This does not happen in the MS implementation.

Deryk Robosson <drobosson>
Project MemberIn charge of this item.
Mon 04 Apr 2005 02:24:29 PM UTC, comment #3:

the same problem also appears with GotFocus

Erich Kitzmüller <ammoq>
Mon 04 Apr 2005 01:37:40 PM UTC, comment #2:

Commented out lines 597 and 598 in ComboBox.cs which results in duplicate behaviour when compared to the MS implementation. This method in which these lines resides states that it's a non Microsoft method. We need to verify that leaving out those to bits does or does not have any residual side effects on anything not equal to a ComboBoxStyle.DropDownList?

Deryk Robosson <drobosson>
Project MemberIn charge of this item.
Sun 03 Apr 2005 01:22:21 PM UTC, comment #1:

The related patch has been applied to CVS. The test case with MS implementation only throws the LostFocus event one when the drop down is opened, not twice as Mono and Pnet currently do.

Will leave this open pending a review of the code to work out a solution to interop behaviour.

Deryk Robosson <drobosson>
Project MemberIn charge of this item.
Wed 30 Mar 2005 10:31:30 AM UTC, original submission:

Only the Button that opens the drop down list seem to fire the LostFocus-Event. This is nasty, since at this time, the item are not yet selected.
As a quick fix, I made a patch that makes the TextBox fire the LostFocus-Event, too. This makes the ComboBox behave better when cycling focus by the Tab key. As a side effect, it fires LostFoucs events when you click the button to open the dropdown list. I think it would be desirable to avoid this behaviour, though I don't know how this can be done.

Erich Kitzmüller <ammoq>

 

Attached Files
file #2804:  ComboForm.cs added by ammoq (976B - text/x-csharp - Testcase for ComboBox)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 03 Apr 2005 01:22:21 PM UTCdrobossonStatusNone=>Postponed
  Assigned toNone=>drobosson
Wed 30 Mar 2005 10:31:30 AM UTCammoqAttached File-=>Added ComboForm.cs, #2364

Back to the top


Powered by Savane 3.1-cleanup