Community
Participate
Working Groups
Created attachment 284865 [details] Short record of this issue, from the main eclipse application Hi, Since the last MacOs update, I've been facing issues in my RCP application. Those issues are often related to SWT table / tree using StyledCellLabelProvider. Here is the current issue: I have a table using a StyledCellLabelProvider, a search bar above the table and a viewer filter to bind the search and the displayed content. Before Big Sur, the following peace of code was enough to refresh the table and apply the search: searchObservableValue.addValueChangeListener(e -> { Display.getDefault().asyncExec(() -> { String search = searchObservableValue.getValue().toLowerCase(); fieldToFilter.clear(); fieldsObservable.stream() .filter(field -> !field.getName().toLowerCase().contains(search)) .forEach(fieldToFilter::add); viewer.refresh(); }); }); -> With the refresh(), the viewer filter is recomputed and apply the new values to filter. Now, with Big Sur, I also have to manually call a viewer.redraw(), else the viewer doesn't display the expected elements. Ive been able to reproduce the exacte same behavior in the default eclipse application (launch configuration wizard 2020-09, see attachment). Since this issue only happens when the table / tree uses a StyledCellLabelProvider, I believe that this issue is probably related to this one: https://bugs.eclipse.org/bugs/show_bug.cgi?id=565969
This is fixed in 4.18 M3 via Bug 567132 - https://download.eclipse.org/eclipse/downloads/drops4/S-4.18M3-202011190730/ *** This bug has been marked as a duplicate of bug 567132 ***