a-file-icon-idea icon indicating copy to clipboard operation
a-file-icon-idea copied to clipboard

Main menu button turns into a white square

Open dcsmf opened this issue 10 months ago • 9 comments

Describe the bug After the update to version 101.0, the main menu button in the upper left corner of the IDE will turn into a white square when the ui icon is turned off

To Reproduce

  1. Enable plugin
  2. Diable "UI Icons"

Expected Behavior Normally, this should be displayed like:

Image

Environment

RustRover 2024.3.3
Build #RR-243.23654.116, built on January 16, 2025
Runtime version: 21.0.5+8-b631.30 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
  debugger.attach.dialog.enabled=true
  ide.experimental.ui=true
  org.toml.json.schema=false
  llm.ai.assistant.toolwindow.activation.on.start=false
  terminal.new.ui=true
  transferSettings.vscode.onlyCargoToml=true
  terminal.new.ui.show.promotion=false
Non-Bundled Plugins:
  com.nasller.CodeGlancePro (1.9.5)
  com.rust.json.quick.RustJson (1.2.0)
  org.OverEngineer.InlineProblems (0.5.3)
  name.kropp.intellij.makefile (243.21565.122)
  com.wakatime.intellij.plugin (15.0.3)
  GrepConsole (13.2.0-IJ2023.3)
  ski.chrzanow.foldableprojectview (2.0.0)
  de.achimonline.recent_projects_cleaner (1.1.0)
  izhangzhihao.rainbow.brackets (2024.2.8-241)
  cn.yiiguxing.plugin.translate (3.6.8)
  com.mallowigi (101.0.1)
  mobi.hsz.idea.gitignore (4.5.4)

Screenshots

Now it's like this

Image

enabled plugins:

Image

dcsmf avatar Jan 22 '25 07:01 dcsmf

Similar thing with metadata file icon in files tree. Plugin version 101.0.1, Idea version 243.23654.117, MacOS.

Image

Lasagnya avatar Jan 22 '25 13:01 Lasagnya

I fixed the metadata association. Couldnt reproduce the issue with the menu though

mallowigi avatar Jan 24 '25 10:01 mallowigi

I fixed the metadata association. Couldnt reproduce the issue with the menu though我修复了元数据关联。但是,无法重现菜单的问题

I reinstalled IntelliJ IDEA, the plugins, and even the operating system, but the white squares still appear

Some people in the plugin review section have also mentioned this issue. It seems I’m not the only one experiencing it.

Could you please reopen this issue so that everyone can work together to figure out the cause?

Image

dcsmf avatar Feb 11 '25 15:02 dcsmf

Like I said I didn't manage to reproduce, I tried on my Windows machine but I never saw that icon. I'll reopen for visibility but this is likely something that will not be fixed soon. If you manage to find the issue feel free to send a PR.

mallowigi avatar Feb 11 '25 20:02 mallowigi

Like I said I didn't manage to reproduce, I tried on my Windows machine but I never saw that icon. I'll reopen for visibility but this is likely something that will not be fixed soon. If you manage to find the issue feel free to send a PR.

I enabled the UI Inspector to check the button; the one with the installed plugin can't load the icon.

Image

I noticed that the plugin implements the IconPathPatcher class to replace icons. I tried creating a plugin with the same logic, but it can replace and restore icons normally. Is there anything else I might have missed?

dcsmf avatar Feb 18 '25 07:02 dcsmf

The same problem here, white ⬜. Plugin version 101.2.0,

Image

WebStorm 2024.3.3
Build #WS-243.24978.60, built on February 13, 2025
Runtime version: 21.0.6+8-b631.39 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 16
Registry:
  debugger.new.tool.window.layout=true
  vcs.log.index.enable=true
  ide.experimental.ui=true
  terminal.new.ui=true
Non-Bundled Plugins:
  com.jetbrains.space (243.25439)
  com.vecheslav.darculaDarkerTheme (1.2.0)
  com.intellij.grazie.pro (0.3.359)
  org.jetbrains.plugins.github (243.24978.79-ultimate)
  com.mallowigi (101.2.0)
  izhangzhihao.rainbow.brackets (2024.2.8-241)

Emil-Sirbu-Dev avatar Feb 25 '25 23:02 Emil-Sirbu-Dev

The same problem here, white square. Plugin version 101.2.0,

WebStorm 2024.3.4
Build #WS-243.25659.40, built on February 27, 2025
Licensed to 


Runtime version: 21.0.6+8-b631.39 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  aishwarya18102000.starlight (1.0.0)
  dev.alexjs.dark-matter (1.7)
  com.mallowigi (101.2.0)
  com.genesiscorp.auto-save-on-typing (1.0)
  izhangzhihao.rainbow.brackets (2024.2.8-241)

IonDuluta avatar Feb 28 '25 16:02 IonDuluta

Same problem here with latest version

TondaKrist avatar May 06 '25 09:05 TondaKrist

Same problem with phpstorm with the latest version

GuillaumeCible avatar Jun 06 '25 17:06 GuillaumeCible

Same issue for me. I wanted the default look of the Intellij UI, but use the material icons for files and folders, so i disabled UI icons in the dropdown, but that blank square is there instead of the 3 dots. Windows 10 IntelliJ IDEA 2025.1 (Community Edition) Build #IC-251.23774.435, built on April 14, 2025. Atom Material Icons - 101.2.0 For now i just disabled the main menu icon, and just did File -> Settings -> Appearance & Behavior -> Appearance -> Main Menu: Merge with Main Toolbar. I'll probably use that from now on actually lol, its more convenient, but yeah just thought i'd bump the issue.

LazarBojanic avatar Jun 13 '25 09:06 LazarBojanic

Description:

When Atom Material Icons is enabled in JetBrains IDEs (e.g. IntelliJ, WebStorm, PyCharm), the Main Menu (Hamburger) icon in the top left corner does not render correctly. Instead, it appears as a plain white rectangle.

This issue makes the main navigation button visually unusable (white square), especially in dark themes where it completely blends into the background.

Steps to reproduce:

  1. Install and enable the Atom Material Icons plugin
  2. Restart the IDE
  3. Observe the Main Menu (Hamburger) icon in the top-left corner

Expected behavior:

The standard Main Menu icon (three-bar “hamburger” icon) should be displayed.

Actual behavior:

The Main Menu icon is replaced with a white rectangle.

Environment:

  • IDE: [IntelliJ IDEA / WebStorm / PyCharm … + version]
  • OS: [Windows/macOS/Linux + version]
  • Plugin version: 101.2.0
  • Theme: Dark

Additional context:

  • The issue seems to come from the custom icon override for action.mainMenu in the plugin.
  • There is currently no simple workaround in the IDE settings to restore the original icon. The only option would be to manually patch the plugin JAR or disable the plugin entirely.

maximilianfixl avatar Aug 28 '25 07:08 maximilianfixl