[ wxwindows-Bugs-1805515 ] wxSTC AutoComplete menu broken with native wxListCtrl

SourceForge.net noreply at sourceforge.net
Mon Oct 1 12:35:53 PDT 2007


Bugs item #1805515, was opened at 2007-10-01 09:28
Message generated for change (Comment added) made by pgsnake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1805515&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dave Page (pgsnake)
Assigned to: Kevin Ollivier (kollivier)
Summary: wxSTC AutoComplete menu broken with native wxListCtrl

Initial Comment:
The attached patch to the STC sample can be used to test this. Build the patched sample and use Edit->AutoComplete to activate the AutoComplete menu.

When the menu is activated, the first option is selected. Pressing the down arrow selects the second item in addition to the first (which should have been de-selected). No further cursor navigation is possible. Items can be correctly selected using the mouse however.

Not sure if it's related, but I've seen very similar behaviour from a wxListView but haven't yet been able to produce a test case.



----------------------------------------------------------------------

>Comment By: Dave Page (pgsnake)
Date: 2007-10-01 19:35

Message:
Logged In: YES 
user_id=1181215
Originator: YES

Hey, I didn't close it - you just beat me to re-opening it!! :-). The
default native control should certainly work correctly as well.

----------------------------------------------------------------------

Comment By: Kevin Ollivier (kollivier)
Date: 2007-10-01 19:29

Message:
Logged In: YES 
user_id=248468
Originator: NO

Thanks, but let's not close this just yet. I'm glad the workaround works
for you, but I'd like to leave this in the tracker so I can look at
removing the need for the workaround. Assigning to me. 

----------------------------------------------------------------------

Comment By: Dave Page (pgsnake)
Date: 2007-10-01 19:09

Message:
Logged In: YES 
user_id=1181215
Originator: YES

Thanks Robin - that seems to work around both the STC and ListView
problem.

----------------------------------------------------------------------

Comment By: Robin Dunn (robind)
Date: 2007-10-01 16:38

Message:
Logged In: YES 
user_id=53955
Originator: NO

Try adding this:

    wxSystemOptions::SetOption(wxT("mac.listctrl.always_use_generic"),
true);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1805515&group_id=9863




More information about the wx-dev mailing list