Community
Participate
Working Groups
The filter column doesn't work in Linux. Double click or pressing enter doesn't open the text box at the top of the column in the histogram or tree view. This works on Windows. Try looking at RefinedResultViewer.addDoubleClickListener()
Does context menu->Columns->Edit value work? I don't have a Linux system to test.
The code does in fact work, it's just the way it is displayed is somewhat misleading on Linux. The field is in fact a textfield but it doesn't look like one. If the field is clicked, you can start typing characters and as soon as the first one appears the field turns into a textfield. To make it appear (and behave) as expected, I set the Text to be a space and then the textfield is displayed: RefinedResultViewer.activateEditor() final Text text = new Text(composite, SWT.NONE); text.setText(" ");
With this change the textfield appears as expected and can be typed into as normal. The space automatically gets removed so the textfield behaves as expected. This has been tested on Windows and doesn't cause any problems there.
Created attachment 196411 [details] Patch for UI filter textfield for Linux
Fix applied as described