Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I stop the tree view expand/collapse icons from fading when losing focus in Eclipse?

Tags:

java

eclipse

I'm using Eclipse Helios and have noticed that the treeview in the package explorer now auto-hides the expand/collapse tree icons when I move my focus away from it. I personally find this behavior a bit distracting and was wondering if anyone knows how to disable it?

like image 410
Michael Avatar asked Sep 13 '10 19:09

Michael


4 Answers

Introduced in Vista (by design say this thread), the sub-directory indicators now vanish when the tree is out of focus.
And the superusers had only one global setting to prevent that.

  • Right click Computer > Properties
  • Advanced System Settings
  • Under Performance click Settings
  • Un-check Fade or Slide Menus into View
  • Apply

But that didn't prevent the fade effect in my Eclipse session (maybe a reboot is necessary?)

Since SWT Tree is base on the native OS widget (TreeView), it will inherit its native graphic evolutions.
See for instance "How to change SWT Tree plus/minus icons".

like image 53
VonC Avatar answered Oct 12 '22 09:10

VonC


You can also try to disable visual themes for eclipse:

  • right click on eclipse.exe and preferences
  • Compatibility mode and check Disable visual themes

thats it

like image 42
spupek Avatar answered Oct 12 '22 08:10

spupek


Will be "fixed" with Eclipse 3.8 (although it's an OS issue). https://bugs.eclipse.org/bugs/show_bug.cgi?id=342282

like image 36
Marcel Stör Avatar answered Oct 12 '22 07:10

Marcel Stör


My Eclipse started showing this behaviour when I moved to Windows 7.

like image 30
Mario Marinato Avatar answered Oct 12 '22 07:10

Mario Marinato