You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a tree labelprovider is providing an Image and the tree has a SWT.EraseItem listener then the last character of the text in the first column is not completely drawn.
e.g. To see the issue add this code to ExtendedMarkersView and put a problem in the problem view.
tree.addListener(SWT.EraseItem, new Listener() { @OverRide
public void handleEvent(Event event) {
}
});
I would expect the text in this case to be drawn correctly.
You can see below the last character is a little truncated.
All OS
[x ] Windows
Linux
macOS
I see the issue on Windows 10 using Java 17 JDK
The text was updated successfully, but these errors were encountered:
I couldn't reproduce this with a simple stand-alone SWT snippet. Perhaps it's a problem with the ExtendedMarkersView? If the problem is there perhaps you could open an issue on Platform UI - https://github.com/eclipse-platform/eclipse.platform.ui/issues
It's not just ExtendedMarkersView, I have seen it with other views. Ill raise it on platform, It's only reproducible if the label provider provides an image so might not be a SWT problem.
If a tree labelprovider is providing an Image and the tree has a SWT.EraseItem listener then the last character of the text in the first column is not completely drawn.
e.g. To see the issue add this code to ExtendedMarkersView and put a problem in the problem view.
tree.addListener(SWT.EraseItem, new Listener() {
@OverRide
public void handleEvent(Event event) {
}
});
I would expect the text in this case to be drawn correctly.
You can see below the last character is a little truncated.
I see the issue on Windows 10 using Java 17 JDK
The text was updated successfully, but these errors were encountered: