Code Monkey home page Code Monkey logo

burn-my-windows's Introduction

πŸ”₯ Set GNOME Shell and KWin on Fire!


Important

The code in the main branch is for GNOME Shell 45+. For older GNOME versions, please use the gnome-3.36-44 branch.

When I released the Desktop Cube Extension for GNOME, many people requested to revive one of the most useless features of Linux desktop history: Setting windows on fire! This extension is not only more useless than the cube, but it is also much more hacky. So I expect some bug! Let's incinerate them all!

πŸ–ΌοΈ The wallpapers used in the previews below were all generated using AI and are available in this GitHub repository.

Effect Preview
Apparition
This effect hides your windows by violently sucking them into the void of magic!
Broken Glass
Shatter your windows into a shower sharp shards! This effect can be configured so that the shards fly away from your mouse pointer position!
Doom
Melt your windows. Inspired by the legendary screen transitions of the original Doom.
Energize A
Beam your windows away!
Energize B
Using different transporter technology results in an alternative visual effect.
Fire
The classic effect inspired by Compiz. However, this is implemented using a GLSL shader and not with a particle system like in the old days.
Glide
This very simple effect fades the window to transparency with subtle 3D effects.
Glitch
This effect applies some intentional graphics issues to your windows.
Hexagon
With glowing lines and hexagon-shaped tiles, this effect looks very sci-fi.
Incinerate
A less snappy but definitely more fancy take on the fire effect.
Matrix
Turn your windows into a shower of green letters! The color is actually configurable.
Paint Brush
Paint or erase your windows with a thick paint brush.
Pixelate
Pixelate your windows and randomly hide pixels until the entire window is gone.
Pixel Wheel
This simple effect pixelates the window and hides the pixels in a wheel-like fashion.
Pixel Wipe
This effect pixelates the window and hides the pixels radially, starting from the pointer position.
Portal
This ridiculous effect teleports your windows from and to alternative dimensions. It may resemble the portal from a well-known cartoon series...
Snap of Disintegration
Dissolve your windows into a cloud of dust.
T-Rex Attack
Destroy your windows with a series of violent slashes!
TV Effect
This is a very simple effect to demonstrate that this extension could also be used in a more professional environment.
TV Glitch
This effect combines the Glitch and the TV Effect.
Wisps
Let your windows be carried away to the realm of dreams by these little fairies!
Your Effect!
The extension is very modular and with a bit of creativity and GLSL knowledge, you can easily create your own effects.
Create your own effects

βœ… Supported Versions

Not every effect is available on each version of GNOME or KWin. Below is a table which summarizes the current availability for all effects.

GNOME KWin
3.36 3.3840+5.25.0+
Apparition βœ… βœ…
Broken Glass βœ…
Doom βœ… βœ… βœ…
Energize A βœ… βœ… βœ… βœ…
Energize B βœ… βœ… βœ… βœ…
Fire βœ… βœ… βœ… βœ…
Glide βœ… βœ… βœ… βœ…
Glitch βœ… βœ… βœ… βœ…
Hexagon βœ… βœ… βœ… βœ…
Incinerate βœ… βœ… βœ… βœ…
Matrix βœ…
Paint Brush βœ…
Pixelate βœ… βœ… βœ… βœ…
Pixel Wheel βœ… βœ… βœ… βœ…
Pixel Wipe βœ… βœ… βœ… βœ…
Portal βœ… βœ… βœ… βœ…
Snap of Disintegration βœ…
T-Rex Attack βœ…
TV Effect βœ… βœ… βœ… βœ…
TV Glitch βœ… βœ… βœ… βœ…
Wisps βœ… βœ… βœ… βœ…

πŸ’ž Show that you love Burn-My-Windows!

kofi github paypal crypto

While coding new features or translating Burn-My-Windows is the most awesome way to contribute, providing financial support will encourage me to invest my spare time for developing free and open-source software.

These awesome people have already donated to the development of my open-source projects:

Sponsors List

⬇️ Installation (GNOME)

You can either install the Burn-My-Windows extension from extensions.gnome.org (a), download a stable release from GitHub (b) or clone the latest version directly with git (c).

a) Installing from extensions.gnome.org

This is the easiest way to install the Burn-My-Windows extension. Just head over to extensions.gnome.org and flip the switch! If you want to use a more up-to-date version, you can try one of the methods listed below.

b) Downloading a Stable Release

Execute this command to download the latest stable release:

wget https://github.com/Schneegans/Burn-My-Windows/releases/latest/download/[email protected]

Install it by executing the following command. If you have the Burn-My-Windows extension already installed and want to upgrade to the latest version, append the --force flag in order to overwrite existing installs of the Burn-My-Windows extension.

gnome-extensions install [email protected]

Then restart GNOME Shell with Alt + F2, r + Enter. Or logout / login if you are on Wayland. Then you can enable the extension with the Gnome Tweak Tool, the Extensions application or with this command:

gnome-extensions enable [email protected]

c) Cloning the Latest Version with git

You should not clone the Burn-My-Windows extension directly to the ~/.local/share/gnome-shell/extensions directory as this may get overridden occasionally! Execute the clone command below where you want to have the source code of the extension.

git clone https://github.com/Schneegans/Burn-My-Windows.git
cd Burn-My-Windows

If your GNOME Shell version is <= 45, you will have to checkout the gnome-3.36-44 branch:

git checkout gnome-3.36-44

Now you will have to install the extension. The make command below compiles the locales, schemas and resources, creates a zip file of the extension and finally installs it with the gnome-extensions tool.

make install

Then restart GNOME Shell with Alt + F2, r + Enter. Or logout / login if you are on Wayland. Then you can enable the extension with the Gnome Tweak Tool, the Extensions application or with this command:

gnome-extensions enable [email protected]

⬇️ Installation (KWin)

You can either download the effects from the KDE store (a), download a stable version from GitHub (b) or clone the latest version directly with git (c).

Important

You need at least KWin 5.25.0 for the Burn-My-Windows effects.

Note

If the color picker widgets in the effect settings do not work for you, you may have to install a package called libkf5widgetsaddons-dev (Kubuntu, KDE Neon, ...) or kf5-kwidgetsaddons-devel, kwidgetsaddons-devel (Fedora, OpenSuse, ...).

a) Download from the KDE Store

Here are links to all effects which are currently available in the KDE store:

Plasma 5 Plasma 6
Doom Doom
Energize A Energize A
Energize B Energize B
Fire Fire
Glide Glide
Glitch Glitch
Hexagon Hexagon
Incinerate Incinerate
Pixelate Pixelate
Pixel Wheel Pixel Wheel
Pixel Wipe Pixel Wipe
Portal Portal
TV-Effect TV-Effect
TV-Glitch TV-Glitch
Wisps Wisps

You can also directly get the effects from within your system settings. Just go to your System Settings, then "Workspace Behavior", and "Desktop Effects". Then click on "Get new Desktop Effects...".

b) Downloading a Stable Release

Execute this command to download the latest stable release:

wget https://github.com/Schneegans/Burn-My-Windows/releases/latest/download/burn_my_windows_kwin4.tar.gz

Install it by executing the following commands.

mkdir -p ~/.local/share/kwin/effects
tar -xf burn_my_windows_kwin4.tar.gz -C ~/.local/share/kwin/effects

Then select the desired effects in the system settings under "Desktop Effects".

c) Cloning the Latest Version with git

Execute the clone command below where you want to have the source code of the extension.

git clone https://github.com/Schneegans/Burn-My-Windows.git
cd Burn-My-Windows

Now you will have to build the effects and copy them to your KWin effect directory.

./kwin/build.sh
mkdir -p ~/.local/share/kwin/effects
tar -xf kwin/burn_my_windows_kwin4.tar.gz -C ~/.local/share/kwin/effects

That's it! You can now select the desired effects in the system settings under "Desktop Effects".

:octocat: I want to contribute!

That's great! Most likely, you want to create a new effect or to translate the extension? Here are some basic rules to get you started: Commits should start with a Capital letter and should be written in present tense (e.g. πŸŽ‰ Add cool new feature instead of πŸŽ‰ Added cool new feature). You should also start your commit message with one applicable emoji. This does not only look great but also makes you rethink what to add to a commit. Make many but small commits!

Emoji Description
πŸŽ‰ :tada: When you added a cool new feature.
πŸ”§ :wrench: When you added a piece of code.
♻️ :recycle: When you refactored a part of the code.
✨ :sparkles: When you applied clang-format.
🌐 :globe_with_meridians: When you worked on translations.
🎨 :art: When you improved / added assets like themes.
πŸ’„ :lipstick: When you worked on the UI of the preferences dialog.
πŸš€ :rocket: When you improved performance.
πŸ“ :memo: When you wrote documentation.
πŸͺ² :beetle: When you fixed a bug.
πŸ’ž :revolving_hearts: When a new sponsor is added or credits are updated.
βœ”οΈ :heavy_check_mark: When you worked on checks or adjusted the code to be compliant with them.
πŸ”€ :twisted_rightwards_arrows: When you merged a branch.
πŸ”₯ :fire: When you removed something.
🚚 :truck: When you moved / renamed something.

burn-my-windows's People

Contributors

aerowolf avatar albanobattistella avatar atalanttore avatar coelacanthushex avatar comradekingu avatar creepen123 avatar darkcircle avatar eoaneon02 avatar flipflop97 avatar hasecilu avatar jose1711 avatar kheyyam avatar lenemter avatar mbousq avatar nathanbnm avatar nullscroll avatar oscfdezdz avatar redxxiii avatar rezaalmanda avatar santossi avatar schneegans avatar sir-ivysaur avatar softexpert avatar tcr3 avatar umeaboy avatar vistaus avatar waldist avatar weblate avatar yehudaelyasaf avatar yuridm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

burn-my-windows's Issues

Enable / disable animation from respective options page

The Motivation

Maybe relative to #60 : to understand better which aanimations are enabled you can consider to add an option
enable/disable in the respective settings page and remove the current selection from list in the general options page

The Solution

one image is better than 1000 words (just a mockup...)

Screenshot from 2022-01-22 12-35-15

in addition, the label of active animations could be in bold

The Alternatives

put the label of active animations in bold and leave how to choose animations as is..

Thanks
Andrea

Requirements Information

The Motivation

I installed this from extensions.gnome.org and it doesn't seem to do anything. I'm on Gnome 41, Ubuntu 20.04, 12-core Ryzen, GTX 1080.

image

The Solution

The requirements in the form of hardware and other packages, and/or settings that needs to be set up.

The Alternatives

I can not find any other solutions.

Emacs window effect freezes when toggle-frame-maximized is set to true

Describe the Bug

When opening Emacs window and the toggle-frame-maximized is set to true the effect will froze and stays on the window permanently. See screenshot bellow.

Screenshot from 2022-02-02 09-07-44

When removing toggle-frame-maximized the behavior stops.

Steps to reproduce the behavior:

  1. Install Emacs
  2. Add following lines to ~/.emacs
;; Start maximised (cross-platf)
(add-hook 'window-setup-hook 'toggle-frame-maximized t)
  1. Enable Burn My Windows extension
  2. Open Emacs window

Expected Behavior

The effect will finish as when played on other windows

System

  • Linux distribution [Fedora 35 Silverblue]
  • Burn-My-Windows version [Burn-My-Windows 10]
  • GNOME Shell version: [41.3]

Dialog windows unaffected

I'm sure it hasn't escaped your attention that dialog windows don't get the same burn animation treatment.

There appears to be a separate destroy time for dialogs, but I'd be ok if they used the same time duration as NORMAL windows.
But if you did have one timer, to still change the DIALOG_DESTROY_WINDOW_ANIMATION_TIME variable regardless.

Matrix effect add random start/end

The Motivation

Right now when closing the window you clearly see where the letters start and animation ends, adding some bit of variance on the start/end position would make it the lines be blurred i think.

The Solution

I think adding a slider maybe that will add a bit of randomness when the letters start end for the columns.

The Alternatives

Maybe just add some random value for start end without a slider as a beginning.

Random effect

Pick a random effect for each closed window..

I'm curious if this would be fun!

I am so happy right now

Please close after reading, so I just wanted to thank you very much to bring this to gnome after the cube. I have missed compiz/beryl for long sad years and I personally lack the shader foo or also have never ventured into such corners of a system.

Now as a feature request, if I may ask, is is possible to change the fire colors? Already now it is magnificent :)

Broken activities overview in GS 3.36

Describe the Bug

All in activities overview:

  • after you DND a window clone to another workspace, the clone isn't removed from the original workspace.
  • after closing a window, the burn animation is performed, but the clone is not completely removed from the workspace overview, remaining window clones won't rearrange.
JS ERROR: TypeError: actor is undefined
_shouldDestroy@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:204:33
  • switching to another workspace and back after closing a window will cause this error:
Object .Gjs_ui_workspace_WindowClone (0x557192ec8e40), has been already deallocated β€” impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x557191efe940 ==
#0   7ffde0259170 b   resource:///org/gnome/shell/ui/workspace.js:1398 (1ddc2da82268 @ 1925)
#1   5571929d8418 i   resource:///org/gnome/shell/ui/workspace.js:1246 (1ddc2da80d30 @ 213)
== Stack trace for context 0x557191efe940 ==
...

System

  • Ubuntu 20.04 / X11
  • Burn-My-Windows version 4
  • GNOME Shell version: 36.6.9

Firefox - transprent background.

Small issue, when close Firefox 95.0.2 (64 bity) on Fedora 35 - animation use transparent background instead on window as background for animation.

GS 3.38 prefs support

This extension works with GS 3.38 too.

But the prefs don't:
`Gtk.BuilderError: .:12:43 Invalid property: GtkViewport.scroll-to-focus

Stack trace:
PreferencesDialog@/home/steve/.local/share/gnome-shell/extensions/[email protected]/prefs.js:37:19
buildPrefsWidget@/home/steve/.local/share/gnome-shell/extensions/[email protected]/prefs.js:226:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17`

Firefox isn't affected corrected

Describe the Bug

Effect doesn't seem to work right with Firefox. The window disappears and then the effect takes place. Happens with both the fire and matrix effects. Because I've only seen this happen on Firefox I am betting it's a problem there rather than here but reporting to both be aware and just in case there is some arcane fix that can be applied here.

Steps to reproduce the behavior:

  1. open a Firefox window
  2. close that window
  3. window will disappear and then have the effect play

Expected Behavior

Window disappears piecemeal like the others do

System

Please complete the following information:

  • Linux distribution: Fedora 35 Silverblue
  • Burn-My-Windows version extensions.gnome.org version
  • GNOME Shell version: 41.2

Burn My Windows does not launch, does not install after update

Got the update notice, went to the gnome page and did the update, then immediately the "Error" error message appeared. Then uninstalled and tried to install again. No chance! Error again. Error message, why this could not be installed, came none.

Fedora 35, Gnome 41.1
Burn My Windows version, I can not see. It is the very latest version, updated a few days ago.

Terminal output:

$ journalctl -f -o cat | grep -E 'burn-my-windows|'
Supervising 10 threads of 8 processes of 1 users.
Supervising 10 threads of 8 processes of 1 users.
Supervising 10 threads of 8 processes of 1 users.
Supervising 10 threads of 8 processes of 1 users.
Started Application launched by gnome-shell.
Started Application launched by gnome-shell.
Created slice Slice /app/org.gnome.Terminal.
Starting GNOME Terminal Server...
Started GNOME Terminal Server.
Started VTE child process 560629 launched by gnome-terminal-server process 560606.

Supervising 10 threads of 8 processes of 1 users.
Supervising 10 threads of 8 processes of 1 users.
Ignoring excess values in shadow definition
Ignoring excess values in shadow definition
Ignoring excess values in shadow definition
Ignoring excess values in shadow definition
Ignoring excess values in shadow definition
Ignoring excess values in shadow definition
Started dbus-:[email protected].
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Started Application launched by gnome-shell.
Started Application launched by gnome-shell.
Failed to load module "pk-gtk-module"
syntax error: line 1 of stdin
Errors encountered in stdin; not compiled.
Started Application launched by gio open.
Started [email protected].
Stopping [email protected]...
Stopped [email protected].
Supervising 10 threads of 8 processes of 1 users.
Supervising 10 threads of 8 processes of 1 users.
Window manager warning: last_user_time (316379277) is greater than comparison timestamp (316379274).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Window manager warning: W3 appears to be one of the offending windows with a timestamp of 316379277.  Working around...
Started dbus-:[email protected].
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


Translated with www.DeepL.com/Translator (free version)

Timing issue

I have an extension called 'Show Application View When Workspace Empty'.
If I closed a window, the animation showed, unless it was the only window on that workspace. Then my extension prevented the animation from showing.
So I added a timer to my extension to allow for the animation time (imports.ui.windowManager.DESTROY_WINDOW_ANIMATION_TIME) before showing the Apps view when closing the last window on a workspace.
It works well, but your animation seems to finish early.
For example:
If I set the animation time to 10 seconds, my extension will show the Apps view after 10 seconds, but your animation seems to finish several seconds earlier.

[Feature Request] More animations?

I congratulate you for the great job!
Can you develop a single extension that rags what were the most famous animations of compiz? (WOOBLY, CUBE, minimize, maximize etc. for example).

Echt Strange

After the x click, the window turns into a glowing dr. strange sign (rectangle) that then dissolves into individual dots.
If you don't know this movie, search for dr strange shield effect.

Cant access to extension settings.

Describe the Bug

The extension works fine for me but as I try to acces to settings extension I get an error.

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

You may also check the output of GNOME Shell for any error messages.
This can be done with the following terminal command:

journalctl -f -o cat | grep -E 'burn-my-windows|'

## Expected Behavior
Extension works well for me but when I try access to settings I got an error (anexed screenshot)

## System
_Please complete the following information:_
 - Linux distribution : Ubuntu 20.04.3 LTS
 - Burn-My-Windows version : I cant find it.
 - GNOME Shell version: 3.36.8

log: 
The settings of extension burn-my-windows@schneegans.github.com had an error:

Gtk.BuilderError: .:12:43 Invalid property: GtkViewport.scroll-to-focus


Stack trace:

PreferencesDialog@/home/brath/.local/share/gnome-shell/extensions/[email protected]/prefs.js:37:19
buildPrefsWidget@/home/brath/.local/share/gnome-shell/extensions/[email protected]/prefs.js:99:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

![Captura de pantalla de 2021-12-15 17-49-14 png](https://user-images.githubusercontent.com/11011882/146230954-d4e96915-3642-41b3-9ce5-7bcee25184ad.png)

Tried to open the settings menu

The settings of extension [email protected] had an error:

Gtk.BuilderError: .:12:43 Invalid property: GtkViewport.scroll-to-focus

Stack trace:

PreferencesDialog@/home/darrin/.local/share/gnome-shell/extensions/[email protected]/prefs.js:37:19
buildPrefsWidget@/home/darrin/.local/share/gnome-shell/extensions/[email protected]/prefs.js:226:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Glass Shattering Effect

It would be ridiculous if the window would break into pieces. Ideally, as if hit by a stone at the current pointer location...

Add a Preview button to extension settings

The Motivation

It would be nice to be able to preview an effect, or the changes the parameters of an effect have, from within the settings window.

Currently to preview an effect one must:

  1. Select the effect to preview in the General Options β–Έ Close Window Animation list.
  2. (Optional) De-select all other effects in Close Window Animation list. Otherwise multiple open/closes of a dummy window need to be performed, as a random effect will be selected on each close.
  3. Open and then close a dummy window, like a Terminal.

The Solution

Add a Preview button on each effects settings page. When clicked, an example window should open, then after a small delay, closes automatically. The window should close with the effect and its parameters applied.

The Alternatives

  • (Optionally open then) close any other window. A Terminal or Files window is a good choice.

Randomize fire colors

Thanks for an amazing extension! Inspired by your recent feature to use random effects from a list I have this idea for a new feature:

The Motivation

Fire is awesome! But the same fire every time does not give the full potential

The Solution

It would be fantastic if you could select to close with fire each time, but have the color of the fire randomized from a list of selected color presets.

The Alternatives

If the option to select the presets to choose from is too much, it could just select randomly from all installed color presets.

Just an idea I thought would be nice. Do with it what you will. Thanks again! :)

Something went wrong

The settings of extension [email protected] had an error:

Gtk.BuilderError: .:12:43 Invalid property: GtkViewport.scroll-to-focus

Stack trace:

PreferencesDialog@/home/user/.local/share/gnome-shell/extensions/[email protected]/prefs.js:37:19
buildPrefsWidget@/home/user/.local/share/gnome-shell/extensions/[email protected]/prefs.js:99:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

running on Debian stable.

Animations fade out before duration expires

This is most noticeable on Energize B.

I couldn't see how to apply my equation I gave you for the Fire effect:
sqrt(1-progress*progress)

If you set the duration to the max 10 seconds, Energize B is worst followed by Wisps and TV effect (which aren't too far out).
Energize A looks about right.

I'm only noticing this due to my extension that causes the app view to appear when the last window closes.

Fire effect : show which is the current active preset

The Motivation

When open the fire effect options tab, imo, it is not clear which preset is current active : selection widget show always the string "Choose a preset" : it doesn't matter which preset is chosen.

The Solution

replace the default string with the current preset applied (if there's one) or write "Custom preset" if someone change presets settings..

The Alternatives

Display a label somewhere with active preset or "Custom preset"

Thanks
Andrea

Does not work if you have Animations disabled in gnome-tweaks

First off - great job! This extension is super cool, thanks for making it!

This is a very small "bug" report, since it took me a little while to figure it out, it might help someone else with the same problem.
I had my "Animations" switch turned off in gnome-tweaks and even though the "Burn my windows" extension was installed and enabled, I didn't see any animations:

image

Hope this is helpful to someone else with the same problem and feel free to close this whenever.

Animation time breaks other extensions

My extension "Show Application View When Workspace Empty" was tapping into DESTROY_WINDOW_ANIMATION_TIME to allow for animations to finish. But you're not using that method any more.
Than means my extension cuts the animation short. I could tap into your dconf settings I suppose but I would prefer to use something already in Gnome.

Issue with libadwaita apps.

Describe the Bug

I noticed that apps built with libadwaita have an issue with this extension, the effect is expanding outside of the window itself. Most likely the shadow box? Not sure as i am no expert in this.

I have attached two screenshots.

Nautilus, GTK3 Version:
image

Junction, using libadwaita:
image

Probably should have chosen a more visible effect but i think its clear what im talking about :D
This happens with all apps using libadwaita that i have tried, all other apps work fine.

System

  • Linux distribution: Manjaro Gnome
  • Xorg, NVIDIA (latest drivers)
  • Burn-My-Windows 9
  • GNOME Shell version: 41.2

Improve Modularity

Right now, adding new effects is quite cumbersome. It would be great, if only one file needs to be added (and imported somewhere).

Windows opening as fullscreen are invisible with "open window animation" enabled

Describe the Bug

After enabling "open window animation" (with a fire effect), windows opening as fullscreen are invisible. Window stays invisible even after exiting fullscreen. Closing with Alt+F4 makes the window visible while playing the "close window animation".

Steps to reproduce the behavior:

  1. Enable "open window animation".
  2. Launch something in fullscreen, ie. firefox --kiosk or subl --command toggle_full_screen

Expected Behavior

Expected the animation to play and window to show. Or at the very least, the window to show.

System

Please complete the following information:

  • Ubuntu 20.04.
  • Burn-My-Windows version 10.
  • GNOME Shell version: 3.36.8

Doesn't work on Pop os 21.10

Pop os on version 21.10 with version 40 gnome.
I do it according to the instructions but it doesn’t work.

New Idea: Matrix Animation

After clicking on close window the window turns into the green matrix letter salad which then falls to the ground.

Can't choose which specific animation to use after update, it's just random

Describe the Bug

I only get random animations now, and can't seem to choose a specific one from the configuration window.
image

Steps to reproduce the behavior:

  1. Open the configuration window
  2. Click on the drop down for 'Choose Effects'
  3. Click on any of the options
  4. See the field still just say 'Choose Effects'
  5. Close multiple windows to see that it's just using one at random instead of the one chosen above.

Expected Behavior

The 'Choose Effects' should change to whatever was chosen (and ideally it should show show that when the configuration window is first opened unless it's set to random) and the windows should then just be closed with the chosen animation.

System

Please complete the following information:

  • Pop!_OS 21.10 x86_64
  • Burn-My-Windows version 8
  • GNOME Shell version: 40.4.0 on x11

Disable animations on certain application

The Motivation

I saw that Pop Shell has this feature called "Floating windows exceptions" which disables "floating" of windows (tiling) based on app name.
Maybe "Burn-My-Windows" can have the same feature; to disable animation if application named X is minimized/closed (disable it, for example, on drop-down terminals or screenshot software ). I took a screenshot with Gnome Screenshot yesterday and because the delay of screenshot was 0 seconds, it got screenshot of screen along with Gnome Screenshot "burning" in middle of screenshot πŸ˜„

image

The Solution

Maybe make a list in Configuration of Burn-My-Windows in Extensions so we can add excluded application by name. For example, Pop Shell has it like this:

image

The list can be by just adding application name. It doesn't have to include this "select" feature of Pop Shell

The Alternatives

No alternative, just really nice extension 😺

Lower animation time limit for TV effect below 500

The Motivation

While the 500ms cap makes sense for the Burn or Matrix effect, a TV shuts off quicker than in 500ms as far as I am concerned, so the animation does not feel natural to me, even on the quickest setting.

The Solution

It would be nice to make it possible for the TV effect to have an animation time of 100-200ms. Maybe also lower the standard animation time for this effect

The Alternatives

  • Lower the lower limit for animations in general
  • For each effect, there can exist a parameter that dictates the lower limit for animation time. It may be 500 by default, but lower in the TVs case.
  • Make the animation times abstract numbers instead of ms, with a multiplier for each animation type, such that a value of "1" in the matrix can mean 500ms, but in the TV effect be 100ms.

Thank you for your awesome extension :D

Animations for minimize window

The Motivation

Add animation selection for "minimize window" besides "open window" and "close window".

The Solution

Add another entry in the general options part of the settings dialog to choose which animation is to be used, should you minimize a window.

Tartine

The Motivation

In 90's, I used a funny Windows effect on Apollo AEGIS system. Its name was Tartine. Window dripped from top to bottom, like a slice of melted butter. I saw people put their hand under the screen! Could you add this effect?

>Only available in GNOME Shell

I don't think it's a good idea to make exclusive goodies for a product that has hurt Linux desktop adoption more than any FUD campaign. It's like making Hitler Time Magazine's "person of the year".

Adjustable Burning Direction

It would be cool if we could select the direction of the burning effect. Some possibilities:

  • Top-down
  • Bottom-up
  • Left / Right
  • Diagonally
  • Circular from the pointer location

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.