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

Configuring to show previews of custom icon fonts causes the IDEA to stuck on 'Checking icons...' and becomes irresponsive. #6932

Open
just7mile opened this issue Oct 16, 2023 · 0 comments

Comments

@just7mile
Copy link

Steps to Reproduce

MacOS Sonoma 14.0, MacBook Pro on M1 chip.

When configuring IntelliJ IDEA Community Edition to show previews of custom icon fonts, it works perfectly and shows icon previews just fine. But after restarting the IDEA, it gets stuck on Checking icons... and does not respond to any clicks. It is necessary to force quit. I think it goes into a deadlock as it uses a lot of CPU.

Screenshot 2023-10-16 at 16 23 41

The custom icons is in a package inside the project. So, the project pubspec.yml:

...
environment:
  sdk: ">=3.0.0"
  flutter: ">=3.10.0"

...

test_icons:
    path: packages/test_icons

The packages/test_icons is a flutter package that contains icons font. It is implemented by following official instructions.

The IDEA configurations:

Screenshot 2023-10-16 at 16 35 02

The same issue exists on latest Android Studio.

Version info

[✓] Flutter (Channel stable, 3.13.7, on macOS 14.0 23A344 darwin-arm64, locale en-US)
    • Flutter version 3.13.7 on channel stable at ...
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2f708eb839 (7 days ago), 2023-10-09 09:58:08 -0500
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at ...
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter **(Although the plugin is installed, version 75.1.2)**
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart **(Although the plugin is installed, version 223.8950)**
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Community Edition (version 2023.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.10072.19

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.149

[✓] Network resources
    • All expected network resources are available.

• No issues found!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant