https://bugs.documentfoundation.org/show_bug.cgi?id=155414

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Stéphane Guillou (stragu) from comment #1)
> Michael, thoughts?
> Do we even have an expert configuration for turning that off?

I didn't see any option for this while analyzing this. In the options, there
are 2 settings related to animation in the Accessibility section, but they are
unrelated to this: "Allow animated images", "Allow animated text"

One idea might be to add another option there to reduce motion/animations and
give it three possible values (similar to the Light/Dark theme setting in the
"View" section: enable/disable/automatic, where "automatic" (the default?)
would use the value from the OS/desktop environment. And if that setting is
enabled, avoid animations like the one mentioned here.

At a quick glance, "gtk-enable-animations" seems to be a similar setting for
GNOME/Gtk:
https://docs.gtk.org/gtk4/property.Settings.gtk-enable-animations.html

Any thoughts on that?


Relevant place in code: The animations stops with this test change in place:

diff --git a/sc/source/ui/view/overlayobject.cxx
b/sc/source/ui/view/overlayobject.cxx
index 2be20070e4a0..4cd337bed916 100644
--- a/sc/source/ui/view/overlayobject.cxx
+++ b/sc/source/ui/view/overlayobject.cxx
@@ -49,7 +49,8 @@ void ScOverlayDashedBorder::Trigger(sal_uInt32 nTime)
     {
         SetTime(nTime + DASH_UPDATE_INTERVAL);
         mbToggle = !mbToggle;
-        pMgr->InsertEvent(*this);
+        // DEMO: disable animation of the dashed border
+        //pMgr->InsertEvent(*this);
         objectChange();
     }
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to