-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Address VisualBell Feedback #430
Conversation
The flashing background with customizable color is way better than the great white flash ! In fact i was trying to add this feature. Glad you did it. |
Thanks for the PR! I've tried this out, and it all works as described. Having control of the flash color is much nicer than the great white flash. I'm not sold on having advanced effects like the text flashing or even more complex effects like pixelate. The color overlay can be implemented concisely. Mostly, I worry about taking on a bunch of code for something simple like the bell. Going to think on this some more. |
Understood 👍 FWIW, I'm just playing around with this feature in order to learn a bit more about Rust (and to play to some degree with OpenGL shaders). I'm happy to explore what can be done, even if little or none of it should be merged. I'm also happy to cut the text flashing or other parts of the PR if you'd like to accept some form of it. |
The |
It would have been awesome with some more subtle bell like pixelate or blur, but I fully understand that it feels like bloat.. edit: you could also have like a gradient with some lighter color towards the edges.. |
@jwilm any updates on this? All I'd be after is configurable background color for the flash. This seems like a good compromise between avoiding bloat / addressing the visually disturbing flash for those who dislike it. |
The great white flash is headache-inducing! I'll take anything that can be configured to be as subtle as i need (which is very subtle). Also nice would be if it could play sound like a bell traditionally does, although I COMPLETELY understand if we want to keep everything simple and visual only for dependency/portability/aesthetic reasons. |
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
#963 should implement this. |
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
This addresses the main feedback in alacritty/pull/430. I've decided to go from scratch instead of basing my work on top of what markandrus has already implemented to keep it as simple as possible. If there's any stuff that I should take from the other PR, please let me know. I can also try to send a PR to markandrus.
@jonhoo raised some useful feedback in #406, namely
This PR addresses 1 and 2 by converting VisualBellConfig into an enum representing one of three effects:
Example video (warning: flashing lights): https://gfycat.com/IdealLazyDairycow
Other changes:
animation
toeasing
.cubic_bezier
code to src/config.rs and added anease
function to the VisualBellEasing implementation.The VisualBellConfig enum could be expanded in the future to support a Pixelate option, e.g. something like
Or perhaps even a Blur could be supported; however, I think these would require adding a rendering pass, so I haven't implemented these yet.