Skip to content
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

JB default instead Atom icon for .py file icon is shown on the sidebar in PyCharm 2024.2 #465

Open
mhxion opened this issue Aug 20, 2024 · 2 comments

Comments

@mhxion
Copy link

mhxion commented Aug 20, 2024

Describe the bug

Atom icon for .py file extension is correctly shown on the opened tab, but not on the sidebar (file icon association has not been changed of course), on an existing project.

screenshot_wrong_atom_icon

Oddly enough, the bug cannot be reproduced with other file associations like with .js files!

To Reproduce

  1. Update PyCharm to 2024.2
  2. Open an existing project
  3. Create a .py file

Expected Behavior

It should show the Atom Python icon.
Screenshot 2024-08-20 at 4 26 11 PM

Environment

PyCharm 2024.2 (Professional Edition)
Build #PY-242.20224.347, built on August 9, 2024
Licensed to <me>
Subscription is active until <datetime>.
Runtime version: 21.0.3+13-b509.4 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3072M
Cores: 8
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  debugger.new.tool.window.layout=true
  ide.intellij.laf.enable.animation=true
  ide.experimental.ui=true
  terminal.new.ui=true
Non-Bundled Plugins:
  com.vecheslav.darculaSolidTheme (1.0.3)
  com.intellij.ideolog (242.20224.385)
  com.github.beansoft.iscratch (2024.2.1)
  com.intellij.ml.llm (242.20224.421)
  org.jetbrains.jettrain (0.7.0)
  com.koxudaxi.ruff (0.0.35)
  ru.adelf.idea.dotenv (2024.2.1)
  com.mallowigi (97.0.0)
@jkazimierczak
Copy link

I had the same issue for a few months no matter whether it was 2023.x.x or 2024.x.x IDEs. It also seems, that the same issue persists with the installation of Classic UI plugin, so it doesn't seem related to the UI stye.

Unless the plugins collide in my case, and the Classic UI takes precedence over Atom Icons, but I doubt that, since the OP has New UI.

Example of how it looks with Classic UI plugin:

image

An instance of the built-in icons can also be found in the File Types settings - I don't know if it affects the issue somehow though.

image

IDE Details:

PyCharm 2024.2.0.1 (Professional Edition)
Build #PY-242.20224.428, built on August 21, 2024
Licensed to $whoami
Subscription is active until November 4, 2024.
For educational use only.
Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 4
Registry:
  ide.balloon.shadow.size=0
  ide.new.editor.tabs.vertical.borders=true
  ide.animate.toolwindows=true
  ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
  com.intellij.classic.ui (242.20224.159)
  com.github.lppedd.idea-conventional-commit (0.23.1)
  com.intellij.plugin.adernov.powershell (2.7.0)
  com.github.lppedd.idea-conventional-commit-commitlint (0.1.2)
  String Manipulation (9.14.1)
  net.seesharpsoft.intellij.plugins.file-preview (1.6.4)
  ru.adelf.idea.dotenv (2024.2.1)
  com.mallowigi (97.0.0)
  mobi.hsz.idea.gitignore (4.5.3)
  com.github.copilot (1.5.20.6554)
  com.chrisrm.idea.MaterialThemeUI (9.4.1)

@mallowigi
Copy link
Collaborator

This is a known bug due to plugins taking precedence over other plugins...

This could be fixed by an iconMapper, but I'm reserving iconMappers for the new icons so this will have to wait.

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

No branches or pull requests

3 participants