Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tabs in eclipse becoming invisible

Tags:

eclipse

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

like image 985
Ludwik Avatar asked Dec 21 '13 10:12

Ludwik


People also ask

How do I show tabs in Eclipse?

Check the option " General > Editors > Text Editors > Insert spaces for tabs ": if unchecked, it will display tabs, not space.

How do I find the editor in Eclipse?

Just select Window→ Preferences→ Workbench→ File Associations, select the file type, and associate an editor or program with it (if nothing else, you can use Eclipse's default text editor). You also can run programs outside Eclipse as external tools, invoked by selecting Run→ External Tools.

How do I close all tabs in Eclipse?

With Ctrl + W we can close opened tab. With Ctrl + Shift + E we can select which files we want to close.


1 Answers

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.

like image 110
Stephroy Avatar answered Oct 05 '22 01:10

Stephroy