Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:18 Go to next message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
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 15:26 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

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 13:26 Go to previous messageGo to next message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
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 13:30]

Report message to a 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 15:32 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

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 17:29 Go to previous message
Matthias Paul Scholz is currently offline Matthias Paul ScholzFriend
Messages: 40
Registered: May 2012
Member
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 Dec 13 09:06:51 GMT 2024

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

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

Back to the top