Skip to main content



      Home
Home » Eclipse Projects » Nebula » TableCombo sends a selection event on each opening of drop down box (The TableCombo sends a selection event whenever the drop down box gets opened)
TableCombo sends a selection event on each opening of drop down box [message #1755835] Wed, 08 March 2017 09:18 Go to next message
Eclipse UserFriend
Hi,

When using the Nebula TableCombo, we recognized that a selection listener added to the TableComboViewer always receives a selection event for the first row of the table whenever the drop down box gets opened (e.g. the user clicks on the arrow button next to the combo box) .

Is this an intended behavior or a bug?
It is reproducible by simply running one of the examples of the official sample snippets in
https://www.eclipse.org/nebula/snippets.php#TableCombo and setting a breakpoint into the "selectionChanged()" method of the SelectionListener.

This behavior of the TableCombo produces undesired side effects when the table viewer is bound to an external model that reacts to selections in the table (as it is in our RCP application) as one gets selection change events although the user did not select anything.

Re: TableCombo sends a selection event on each opening of drop down box [message #1755850 is a reply to message #1755835] Wed, 08 March 2017 10:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi Matthias,

Yes this sounds like a bug to me. Initially the first element is not selected so it should not fire a selection event on that element. If you file a bug and supply a patch through Gerrit I will make sure that it gets in.

https://wiki.eclipse.org/Nebula/New_Contributions

Best regards,

Wim
Re: TableCombo sends a selection event on each opening of drop down box [message #1756063 is a reply to message #1755850] Fri, 10 March 2017 08:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wim,

When I click on the link you posted (https://wiki.eclipse.org/Nebula/New_Contributions), my Firefox Browser on CentOS displays the following error page:

"MediaWiki 1.26 internal error
Installing some external dependencies (e.g. via composer) is required. "

[Updated on: Fri, 10 March 2017 08:30] by Moderator

Re: TableCombo sends a selection event on each opening of drop down box [message #1756073 is a reply to message #1756063] Fri, 10 March 2017 10:32 Go to previous messageGo to next message
Eclipse UserFriend
A temporary hiccup, i'm sure.

Regards,

Wim
Re: TableCombo sends a selection event on each opening of drop down box [message #1758940 is a reply to message #1756073] Tue, 04 April 2017 13:29 Go to previous message
Eclipse UserFriend
Hi,

I've posted a referring bug report to the Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=514731
Previous Topic:SWTBot support for TableCombo?
Next Topic:Big data grid memory usage
Goto Forum:
  


Current Time: Fri May 02 07:06:07 EDT 2025

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

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

Back to the top