Skip to content

Missing icons in Examples window #956

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

Closed
SableRaf opened this issue Mar 7, 2025 · 6 comments · Fixed by #971
Closed

Missing icons in Examples window #956

SableRaf opened this issue Mar 7, 2025 · 6 comments · Fixed by #971
Assignees
Labels
bug Something isn't working

Comments

@SableRaf
Copy link
Collaborator

SableRaf commented Mar 7, 2025

Most appropriate sub-area of Processing 4?

PDE

Processing version

Processing 4.4 (pre-release)

Operating system

macOS 13.4 (22F66)

Steps to reproduce this

File and folder icons in the Examples window are missing from the Gradle version of Processing.

  1. Build Processing from source (Gradle version)
  2. Open the Examples window
  3. Notice the missing icons

snippet

Additional context

In Processing 4.3.4

Image

In Processing 4.4 (pre-release):

Image

Would you like to work on the issue?

I wouldn't know where to start 😅

@SableRaf SableRaf added the bug Something isn't working label Mar 7, 2025
@Stefterv
Copy link
Collaborator

I looked into it and I cannot find where these icon are defined. I suspect it has something to do with the flatlaf configuration not being completely integrated but I am kind of stumped on how this was set up before

@SableRaf
Copy link
Collaborator Author

Let's add this to the list of known issues for the 4.4 release. It's not a critical bug and this panel will be redesigned soon anyway.

@DevCharly
Copy link

It is a feature of FlatLaf 3.0 (and later) that the default closed/opened/leaf icons are hidden by default.
They provide no real value and modern UIs don't uses such icons anymore.

Anyway if you want them back, add following to FlatLaf.properties:

Tree.showDefaultIcons = true

@Stefterv
Copy link
Collaborator

Hi @DevCharly Thank you so much, that was the solution

@DevCharly
Copy link

@Stefterv great, but why go back to 3 year old FlatLaf 2.4 in PR #971 ? That's a bad idea IMHO 😉

@Stefterv
Copy link
Collaborator

Because the upgrade was accidental, the actual version used was 2.4 before the gradle migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants