Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version: 2021-03 (4.19.0) : when saving a .java file color resets #4

Closed
LuciferSam86 opened this issue Apr 29, 2021 · 11 comments
Closed

Comments

@LuciferSam86
Copy link

Hi,
when I save a .java file like this one
immagine

the color resets
immagine

I have to switch to another tab to restore the colors.

@PyvesB
Copy link
Owner

PyvesB commented Apr 29, 2021

Hello @LuciferSam86 ! 👋🏻

Sorry to hear that the theme is not working as expected for you!

Am I correct in thinking that you're using a Windows machine?

I did bump into this problem at some point whilst testing on Windows, but only on some of my Eclipse installations and not others, and didn't really get to the bottom of it. I've got the gut feeling it's related to the flat scrollbars library this project is using, in particular this issue I encountered at the time: fappel/xiliary#94

If you download the standalone Eclipse SDK (http://download.eclipse.org/eclipse/downloads/drops4/R-4.19-202103031800/download.php?dropFile=eclipse-SDK-4.19-win32-x86_64.zip), launch it in a new workspace and install the Planet themes via the update site (https://raw.githubusercontent.com/PyvesB/eclipse-planet-themes/updatesite), could you please confirm that the issue is not happening? The next step would be to determine what causes the issue to arise: is it having a specific view or perspective opened, a plugin installed, something else?

@LuciferSam86
Copy link
Author

Finally I was able to test the fix you suggested.
So : the perspective is "Java", the version of the ide is the one for Java EE developers and I don't have any plugins installed (it's a fresh install) , and I still have the problem.

@PyvesB
Copy link
Owner

PyvesB commented May 8, 2021

If you download the standalone Eclipse SDK (http://download.eclipse.org/eclipse/downloads/drops4/R-4.19-202103031800/download.php?dropFile=eclipse-SDK-4.19-win32-x86_64.zip), launch it in a new workspace and install the Planet themes via the update site (https://raw.githubusercontent.com/PyvesB/eclipse-planet-themes/updatesite), could you please confirm that the issue is not happening?

What about this? The IDE package for Java EE developers ships with many plugins. What would be really useful is to go from the standalone SDK, and install plugins to slowly recreate the fully blown Java EE developers IDE. At some point, I'm hoping the theming issue will start appearing, which will hopefully point to the plugin that is causing conflicts.

@PancakeTAS
Copy link

I am facing the same issue on an eclipse installation with only JDT, Marketplace Client and Planet Themes installed.
Everytime I open a .java file (really any files does this) it will make the background white. Sometimes even with other Windows not only the selected one. Theme is Pluto

@PyvesB
Copy link
Owner

PyvesB commented Nov 14, 2021

It would be useful to check the following scenario :

  • with the standalone Eclipse SDK, check that the issue does not happen on a non-Java file.
  • after installing JDT, check whether the issue starts happening on the same non-Java file.

@PancakeTAS
Copy link

Happens on a new Standalone Eclipse SDK even with a non-java file. Just opening it will make the screen appear white.
After installing JDT and saving a Java file, it resets the color too

@PyvesB
Copy link
Owner

PyvesB commented Nov 14, 2021

Hmmm, when I checked back in April, I couldn't reproduce on a standalone Eclipse SDK.

I've unfortunately not got much time to spare at the moment, if someone wants to investigate and contribute to the project, these files and discussions will probably be of interest:

@PancakeTAS
Copy link

Unfortunately it does not look like the issue has been fixed by that

@AnkitDeshpande
Copy link

Unfortunately it does not look like the issue has been fixed by that

Happens on a new Standalone Eclipse SDK even with a non-java file. Just opening it will make the screen appear white. After installing JDT and saving a Java file, it resets the color too

If u have installed any other theme like "Darkest Dark". try uninstalling that. It worked for me, Idk if it work for u.

@PyvesB
Copy link
Owner

PyvesB commented Jan 7, 2024

Thinking out loud, I'm wondering whether this is not the same root cause as https://bugs.eclipse.org/bugs/show_bug.cgi?id=565754 which I reported a while back.

@PyvesB
Copy link
Owner

PyvesB commented Jun 16, 2024

I've decided to drop the flat scrollbars (5a69ceb). This issue should no longer happen on version 0.3.0 of the plugin.

@PyvesB PyvesB closed this as completed Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants