You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really an issue I guess, just posting this for fun :-)
When you select multiple images in elementary-files and set them as wallpaper in the right click menu, this package will generate a ~/.local/share/backgrounds/slideshow.xml for you and use it as wallpaper source:
$ gsettings get org.gnome.desktop.background picture-uri
'file:///home/bobby285271/.local/share/backgrounds/slideshow.xml'
However you will find the <transition> section weird, the <from> section is always the same as the <to> section:
- var next_slide = files.nth_data (i - 1 == len ? 0 : i).get_path ();+ var next_slide = files.nth_data ((i + 1) % len).get_path ();
I almost filed a PR, but I soon found a gnome-shell issue saying animated background is choppy in short transitions and unfortunately I found it applies to gala too (because gala and gnome-shell calculates interval in exactly the same way):
What Happened?
Not really an issue I guess, just posting this for fun :-)
When you select multiple images in elementary-files and set them as wallpaper in the right click menu, this package will generate a
~/.local/share/backgrounds/slideshow.xml
for you and use it as wallpaper source:However you will find the
<transition>
section weird, the<from>
section is always the same as the<to>
section:Later I found out that it is some typo that causes this, here the index used for
next_slide
is probably wrong:switchboard-plug-pantheon-shell/set-wallpaper-contract/set-wallpaper.vala
Lines 49 to 58 in d3415da
Fixing should be something like:
I almost filed a PR, but I soon found a gnome-shell issue saying animated background is choppy in short transitions and unfortunately I found it applies to gala too (because gala and gnome-shell calculates interval in exactly the same way):
https://github.com/elementary/gala/blob/7.0.0/src/Background/Background.vala#L20-L21
And we are hardcoding the transition duration as 1s:
switchboard-plug-pantheon-shell/set-wallpaper-contract/set-wallpaper.vala
Line 21 in d3415da
So I wonder if we want to fix the transition animation, probably no animation is better than a choppy one?
Steps to Reproduce
cat ~/.local/share/backgrounds/slideshow.xml
Expected Behavior
Not sure what the expected behavior is, but maybe at least a typo is in this repo right now?
OS Version
Other Linux
Software Version
Compiled from git
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: