[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Filip Hracek
Running your code on the machine: ``` $ ./a.out gtk-enable-animations=true ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083593 Title: Settings portal reports enable-animations as false when t

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Robert Ancell
Could you try and see what GtkSettings says? (It should be the same as using GSettings directly but worth trying): ``` #include int main(int argc, char **argv) { gtk_init(&argc, &argv); GtkSettings *settings = gtk_settings_get_default(); gboolean enable_animations; g_object_get(G_OB

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Alessandro Astone
> When I'm at the machine, I'll try to check whether it thinks there's no hardware acceleration. $ gdbus introspect --session --dest org.gnome.Shell.Introspect --object-path /org/gnome/Shell/Introspect --only-properties node /org/gnome/Shell/Introspect { interface org.gnome.Shell.Introspect {

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Filip Hracek
Yes, this is on bare metal. Just to reiterate, animations are showing in the OS, and in apps. (Except for Flutter apps.) When I'm at the machine, I'll try to check whether it thinks there's no hardware acceleration. (That would be a separate issue, though, I think.) -- You received this bug noti

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Alessandro Astone
In a virtual machine without 3d acceleration, such as Virtual Box, it is expected that gnome-shell disables animations, and as Robert said the portal will ask the shell before checking gsettings. If you see this happening on bare metal though, that possibly indicates that gnome-shell thinks you're

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-07 Thread Filip Hracek
Thanks for the reply! Here's output from my physical machine (not the VM I used to reproduce). ``` $ ls -l /usr/share/xdg-desktop-portal/portals/ total 12 -rw-r--r-- 1 root root 100 Mar 31 2024 gnome-keyring.portal -rw-r--r-- 1 root root 662 Jul 2 10:28 gnome.portal -rw-r--r-- 1 root root 495 Ma

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-06 Thread Robert Ancell
Looking at the source for the GTK and GNOME backends, the gnome one also checks for animations from the shell - can you check if the following has animations set: ``` gdbus introspect --session --dest org.gnome.Shell.Introspect --object-path /org/gnome/Shell/Introspect --only-properties ``` --

[Bug 2083593] Re: Settings portal reports enable-animations as false when they are enabled in GSettings

2024-10-06 Thread Robert Ancell
https://unix.stackexchange.com/questions/750759/which-xdg-desktop- portal-am-i-currently-using shows some techniques to work out which portal backend you are using, and essentially boils down to what is configured in /usr/share/xdg-desktop-portal/portals/ and what the `XDG_CURRENT_DESKTOP` environm