Comments (12)
Not a stupid question at all. You can find the logs under Help->Show logs
from auto-dark-mode.
This has been fixed in #34. A new version including the fix has been uploaded and should be available in at most 2-3 days.
from auto-dark-mode.
This certainly isn't supposed to be happening. I will have a look at what might be causing this.
from auto-dark-mode.
Can I do anything to debug it?
from auto-dark-mode.
It would be very helpful if you could install this version and provide the logs for when changing the gnome theme.
Edit: The linked version is currently broken. Just use the currently installed version for the log.
from auto-dark-mode.
Where do I find the logs? Sorry if that's a stupid question, but I have never debugged am Idea plugin before.
from auto-dark-mode.
There's an idea.log
file but it shows no message if I tail -f
it and change the theme via gsettings set
. The only messages related to this plugin I can see are:
[…] INFO - tform.linux.gnome.GnomeLibrary - Loaded libauto-dark-mode-linux-gnome.so.
[…] INFO - .platform.AbstractThemeMonitor - Started theme monitoring.
Haven't noticed any exception 🤷
from auto-dark-mode.
PS: As an additional data point, the theme updates also if I toggle the "Change editor/IDE theme" check boxes in the settings dialog of this plugin and press "Apply"…
It looks as if it perfectly picks up the current theme, but fails to get an event if the theme's changed.
from auto-dark-mode.
Yes it seems like the gnome settings hook doesn't fire when the settings change. Strangely enough it seems to be working when using the runIde
gradle task. Are you using version 2020.3.1
or 2020.3
? There might have been some changes in 2020.3.1
relating to how native libraries are handles in the jetbrains runtime (Which I hope is not the case).
from auto-dark-mode.
2020.3.1
from auto-dark-mode.
Indeed the signal, that the theme has been changed, doesn't notify the registered callback.
It seems like this behaviour can't be replicated using the runIde
task (there the theme detection works as expected). This makes it very difficult to debug the issue as this probably is related to how the plugin classes/libraries are loaded in the Jetbrains runtime (This is just speculation. The runIde
task also used the Jetbrains runtime, so this probably isn't the full picture).
I have submitted a bug report to Jetbrains, to get some clarification.
from auto-dark-mode.
@weisJ Yeah, indeed 😍 Many many thanks for digging into this and fixing it 🤗
from auto-dark-mode.
Related Issues (20)
- Support for 2022.1 version HOT 1
- Time-based fallback for unsupported environments HOT 2
- libauto-dark-mode-linux-gtk.so not found HOT 2
- [Feature Request] Detect system theme with the new libadwaita baked into GNOME 42 HOT 2
- UI freeze upon exit HOT 6
- Not compatible with WebStorm 2022.2 HOT 4
- gnome-settings-daemon detection doesn't work outside of i3, GNOME, or XFCE HOT 6
- Not working in 2023.1 EAP HOT 34
- com.intellij.serviceContainer.AlreadyDisposedException: Cannot create light service HOT 5
- libauto-dark-mode-linux-gtk-x86-64.so GLIBC version for Ubuntu 20.04 HOT 1
- 2023.2 compatibility HOT 10
- Updating LAF causes issues down the road HOT 1
- color-scheme in wayland gnome doesn't seem to work HOT 7
- [feature suggestion] ability to select themes for dark/light HOT 1
- Incompatible with PyCharm versions newer than build 231.* HOT 1
- Not compatible with 2023.3 HOT 1
- Don't throw exceptions if GTK lib can't be loaded HOT 8
- Extension throws exception HOT 2
- 2024.1 EAP - for New Terminal HOT 2
- Bug with toolbar duplication HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-dark-mode.