AtomMaterialUI/a-file-icon-idea

Packages are broken.

Closed this issue ยท 15 comments

Describe the bug:
Basically, when I change the view to "Production" instead of "Project" in IntelliJ, I normally see packages and resources like this:
image

However, by using the plugin, packages get little messy, and it shows me the full path in some packages:
image

To Reproduce:

  1. Change view to "Production" instaed of "Project"
  2. See the bug.

Expected Behavior

  1. Packages should not be like the images shown above

Environment
IntelliJ IDEA 2024.1 (Community Edition)
Build #IC-241.14494.240, built on March 28, 2024
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
project.tree.structure.show.url=false
ide.experimental.ui=true
Non-Bundled Plugins:
Lombook Plugin (241.14494.240)
izhangzhihao.rainbow.brackets (2024.2.2-241)
com.demonwav.minecraft-dev (2024.1-1.7.4)
com.almightyalpaca.intellij.plugins.discord (1.12.0)
com.mallowigi (95.0.0)
Kotlin: 241.14494.240-IJ

Are you sure these screenshots differ only by having the plugin enabled or disabled ?

yes. I'm 100 percent sure

I can't reproduce.

Are you sure you don't have this option enabled:
CleanShot 2024-05-11 at 18 24 59@2x

It seems that packages that don't have a custom icon get this issue

what theme are you using? @mallowigi

Can you display the settings of your "Tree Appearance" menu?

I disabled "Compact Directories" and I still have this issue.

2024-05-12.20-15-36.mp4

@mallowigi I think I found the issue. here is the video.

2024-05-12.20-18-34.mp4

That's... very strange

Follow up: I managed to reproduce and so far I couldn't find a fix for this issue, it is very strange, especially since it works fine on the "Project" view.

But there's a fix until I find something that works: simply disable the "Hollow Folders" setting and it will render ok.

Closing due to lack of time investigating this.