After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694692 - disable animations shouldn't be toggled with gsettings
disable animations shouldn't be toggled with gsettings
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: plugins
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.10
: 701176 705448 (view as bug list)
Depends on:
Blocks: 704402
 
 
Reported: 2013-02-25 17:48 UTC by Ray Strode [halfline]
Modified: 2013-12-13 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remote-display: Merge plugin into XSettings (37.46 KB, patch)
2013-08-08 16:46 UTC, Bastien Nocera
none Details | Review
remote-display: Merge plugin into XSettings (38.78 KB, patch)
2013-10-18 09:03 UTC, Bastien Nocera
none Details | Review
remote-display: Merge plugin into XSettings (38.81 KB, patch)
2013-10-18 09:09 UTC, Bastien Nocera
none Details | Review

Description Ray Strode [halfline] 2013-02-25 17:48:18 UTC
Instead of mucking with gsettings (which may not be writable), g-s-d should just change whether or not the disable-animations xsetting is exported when dealing with remote connections.

We'll also need to fix gnome-shell to look at the xsetting instead of the gsetting.
Comment 1 Bastien Nocera 2013-07-08 06:55:49 UTC
*** Bug 701176 has been marked as a duplicate of this bug. ***
Comment 2 Frederic Crozat 2013-07-16 10:21:21 UTC
gnome-shell part has already been changed (it is now looking at gtk_enable_animation) but not gsd..
Comment 3 Frederic Crozat 2013-07-16 11:36:00 UTC
my mistake, gsd xsettings is now exporting the value of gsettings org.gnome.desktop.interface / enable-animations to Gtk/EnableAnimations xsettings.

So, I guess we can close this bug report ?
Comment 4 Ray Strode [halfline] 2013-07-26 21:47:05 UTC
no, it's always done what you've pointed out and should continue to. but in the case where it wants to disable animations itself based on detection, it shouldn't round trip through gsettings.  gsettings aren't for runtime state, they're for user preferences.
Comment 5 Allison Karlitskaya (desrt) 2013-07-26 21:50:26 UTC
This bug was probably the indirect cause of bug 700283...
Comment 6 Matej Lach 2013-08-04 12:53:29 UTC
*** Bug 705448 has been marked as a duplicate of this bug. ***
Comment 7 Bastien Nocera 2013-08-08 16:46:09 UTC
Created attachment 251196 [details] [review]
remote-display: Merge plugin into XSettings

We merge the remote display object into XSettings, so that
we can override the enable-animations settings without modifying
GSettings. This was especially problematic on startup, or when
overriding user settings.

UNTESTED
Comment 8 Bastien Nocera 2013-08-08 16:47:23 UTC
Somebody will need to look into the patch and fix this up before 3.10, as I won't be around to handle it. Frédéric's patch in bug 704402 will also need updating for the new code (which shouldn't be too hard to do :).
Comment 9 Frederic Crozat 2013-08-08 18:21:38 UTC
I can test it but not before last week of august..
Comment 10 Bastien Nocera 2013-08-08 19:52:10 UTC
Hopefully Ray or Ryan can take a look and see whether it's working as expected. The code compiles, and doesn't crash on a quick run.
Comment 11 Bastien Nocera 2013-10-18 09:03:58 UTC
Created attachment 257621 [details] [review]
remote-display: Merge plugin into XSettings

We merge the remote display object into XSettings, so that
we can override the enable-animations settings without modifying
GSettings. This was especially problematic on startup, or when
overriding user settings.

UNTESTED
Comment 12 Bastien Nocera 2013-10-18 09:06:11 UTC
Rebased the patch with Frederic's llvmpipe detection and the high-dpi patches that went in. Can somebody please test this?
Comment 13 Bastien Nocera 2013-10-18 09:09:08 UTC
Created attachment 257622 [details] [review]
remote-display: Merge plugin into XSettings

We merge the remote display object into XSettings, so that
we can override the enable-animations settings without modifying
GSettings. This was especially problematic on startup, or when
overriding user settings.

UNTESTED
Comment 14 Bastien Nocera 2013-10-19 22:05:15 UTC
Seems that I pushed this to master by mistake, might as well get testing in GNOME 3.11 releases shortly.
Comment 15 Philipp Leonhardt 2013-12-04 17:06:47 UTC
(In reply to comment #14)
> Seems that I pushed this to master by mistake, might as well get testing in
> GNOME 3.11 releases shortly.

Any way for us to get this fixed in 3.8?
Comment 16 Bastien Nocera 2013-12-04 22:08:05 UTC
There are no plans to fix it for 3.8.
Comment 17 Philipp Leonhardt 2013-12-13 16:46:59 UTC
Ok I upgraded to Gnome 3.10.
g-s-d 3.10.2 and gnome-shell 3.10.2.1

After disabling "enable-animations" it's still set on next logon.
Already tried the patch above from Bastien Nocera but after that my icon themes and gtk2 themes were no longer applied.
Comment 18 Bastien Nocera 2013-12-13 16:52:05 UTC
(In reply to comment #17)
> Ok I upgraded to Gnome 3.10.
> g-s-d 3.10.2 and gnome-shell 3.10.2.1

It was fixed in GNOME 3.11, not 3.10.