-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Not working in 2023.1 EAP #65
Comments
Your exception log seems to be missing the top part. I’ll try to get support out sometime next week. |
@weisJ sorry, Github cut the first line. Now it's full! |
Thanks for the effort, discovered this from https://youtrack.jetbrains.com/issue/IDEA-251176/Implement-IDE-theme-sync-with-OS-on-Linux How are we doing here with 2023.1 compatibility? |
A preview version compatible with 2023.1-EAP should be available in the next few days |
The new version has been published. If you experience any issues with it please let me know :) |
Same issue as @lkraav in WSL2 with |
Is this an issue you are also experiencing with older versions of the plugin? Could you provide your log file? |
This is my first run with it.
|
I think this has to do with the change introduced by #54. Do you have |
@lkraav Please try whether the following version works for you: auto-dark-mode-plugin-1.7.2.1-EAP-2023.1.zip @maicol07 You are experiencing a slightly different issue. The plugin doesn't recognize your desktop environment as one being supported. If you are sure it should work you can forcefully enable the functionality in the settings (please also use the version above). |
@weisJ installing the version above I get this window:
Full log: idea.log |
Please try this new version: |
Now IDE starts, but I get this exception in the IDE Internal Errors window:
Full log: idea.log Also it seems theme isn't detected |
The library
That is because the library couldn't be loaded.
|
Thank you! That was indeed missing and prevented a part of the settings to show up. Now the only thing I don't understand is why theme doesn't switch. It seems no errors are thrown. Log: idea.log |
What mechanism are you using to change your theme? You could try to enable the Xdg-Desktop implementation in the settings. |
I'm currently using I'm using these if test $light -eq "0x0"
# Switch to dark theme
gsettings set org.gnome.desktop.interface gtk-theme 'Fluent-dark'
gsettings set org.gnome.desktop.wm.preferences theme 'Fluent-dark'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
else
# Switch to light theme
gsettings set org.gnome.desktop.interface gtk-theme 'Fluent'
gsettings set org.gnome.desktop.wm.preferences theme 'Fluent'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
end |
No errors, but also editor still doesn't change in any way.
This is my starting point IDE configuration 🤔 I don't have New UI enabled for now. Is that somehow relevant here? |
Why is the Theme combobox greyed out? The new UI shouldn't affect anything. Can you also provide the log for the new version? |
My grep is with the newest zip. But "greyed out" - looking into https://intellij-support.jetbrains.com/hc/en-us/community/posts/4414805173266-After-recent-update-Theme-dropdown-is-disabled-not-clickable been wondering about that myself. |
The version I uploaded above? It has to be installed manually |
That's what I did. Version string is visible in grep, should match the zip. |
Sorry I overlooked the second grep output. In this case same question as above: What mechanism do you use to change the theme? What DE do you use? You can also try to enable the Xdg-Desktop implementation |
#65 (comment) (Gnome 44) https://blogs.gnome.org/alexm/2021/10/04/dark-style-preference/ this is for initial Gnome 42, but I think implementation has not changed. |
See #61 (comment) for limitations with Gnome >=43. Please try to enable the Xdg-Desktop implementation in the settings. I’ll try to update compatibility for newer Gnome versions soon. |
Yes, XDG works! If I can buy you the best gourmet coffee with some link, post it :) |
Wonderful! Great that it work :). You can support me through PayPal: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=44DYEVYYW5MR4&source=url |
@weisJ I confirm that xdg works fine! Command for reference: gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' |
I have submitted a new version (should be up in the next few days). The settings have changed slightly, so you might have to reconfigure when upgrading. I'll wait a few days to see whether people seem to have any issues. After that the changes will be backported to earlier versions (up to 2022.1 as that is the newest stable version of IDEA that Android Studio uses). |
Do you have a current working version for Android Studio? |
No I currently don’t have one. Backporting the changes takes some time (I hope to have one up by the end of next week) If you want to build it yourself for older version you should probably start from the 2023.1 branch. |
Closing since 2023.1 version has been out for some time. Issue about 2023.2: 2023.2 compatibility · Issue #70 · weisJ/auto-dark-mode (github.com) |
Hi,
currently, the plugin is marked as incompatible on JetBrains Marketplace with 2023.1. Can you add support for it?
There is also this exception on 2023.1 with the force-enabled plugin:
Thanks
The text was updated successfully, but these errors were encountered: