Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse History icons become red boxes

Tags:

eclipse

My Eclipse History(SVN) icons become red boxes as blew.

I thought I could fix it using Eclipse plugin files (ex, CSS) But I don't know where and how to change codes.

It happened as soon as I opened the History panel after installing Eclipse and SVN plugin. Moreover, I can see the icons when a mouse moves over the icons.

Eclipse and other information

  • Eclipse version : 2021-03 (4.19.0)
  • Java version: 11.0.10
  • SVN plugin: Subversive - SVN Team Provider 4.0.5
  • Theme: Dark
  • Color and Font theme: Default

The red boxes

Mouseover effect

like image 939
Jake Avatar asked Dec 13 '25 02:12

Jake


1 Answers

If you modify the source code of the Subversive plugin as below and build it, it will work fine. I am hoping someone will build and publish it :)

setHoverImageDescriptor -> setImageDescriptor

protected HistoryAction(String text, String imageDescriptor) {
    this(text);
-   this.setHoverImageDescriptor(imageDescriptor == null ? null : SVNTeamUIPlugin.instance().getImageDescriptor(imageDescriptor));
+   this.setImageDescriptor(imageDescriptor == null ? null : SVNTeamUIPlugin.instance().getImageDescriptor(imageDescriptor));
}
protected HistoryAction(String text, String imageDescriptor, int style) {
    super(SVNUIMessages.getString(text), style);
-   this.setHoverImageDescriptor(imageDescriptor == null ? null : SVNTeamUIPlugin.instance().getImageDescriptor(imageDescriptor));
+   this.setImageDescriptor(imageDescriptor == null ? null : SVNTeamUIPlugin.instance().getImageDescriptor(imageDescriptor));
}

https://dev.eclipse.org/svnroot/technology/org.eclipse.subversive/trunk/org.eclipse.team.svn.ui/src/org/eclipse/team/svn/ui/history/HistoryActionManager.java

like image 107
cypher256 Avatar answered Dec 15 '25 22:12

cypher256



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!