facebook

Some items in the package explorer are being displayed incorrectly

  1. DevStyle
  2.  > 
  3. Theme Problems
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #559281 Reply

    bl4ckscor3
    Participant

    Hello.

    Several items in my package explorer have a white background and a black name instead of the other way around as seen in the attached picture. This happens with my installation of Eclipse Oxygen.2 Release (4.7.2), Build-ID 20171218-0600 on Windows 10 (Version 1709, Build 16299.125). I sadly have no way of reproducing this issue, it was there from the beginning for me and it seems to be aribtrary which items are being displayed incorrectly as you can see by the screenshot. There are some packages being displayed normally while some are not. Same for individual projects.

    Attachments:
    You must be logged in to view attached files.
    #559289 Reply

    Aaron Lara
    Member

    @bl4ckscor3, Thanks for reaching out. A plugin might be forcing those colors in. Is it possible that you have a third party plugin installed that might be dealing with package explorer colors?

    Cheers,
    Aaron Lara

    • This reply was modified 6 years, 9 months ago by Aaron Lara.
    #559297 Reply

    bl4ckscor3
    Participant

    Hey, sorry, I forgot to mention that in my original post. No, I don’t have any plugins installed that could affect the colors.

    #559365 Reply

    bl4ckscor3
    Participant

    I found the cause of this problem. EGit was the culprit. I noticed that the wrongly displayed items in the package explorer were exactly those items that have been changed locally but not on the origin.
    So I guess in the end it was a plugin that messes with the colors in the package explorer, I just didn’t know I had it installed.

    #559396 Reply

    Aaron Lara
    Member

    @bl4ckscor3 Thanks for the extra details! So it might be that Egit is hardcoding its colors. The good news is that we can still fix it if we manage to replicate the issue (and with some inspection in Egit code). Can you provide as much details as you can on how to replicate?

    – Version of Egit installed
    – Kind of changes (only local changes?)
    – Kind of projects and files affected.

    Thanks!
    Aaron Lara

    #559400 Reply

    bl4ckscor3
    Participant

    Since Egit did not show up in the Installed tab of the Eclipse Marketplace I manually removed the files shown in the attachement. However, I installed the latest version of Egit from the marketplace (4.10.0) again and the issue is also present in that version. The projects are all Maven projects and the files affected all have local changes in the git repository.

    Attachments:
    You must be logged in to view attached files.
    #559429 Reply

    Aaron Lara
    Member

    Could you check in the “Colors and Fonts” Preferences page the values you have for Git colors? (see attached Screenshot). Is it possible that at some point you manually configured these colors before installing DevStyle? (we wouldn’t override your preferences).

    Attachments:
    You must be logged in to view attached files.
    #559433 Reply

    bl4ckscor3
    Participant

    This is how mine looks, however, I do not remember changing those. Perhaps it’s because I had an older version installed previously?

    • This reply was modified 6 years, 9 months ago by bl4ckscor3.
    Attachments:
    You must be logged in to view attached files.
    #559440 Reply

    Aaron Lara
    Member

    Good, then you can just configure colors as you need (and I bet it will just work). It’s still possible another plugin changed the preferences at some point. If you switch to a new workspace the issue persist?

    #559514 Reply

    bl4ckscor3
    Participant

    Yup, the issue persists across all different workspaces. Thanks for your help!

    #559517 Reply

    Aaron Lara
    Member

    So I think a plugin might be overriding the color. If you can provide a list of installed plugins it might be easier for us to replicate and investigate the real culprit.

    Another thought is that oomph might be doing that override, to test this (and if you don’t care about oomph) you can:
    1. Shut down eclipse.
    2. Remove all oomph directories under your <home>/.eclipse/
    3. Start eclipse in a new workspace.

    • This reply was modified 6 years, 9 months ago by Aaron Lara.
    • This reply was modified 6 years, 9 months ago by Aaron Lara.
    #559521 Reply

    bl4ckscor3
    Participant

    I’m actually not sure if this is the correct place to list the installed plugins, but the attached images show everything in Help > About > Installation Details > Installed Software. Please let me know if that’s not what you’re looking for.

    Attachments:
    You must be logged in to view attached files.
    #559523 Reply

    Aaron Lara
    Member

    Yes, that helps. Thanks! We will keep investigaing.

    #559528 Reply

    bl4ckscor3
    Participant

    About removing oomph: I created a new workspace (without removing the folders), added an existing project by copying it over from another workspace and importing it into the workspace, and the items in the package explorer were displayed incorrectly.
    I then closed eclipse, deleted that workspace, and removed the oomph folders as requested, created another, new workspace, copying the same existing project over and importing it. This time, without any incorrect colors. So removing oomph did help with a new workspace.

    #559529 Reply

    Aaron Lara
    Member

    Cool! Then it looks like we have found the Culprit. Oomph stored those preferences and it has been overriding them in all your workspaces. So if you want to get back to use your old workspace you just have to configure the preference yourself or select “Force Colors” in the DevStyle > Color Themes page and then Apply. Oomph should stop bothering at this point.

    Let me know any concern.

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: Some items in the package explorer are being displayed incorrectly

You must be logged in to post in the forum log in