Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dropdown issue in table column(DropDown not working correctly in OpenSuse Linux 11.3)
Dropdown issue in table column [message #1118326] Fri, 27 September 2013 05:42 Go to next message
Prakash Kamani is currently offline Prakash Kamani
Messages: 2
Registered: September 2013
Junior Member
The issue is very specific to DROPDOWN in the table column. We have business case where UI is design in such a way that first 2 columns in the table are dropdowns. Based on selection in first column, 2nd column dropdown value is populated.

This aspect is working very well in WINDOWS platform where as failing in OpenSuse 11.3 linux.

Problems faced is that when there is focus on one of the dropdown values in first column and then user navigates to 2nd column using mouse click and not TAB action of keyboard, the focuses dropdown value in first column does not get auto selected and populated in the cell leading to 2nd column having incorrect data.

I have attached the snapshot of the UI in the document.

Have anyone faced such issue. Need pointers on area to look for answers.

Initial thought was that it could be OS issue for events but ruled that out by using another application (JSP based) having dropdown value and executed same step.

[Updated on: Mon, 30 September 2013 06:43]

Report message to a moderator

Re: Dropdown issue in table column [message #1118591 is a reply to message #1118326] Fri, 27 September 2013 11:10 Go to previous messageGo to next message
Arun Thondapu is currently offline Arun Thondapu
Messages: 4
Registered: April 2011
Junior Member
Hi Prakash,

Are you using JFace TableViewer? If so, it might be a good idea to post this on the JFace newsgroup too in case someone has encountered a similar issue.

If you're using SWT Table widget directly, would it be possible for you to come up with a simple snippet of code that uses only SWT and exhibits this problem?

Can you also check this on a different OpenSuse or even a different Linux distro to confirm the problem is not caused by something in the existing environment?
Re: Dropdown issue in table column [message #1122296 is a reply to message #1118591] Tue, 01 October 2013 08:16 Go to previous messageGo to next message
Gerin Jacob is currently offline Gerin Jacob
Messages: 2
Registered: January 2013
Junior Member
This issue happens with SWT Table/TableEditor in openSUSE. This issue does not occur with RedHat or Windows.

When we select the drop down value using mouse, selection happens properly. But drop down selection does not happen while using up & down arrow keys.
Re: Dropdown issue in table column [message #1122318 is a reply to message #1122296] Tue, 01 October 2013 08:43 Go to previous messageGo to next message
Prakash Kamani is currently offline Prakash Kamani
Messages: 2
Registered: September 2013
Junior Member
Arun, looking at the testing that we did with base SWT (gerin has posted code), it seems that SWT components is not working on openSUSE. Any clue why SWT component will behave differently and what more should be looked around this as next step.
Re: Dropdown issue in table column [message #1125491 is a reply to message #1122318] Fri, 04 October 2013 11:20 Go to previous message
Arun Thondapu is currently offline Arun Thondapu
Messages: 4
Registered: April 2011
Junior Member
Its a bit weird that you are seeing this problem on OpenSuSE but not on RedHat Linux because as far as SWT is concerned, our implementation just uses the same underlying GTK+ APIs on all Linux platforms. Which version of GTK+ exactly are you running on the OpenSuSE machine? The different behavior on different Linux boxes can sometimes be attributed to the desktop or windowing theme being used. Can you experiment using different themes and related settings to confirm whether the problem is not theme-specific?

I've looked at the test case attached above but I'm not completely sure as to what exactly is the problem there. Are you saying that on Windows the selection in the combo box changes using the arrow keys while it doesn't on OpenSuSE? I tested on Ubuntu Linux 12.04 and it doesn't change with the arrow keys for me too. This could possibly be the default behavior of GTK+ but it could also be a bug in SWT or GTK+. In any case, the behavior on RedHat Linux should have been the same as on Ubuntu and OpenSuSE then.
Previous Topic:How to wrap the description on the first page of wizard
Goto Forum:
  


Current Time: Tue Oct 08 00:45:53 EDT 2013

Powered by FUDForum. Page generated in 0.01964 seconds