Ludwik
Ludwik

Reputation: 2407

Tabs in eclipse becoming invisible

When using Eclipse (Kepler, on Windows 7 64 bit) from time to time some of the open tabs... disappear. The tab bar is still there, but some tabs just go blank. When I mouse over them tho, they come back and become fully visible.

So this is not a functional problem, just an aesthetic one, but it's really disturbing not to be able to see what tabs are open. Does anyone know how to stop this behavior?

It happens often, but is not prompted by anyhing I do, so I cannot recreate it at will. To further clarify what it looks like, I put together this image in Paint.net:

image that shows clearly what my problem is

Thank you in advance.

//LJ

Edit:

I found out what's prompting this behavior. When I build and run the project, the console pops up, then after closing the window, the console automatically hides again, but the tabs it was covering are blank. However, as stated earlier, they do come back if I hover over them. However, I still do not know how to fix this. Here is a gif composed of screenshots showing this behavior in-action:

enter image description here

Upvotes: 23

Views: 4532

Answers (7)

Seven Seven
Seven Seven

Reputation: 11

This is a UI bug which may occur if you:

  1. overrided high DPI scaling behavior by selecting the system(Enhanced) option in eclipse.exe high DPI setting and
  2. selected eclipse light or dark theme

solutions:

  • select the classic theme rather than light or dark if you've selected the system(Enhanced) option
  • select system option (but the text resolution in eclipse may be bad)

Upvotes: 0

Ghanshyam
Ghanshyam

Reputation: 1

I switched to Classic Theme in Preferences->Appearance->Theme-> Classic Theme and every thing is working fine for me.

Also u can change these settings in eclipse configuration file.. Paste these lines there.

-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

Upvotes: 0

Anirvana
Anirvana

Reputation: 71

I had the same issue with my Eclipse Jee 2018-09 on Windows 10. To fix this issue try the following steps: right click on eclipse icon -> Compatibility -> Change High DPI settings Make sure the settings are all unselected as shown in the below screenshot.

Restart eclipse.

Upvotes: 1

Abdessamad Doughri
Abdessamad Doughri

Reputation: 1345

I had the same issue when I have switched back from an installed custom dark theme on Eclipse Mars.2 Release (4.5.2), So here is how I have fixed it:

go to Window->Preferences->Appearance then change theme to different them than classic (Dark in my case) then select the classic again.

Upvotes: 0

ltuska
ltuska

Reputation: 721

I've successfully fixed that on a UHD monitor by selecting the Classic Theme under Preferences -> General -> Appearance. It is still (not) working as described in the question with the Light Theme.

Using Spring Tool Suite, Version: 3.9.4.RELEASE (Eclipse Oxygen.3a (4.7.3a))

Upvotes: 3

Stephroy
Stephroy

Reputation: 125

I was also seeing this. Here's my specific situation. I'm running Eclipse Oxygen on Windows 10. For my external monitor, I went into display settings and set 'Change the size of text, apps, and other items' to 125%. This caused the application to render text awkwardly. I then right-clicked on the desktop shortcut and selected Properties. Under the Compatability tab, I enabled the 'Override high DPI scaling behavior', and I selected 'Scaling performed by: System (Enhanced)'.

This configuration caused me to experience the behaviour that you reported.

Altering the selection of 'Scaling performed by' to System fixed my issue.

Hope this helps.

Upvotes: 9

Chandrayya G K
Chandrayya G K

Reputation: 8849

Try this: Go to Window->Preferences. Go to General->Appearance. Change theme here and restart eclipse. Also try increasing heap size for eclipse.e

Edit

Its is difficult for me to reproduce your problem on my machine. However you can try these

  1. Try using the eclipse theme plugin and change themes and check.

  2. I guess first part of the problem occurs on eclipse start-up if so that means the editor plugin is loading still. Try changing plugins loading order on eclipse start-up in Window-Preferences. General->Startup-Shutdownload.You can disable least used or all. Restart eclipse.

  3. As explained in second part. Console is showing up and closing automatically. Have a close look on the second picture, When your application window is opened Console view shorts button is enabled in Fast view bar. After you click close button console view disappears because console view is opened AS FAST VIEW. So before launching your application. Make sure that console view is visible to you. So Click on restore button on the FAST VIEW BAR where console view is there(i.e in the second picture right most side bottom FAST VIEW BAR)

  4. If your eclipse application depends on many plugins then you have to increase heap size for your application and assign start up levels for plugins. Go to run configuration of your eclipse application add parameter to increase heap size in Arguments tab and assign start up levels for plugins in Plugins tab. For more info look at eclipse Help content.

Upvotes: 2

Related Questions