Opened 19 months ago

Last modified 15 months ago

#15115 reopened defect

wxComboBox drop down list disappears when any event is processed

Reported by: bartvanstiphout Owned by:
Priority: normal Milestone:
Component: wxOSX-Cocoa Version: 2.9.5
Keywords: wxCombobox difficult Cc: mrspoek@…
Blocked By: Blocking:
Patch: no

Description

If a wxComboBox is showing the drop down list and a wxDatagramSocket sends a packet using SendTo, the drop down list disappears.

OSX 10.7.5
wxOSX Cocoa 2.9.4

Change History (4)

comment:1 Changed 19 months ago by vadz

  • Keywords difficult added; sendto removed
  • Status changed from new to confirmed
  • Summary changed from wxComboBox drop down list disappears on wxDatagramSocket::Sendto to wxComboBox drop down list disappears when any event is processed

I can confirm the bug, although it has nothing to do with the sockets, it seems like the drop down is closed whenever any event is processed, see this thread. Unfortunately it looks like it's a problem at OS X level so I have no idea if it can be fixed in wxOSX.

comment:2 Changed 17 months ago by SC

  • Resolution set to fixed
  • Status changed from confirmed to closed

(In [74186]) guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

comment:3 Changed 17 months ago by SC

(In [74187]) guarding open combo box against AppDefined NSEvents issued by wxEventLoop::WakeUp, fixes #15115

comment:4 Changed 15 months ago by Spoek

  • Cc mrspoek@… added
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 2.9.4 to 2.9.5

It seems the fix is only working when you click the drop box down with the mouse. If you press cursor down whilst being in the textbox part, the drop down list opens, but closes immediatly on an event like doing an cursor down (trying to scroll down the list).

Note: See TracTickets for help on using tickets.