开发者

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

开发者 https://www.devze.com 2023-01-16 12:52 出处:网络
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

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 k开发者_高级运维nows how to disable it?


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".


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


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


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


I have encountered this — very — irritating annoyance too, in Eclipse Helios, on Windows 7 Pro.

In the Prefs of Eclipse, I had the tree triangles always coming and going and coming and going.

I have solved the problem, without touching to Eclipse.

I went to :

Control Panel → Personnalisation

And I chose the theme Windows Classic.

It's a bit grey, but in Eclipse the tree triangles are now signs “+” and they don't disappear anymore.

Note : To make this solution to work in Eclipse Indigo, I had to quit & relaunch Eclipse.


This is Vista (and Windows 7, I guess) behavior. You can see it in Windows Explorer too. This is not an Eclipse issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消