-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
feat(#2989): (optional) hover for all modules #3145
feat(#2989): (optional) hover for all modules #3145
Conversation
(Force-push removed debug log statements) |
Nice approach, it might be the perfect workaround to have hover effect. |
Can you also add it to the man? |
Thanks, I'll handle your feedback tonight when I have time! |
Made the following changes:
|
Might be useful: after a short dive into the GTK internals, I figured out how to make the
Important part of the trick is that GtkEventBox does not propagate the state flags to the child widgets, so you have to apply the |
I could attempt @alebastr's solution if that is preferrable. It looks good to me, I don't know, maybe it's a bit more elegant. If my understanding is correct, I think the CSS would look like this instead, which I think shouldn't be breaking any configurations out in the wild, although I guess it's more likely that some people have failed attempts at applying hover like this in their configs:
|
I jumped the gun and applied those changes. I think it's much more elegantly done like this. We get the normal CSS |
🔥 |
A second attempt at implementing hover for all modules in a much less intrusive way.
See #3139 also (the more naive implementation which I found a similar approach had been tried and reverted).
Let me know if any additional documentation is required to get this merged. Alternatively, I think this could just be merged directly exposing the functionality for the super users immediately and then improved upon later on.