Skip to content

The icon for running a test method is not displayed correctly in the dark editor theme #8151

Closed

Description

@troizet

Apache NetBeans version

Apache NetBeans 24

What happened

The icon for running a test method is not displayed correctly in the dark editor theme:

Image

Language / Project Type / NetBeans Component

No response

How to reproduce

  • Select a dark theme for the editor in:
    Tools -> Options -> Fonts and Colors -> Profile.

In the example, FlatLaf Dark profile is selected.

  • Open any test file.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu 22.04.5 LTS

JDK

OpenJDK Runtime Environment 17.0.13+11-Ubuntu-2ubuntu122.04

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    UI
    on Jan 14, 2025
  2. neilcsmith-net commented on Jan 14, 2025

    @neilcsmith-net
    Member

    Have you tried with a recent dev build? An SVG icon was added for this last week so this might already be fixed.

  3. mbien commented on Jan 14, 2025

    @mbien
    Member

    I believe it will use the bitmap icon until the image loading/composition refactoring PRs are merged. I run a dev build right now and can reproduce it. I always thought this should represent that you can choose between run and debug - but the light theme renders it properly so it might be indeed a bug.

    some alpha blending cutoff issue?

  4. mbien commented on Jan 14, 2025

    @mbien
    Member

    i think this confirms its alpha blending (or the lack of any blending ;)):

    Image

    so this will be likely fixed with one of @eirikbakke svg / img loading PRs which are in the queue.

  5. removed
    needs:triage
    on Jan 14, 2025
  6. eirikbakke commented on Jan 14, 2025

    @eirikbakke
    Contributor

    so this will be likely fixed with one of @eirikbakke svg / img loading PRs which are in the queue.

    Yeah, I think it will! The revision to #8114 is ready to be reviewed again, and once that PR is merged I will revise #8109 to simplify by using new ImageUtilities methods.

  7. mbien commented on Jan 14, 2025

    @mbien
    Member

    linked the PR with this issue, looks good:

    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorUIkind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions