-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
New effect: Magic lamp for closing windows #299
Comments
Hi there! This is indeed a great idea. However, it will be tricky implementation-wise. For now, the effects use shaders which "simply" modify the image texture of the window. This means, that the effect is more or less limited to the area of the window (including its shadow). For some effects (like the broken-glass effect), the window is up-scaled before the animation in order to provide a larger "canvas" for drawing the effect. For the effect you suggest, it could be possible that the mouse pointer is on the opposite side of the screen and thus the window would need to upscaled to fill the entire screen. This is possible, but may result in a mediocre performance. And I have not yet discovered a way to upscale the window on KDE, so this would be a GNOME-only effect. |
Came to ask for this as well. for minimizing I've been using this extension: compiz alike magic lamp effect. I will see if am able to tweak with it a bit maybe to contribute, might take a big while since I still gotta learn my way around messing with gnome (just installed linux for 1 week yet, loving it so far) |
I already started working on this in the |
The Idea
I'd love the magic lamp effect but for closing windows. On KDE, if no taskbar is present, when the minimize button is pressed, the window is "swallowed" by the mouse cursor instead of the taskbar, this could be added but when the window is closed.
Window Closing vs. Window Opening
For opening windows, the window could appear from the bottom implying that it appears from the (now hidden) dash. If the dash is visible or on another place, maybe the effect can start from the app window or drawer icon.
References
I only found videos for the classic magic lamp effect that send the window to the taskbar https://youtu.be/tipsCGAFbPg
The text was updated successfully, but these errors were encountered: