AtomMaterialUI / a-file-icon-idea

Atom Material Icons for JetBrains - Replace File and UI Icons for better visual grepping.
http://www.material-theme.com/docs/configuration/icons-settings/#atom-material-icons-plugin
MIT License
225 stars 28 forks source link

Packages are broken. #446

Open actuallySoheil opened 7 months ago

actuallySoheil commented 7 months ago

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

mallowigi commented 7 months ago

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

actuallySoheil commented 7 months ago

yes. I'm 100 percent sure

mallowigi commented 6 months ago

I can't reproduce.

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

actuallySoheil commented 6 months ago

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

actuallySoheil commented 6 months ago

what theme are you using? @mallowigi

mallowigi commented 6 months ago

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

actuallySoheil commented 6 months ago

Screenshot 2024-05-12 201204

actuallySoheil commented 6 months ago

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

actuallySoheil commented 6 months ago

https://github.com/mallowigi/a-file-icon-idea/assets/124730657/86048385-52d0-4b87-92ee-b281aaccf1ec

actuallySoheil commented 6 months ago

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

actuallySoheil commented 6 months ago

https://github.com/mallowigi/a-file-icon-idea/assets/124730657/55a8ca63-0444-4b5a-981d-67f9016ce076

actuallySoheil commented 6 months ago

image

mallowigi commented 6 months ago

That's... very strange

mallowigi commented 3 months ago

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.