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

Serious incompatibility with Jetbrain IDE #1687

Closed
Apolsus opened this issue Apr 1, 2023 · 7 comments
Closed

Serious incompatibility with Jetbrain IDE #1687

Apolsus opened this issue Apr 1, 2023 · 7 comments

Comments

@Apolsus
Copy link

Apolsus commented Apr 1, 2023

If you use an IDE for development, such as the Jetbrain family of IDEs, you will often have pop-ups.

If you don't want these pop-ups to be managed.You have to add the following rules.

JB_Apps='^(CLion|PyCharm|IntelliJ IDEA)$'
yabai -m rule --add app="${JB_Apps}" title!=".*\[.*\].*" manage=off

But this leads to another problem. When you open a project from the welcome interface, it will not be managed.

Adding rules like app="${JB_Apps}" title=".*\[.*\].*" manage=on doesn't make up for it.

@Apolsus Apolsus changed the title Serious incompatibility with Jetbrain Serious incompatibility with Jetbrain IDE Apr 1, 2023
@Apolsus Apolsus closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
@Apolsus
Copy link
Author

Apolsus commented Apr 1, 2023

This should be because the JB IDE modifies the title and starts out empty.

Yabai has no way to track the final title.

@Apolsus Apolsus reopened this Apr 1, 2023
@Apolsus
Copy link
Author

Apolsus commented Apr 1, 2023

This rules works well:

JB_Apps='^(CLion|PyCharm|IntelliJ IDEA)$'
yabai -m rule --add app="${JB_Apps}" manage=off
# If `Open last project when launch` is checked, add this rule. And make sure `always show project path` is also checked.
# yabai -m rule --add app="${JB_Apps}" title=".*\[.*\].*" manage=on 
yabai -m rule --add app="${JB_Apps}" title="^$"  manage=on

@chasonyu
Copy link

chasonyu commented Apr 1, 2023

When the Jetbrains app is open, restarting 'yabai' will cause the app's window to become floating again.

@Apolsus
Copy link
Author

Apolsus commented Apr 2, 2023

When the Jetbrains app is open, restarting 'yabai' will cause the app's window to become floating again.

Then add the additional rule in the annotate. And set up the IDE setting >> appearance and behavior >> always show full path in the window title.

@iamim
Copy link

iamim commented Jan 10, 2024

For Rider the app name should be JetBrains Rider. yabai --verbose is helpful for debugging this kind of issues.

@abey79
Copy link

abey79 commented May 27, 2024

Possible work-around here: #2297 (reply in thread)

Yabai has no way to track the final title.

This doesn't seem entirely correct, since yabai can signal title change.

@RustyDoggoBytes
Copy link

thanks @chasonyu for that tip! I added the cmd + shift - tab : yabai --restart-service to .skdhrc :)

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

5 participants