Community
Participate
Working Groups
The content of cells with a white background is not visible when the current line is selected. See Bug 460810, for entry points. The same bug has simply been corrected on Tree by removing DTableEraseItemListener which had no sense on Tree (no columns) It will have to be corrected for Tables. This issue occurs on Mac Os but like the Bug 460810, it might also occur on some Linux.
Created attachment 255022 [details] Reproduction case
Steps to reproduce: . Open the tables from the attached project. . Try to select a line or a cell: the cells of the selected line are blank. They have a white background and white label.
Note that from second step, if you use tab or clic in any view outside the editor, the selection color change and we can see the label of the cell.
Created attachment 255024 [details] Table selection
Created attachment 255025 [details] Table selection after a click in a view
Is there a plan to fix this soon? the white background on selected rows in a table (in MacOS) is pretty annoying to users. Thanks.
New Gerrit change created: https://git.eclipse.org/r/126552
From our investigation this appears to be due to the event.detail SWT.BACKGROUND flag not being set to false, causing the default background color to be painted over the background DTableEraseItemListener applies. We implemented a workaround that fixes the problem for us by wrapping the DTableEraseItemListener with a new listener that unsets the SWT.BACKGROUND flag: https://github.com/opencaesar/oml-rosetta/blob/54841420cbae413c3917bda84748e9f145815781/io.opencaesar.rosetta.sirius/src/io/opencaesar/rosetta/sirius/BlankSelectedLineWorkaround.java#L71