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

2024.3 performance issues (seemingly) caused by Catppuccin? #190

Open
2 tasks done
Crocmagnon opened this issue Nov 30, 2024 · 9 comments
Open
2 tasks done

2024.3 performance issues (seemingly) caused by Catppuccin? #190

Crocmagnon opened this issue Nov 30, 2024 · 9 comments
Labels
bug Something isn't working upstream The issue seems to be with JetBrains and not the plugin itself

Comments

@Crocmagnon
Copy link

Is there an existing issue outlining your problem?

  • I have searched the existing issues and they do not solve my problem.

Have you followed the instructions in the the pinned issue?

  • I have followed the instructions in the pinned issue and they do not solve my problem.

Describe your problem.

When using alt+enter to trigger actions, the IDE (Goland) hangs forever. It shows as "unresponsive" in macOS process list and needs to be killed.

Attach screenshots.

With Catppuccin theme plugin enabled and active.
After alt+enter, I'm trying to use arrows up+down but it doesn't move. My cursor also showed the "spinning ball", though it doesn't render on the screencast.
https://github.com/user-attachments/assets/1aac8640-7a3f-475c-8752-d6c92f8204fd

With Catppuccin theme plugin disabled
https://github.com/user-attachments/assets/892e1cfc-d363-435b-b64e-4b44ebea2afb

Looks like it also affects at least one other user (https://plugins.jetbrains.com/plugin/18682-catppuccin-theme/reviews):
image

What IDE(s) are you seeing the problem on?

GoLand 2024.3 Build #GO-243.21565.208, built on November 14, 2024

Any additional comments?

This doesn't happen with builtin themes as shown in the screencast.

Also, I really love Catppuccin themes! Thank you for making them available for so many platforms 🙏🏻

@Crocmagnon Crocmagnon added the bug Something isn't working label Nov 30, 2024
@Crocmagnon Crocmagnon changed the title Makes IDE hang forever in some menu IDE hang forever in some menu Nov 30, 2024
@Crocmagnon Crocmagnon changed the title IDE hang forever in some menu IDE hang forever in some menus Nov 30, 2024
@sgoudham
Copy link
Contributor

Hey 👋,
Thanks for taking the time to report.

Personally, I must say that I am completely baffled at this. I'm still not convinced that Catppuccin is the problem because honestly I don't even know what we could change. Realistically, this plugin is only XML files that list hex codes which JetBrains is responsible for loading.

I suppose I'd be interested to know if the person on the plugin review was also using Goland or if it was another IDE.

Can you try invoking the context menu with another theme plugin enabled on the marketplace and see if you can reproduce this behaviour? Failing that, could you try to reproduce this in another IDE?

I'm struggling to think of the root cause because the context menus are fine in Intellij for me when using Catppuccin.

@Crocmagnon
Copy link
Author

Crocmagnon commented Nov 30, 2024

Looks like the issue happens more specifically when Catppuccin Latte is selected as the "Preferred Theme" (not the same as "Preferred Editor Color Scheme").

Capture d’écran 2024-11-30 à 20 15 34

The effect seems stronger when both the theme and color scheme are set to Catppuccin but setting the theme to "Light" for example makes this a non-issue.

I tried several themes from the "Material Theme UI" but I couldn't reproduce.

I'm able to reproduce in PyCharm.
I was also able to reproduce the issue in a brand new RustRover without any other plugins - only Catppuccin theme. The screencast looks interesting:
https://github.com/user-attachments/assets/bf027879-9858-48c2-a4a0-777e294ecced

We can see that it wants to redraw the popup quite often, I wonder whether there is a rendering issue somewhere.

I'm guessing not that many people use light theme ^^

@sgoudham
Copy link
Contributor

Can you downgrade your IDE version to 2024.2.x instead of using 2024.3 and see if this issue still persists?

@Crocmagnon
Copy link
Author

The issue doesn't appear on GoLand 2024.2.4 or PyCharm 2024.2.5. After upgrading again to 2024.3, the issue re-appears instantly.

@sgoudham
Copy link
Contributor

sgoudham commented Nov 30, 2024

Okay... that's interesting. It looks like the issue can be isolated to versions after 2024.3 but only to the Catppuccin theme plugin? It's weird to have this type of regression but for (seemingly) only Catppuccin.

This plugin is only defining JSON and XML files so I cannot think of anything to change on our side at the moment.

For what its worth, a fair amount of users have reported performance issues on the 2024.3 release:

image
image

I don't have any explanations on why the issue is appearing for you when only the Catppuccin theme is enabled though.

@sgoudham sgoudham changed the title IDE hang forever in some menus 2024.3 performance issues (seemingly) caused by Catppuccin? Nov 30, 2024
@Crocmagnon
Copy link
Author

Crocmagnon commented Nov 30, 2024

Oh well maybe the issue will sort itself out in a JetBrains fix later? In the meantime I reverted to 2024.2 which seems to work fine.

Thank you for being so responsive. At least the issue is documented.
I’ll try to remember to check in here once fixés are published to 2024.3.

@sgoudham
Copy link
Contributor

sgoudham commented Nov 30, 2024

Yeah this one is very odd to me, thanks for taking the time to take the screen recordings.

I can't believe that a simple colourscheme plugin can be responsible for IDE freezes/hangs but I'm happy to merge a PR that fixes this if Catppuccin is indeed the problem. Unfortunately, I don't have the time to look into this and frankly little motivation since there's very little, if at all, to debug and investigate.

I'll keep this issue open since there was another person on the reviews that mentioned the IDE being laggy.

@sgoudham sgoudham added the upstream The issue seems to be with JetBrains and not the plugin itself label Nov 30, 2024
@Crocmagnon
Copy link
Author

Crocmagnon commented Dec 1, 2024

Searching for "catppuccin" in YouTrack surfaces multiple issues similar to the one I reported, and it looks like Catppuccin is not the only affected theme. Gerry Light was also mentioned several times.

The upstream issue hypothesis seems to be confirmed.

I was able to reproduce the issue in IntelliJ IDEA 2024.3. They released a preview version of 2024.3.1 but unfortunately it doesn't fix the issue.

I opened an issue upstream as well: https://youtrack.jetbrains.com/issue/IJPL-172729/IDE-freeze-in-2024.3-using-specific-themes

@SupianIDz
Copy link

@sgoudham This only happens with Catppuccin Latte.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream The issue seems to be with JetBrains and not the plugin itself
Projects
None yet
Development

No branches or pull requests

3 participants