RFE: Means to detect local-only
@zeenix
Submitted by Zeeshan Ali Assigned to Fedor Lyakhov
Description
gnome-settings-daemon currently disables all animations if display is SPICE/VNC: https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/remote-display/gsd-remote-display-manager.c#n171 . The original bug this tries to solve was about disabling animations only for slow (or simply all remote) connections: https://bugzilla.gnome.org/show_bug.cgi?id=680195 but they ended-up doing this if SPICE or VNC is in use because neither SPICE nor VNC provide means to detect if connection is remote or local.
While it might be difficult to enable/disable animations on the fly for gnome-settings-daemon and also for vdagent to report dynamically if all connections are local, it shouldn't be very difficult for SPICE server to report to vdagent that its running local-only (bound to loopback network) and vdagent to expose this information for interested parties. gnome-settings-daemon can then look at this info and not disable animations if spice is local-only.
This would be nice for Boxes, where all created VMs are by default local-only and we really want users to experience GNOME running inside a VM in the same (or at least very similar) way as natively running GNOME.