Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ContentProposal on Combo - problem with Linux
ContentProposal on Combo - problem with Linux [message #1020704] Mon, 18 March 2013 19:09 Go to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I have a ContentProposalAdapter I have implemented on a Combo selection box.
The combo box has a list of strings that can be selected but the ContentProposalAdapter/Provider lets the
user type a few chars and quickly cull the list down to those of interest.

For reference some ideas were gleaned from http://krishnanmohan.wordpress.com/2011/12/12/eclipse-rcp-autocompletecombotext-control

At the end of the above article, the author notes that two enter presses are needed to accept the content proposal from the key presses the user types, to get the selection event to fire. I have noticed that; but the second one does select the item for me.

We're working on the Kepler codebase; I'm developing on a Mac; A Linux (Ubuntu x86_64) developer on our project notes that even worse than requiring the two enter key presses, the second one isn't detected so the selection event never fires and he can't select an item in the Combo box.

Any ideas? The Content Proposal stuff is pretty slick, hope I can get it to work.

...Beth Tibbitts
Parallel Tools Platform http://eclipse.org/ptp

Re: ContentProposal on Combo - problem with Linux [message #1022360 is a reply to message #1020704] Thu, 21 March 2013 18:32 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
To see our workaround to handle this problem, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=403704

It refers to a forum snippet with a workaround for GTK that suggests adding a traverse listener so we can override the behavior - add a Listener that handles the SWT.TRAVERSE_RETURN event to set event.doit=falst
Forum snippet is here:
http://www.eclipsezone.com/eclipse/forums/t95864.html
Previous Topic:Selecting files for refactoring
Next Topic:Contributing commands to multiple instances of the same view
Goto Forum:
  


Current Time: Tue Mar 19 08:57:51 GMT 2024

Powered by FUDForum. Page generated in 0.02009 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top