Bug 161765 - EDITING: Copying cells in Calc doesn't show marching ants animation, neither in default configuration nor regardless of the expert option "AnimationsEnabled", unless the OS’s "Show animations" setting is switched on.
Summary: EDITING: Copying cells in Calc doesn't show marching ants animation, neither ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Per99
URL:
Whiteboard: target:25.2.0
Keywords: accessibility
Depends on:
Blocks: Options-Dialog
  Show dependency treegraph
 
Reported: 2024-06-24 17:57 UTC by Per99
Modified: 2024-08-30 11:53 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
LO Draw document with animation of images and text (87.72 KB, application/octet-stream)
2024-07-25 15:55 UTC, Per99
Details
LO Impress document with animation of images and text (87.35 KB, application/octet-stream)
2024-07-25 15:56 UTC, Per99
Details
LO Writer document with animation of images and text (66.32 KB, application/octet-stream)
2024-07-25 15:57 UTC, Per99
Details
GUI of optaccessibilitypage showing selectable options (49.32 KB, image/png)
2024-07-30 15:11 UTC, Per99
Details
GUI of optaccessibilitypage showing the extended_tip (55.41 KB, image/png)
2024-07-30 15:12 UTC, Per99
Details
Screenshot of expert options showing the extended_tip of the obsolete property 'AnimationsEnabled' (57.17 KB, image/png)
2024-07-30 15:15 UTC, Per99
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per99 2024-06-24 17:57:52 UTC
Description:
Copying cells in Calc doesn't show “marching ants” animation, neither in default configuration nor regardless of the expert option "AnimationsEnabled", unless the OS’s "Show animations" setting is switched on.

In previous versions including 7.6.7.2 the OS’s "Show animations" setting was disregarded.
Starting with LibreOfficeDev_24.2.0.0.alpha0/alpha1, this setting is suddenly not only used in LibreOffice (for just the "marching ants" animation), but it in fact overrides expert option "AnimationsEnabled" set to “true”.

Starting with LibreOfficeDev_24.2.0.0.alpha0/alpha1 , one is able to turn _off_ the "marching ants" animation in LO by using the expert setting "AnimationsEnabled", regardless of the state of "Show animations in Windows".
However, the problem is, than one is not able to turn _on_ the "marching ants" animation in LO by using the expert setting "AnimationsEnabled", regardless of the state of OS’s "Show animations" setting.

For visual impaired people (e.g. elderly people), or just having bad light conditions, the "marching ants" animation is really helpful and this helpful feature is known from MS Excel. The OS’s "Show animations" setting turns on _all_ animations in the OS and makes a slow computer even slower. Also for people using Remote Desktop, having to enable _all_ animations in the OS just for having the “marching ants” animation in LO is a bad idea. 

The copied cells have not any more a "marching ants" animation copy border starting with LibreOfficeDev_24.2.0.0.alpha0/alpha1 , but have just a "sleeping ants" border, if the OS’s "Show animations" setting is switched off. The expert option "AnimationsEnabled" doesn't have an effect, neither “true” nor “false” activate the "marching ants" animation.
Note: the page break / print area also uses the same "sleeping ants" border, which is confusing to non-experts.

There are likely very few people having to have all the OS's animation turned on (by the OS's animation setting turned on), and then in  LO to switch off the "marching ants" animation - unless the problem is, that quite some people didn't know about this expert setting. 

Suggestion:
There should be an option to have the LO animation "Always on" or "Always off" regardless of the OS's animation setting.
a) The default behaviour of copying cells should be the old "marching ants" animation, when the expert setting "AnimationsEnabled" is “true”, regardless of the state of OS’s "Show animations" setting. I do understand that there might be people feeling annoyed by "marching ants" animation, but the option to switch on/off the animation ("AnimationsEnabled") must be respected.

Or b)
Perhaps it would be an even better idea to have a new LO tristate-option (perhaps "AnimationsEnabledTristate") with three alternatives: “Always on”, “Always off” and “Use OS’s animation setting”

In any case, it needs to be documented how to switch the "marching ants" animation on/off.


Searching in the code for "AnimationsEnabled" I found (among others):
https://opengrok.libreoffice.org/xref/core/sc/source/ui/view/overlayobject.cxx?r=9d68c794#41

Change request:
Changing the line of code: 
https://opengrok.libreoffice.org/xref/core/sc/source/ui/view/overlayobject.cxx?r=9d68c794#41

mbAllowsAnimation = (officecfg::Office::Common::VCL::AnimationsEnabled::get() && !MiscSettings::GetUseReducedAnimation());

into:
mbAllowsAnimation = officecfg::Office::Common::VCL::AnimationsEnabled::get();


Expert option "AnimationsEnabled" specifically:
I changed this setting using: “Tools” ->  “Options” -> “LibreOffice” -> “Advanced” -> “Open Expert Configuration” -> Type: animat
"org.openoffice.Office.Common" -> "VCL" -> "AnimationsEnabled".  

The problem occurred with the patch discussed in tdf#155414 comment 7.
https://bugs.documentfoundation.org/show_bug.cgi?id=155414#c7

It is still present in 24.2.4.2 and got introduced in 24.2.0.0.alpha0/alpha1.
However, in 7.6.7.2 the "marching ants" animation worked as usual.
Note: The bug is also present in 24.8.beta1.

Before it makes sense to change the code, how do you see the above suggestion and change request?

Steps to Reproduce:
1. Preferable use a windows-OS, but this bug should also be present in MacOS.

2. Set the OS’s animation setting to switched _off_.
For Windows do the following:
Details for "Show animations in Windows" in "Ease of Access" setting in WindowsOS:
(English: Windows OS -> Settings -> "Ease of Access" -> "Display" -> "Simplify and personalise Windows" -> "Show animations in Windows") 
(German: Windows OS -> Einstellungen -> "Erleichterte Bedienung" -> "Bildschirm" -> "Windows vereinfachen und personalisieren" -> "Animationen in Windows anzeigen")

3. At least on WindowsOS, wait up to 30 seconds for the change of the animation setting to take effect.
4. Make sure that the OS’s animation setting is switched off and have taken effect.
5 (If needed) Install a parallel installation of 7.6.7.2 win x86_64.
6. (If needed) Install a parallel installation of 24.2.4.2 win x86_64
7. Create a new Calc document.
8. Select a group a cells and select "Copy"
9. Repeat the tests with different setting of expert option "AnimationsEnabled": “true”/false”.

Actual Results:
In 7.6.7.2: The copied cells have a "marching ants" animation border as usual, regardless of the state of the OS’s animation setting.
In 24.2.4.2: The "marching ants" animation does not work: The copied cells have a "sleeping ants" border (the same as the page break / print area). This provided that the OS’s animation setting is switched _off_ and have taken effect.

In 7.6.7.2: The expert option "AnimationsEnabled" gets respected: "true" means "marching ants" animation border. "false" means "sleeping ants" border.
In 24.2.4.2: The expert option "AnimationsEnabled" gets disregarded. Both "true" as well as "false" means "sleeping ants" border provided that the OS’s animation setting is switched _off_ and have taken effect.
In 24.8.0.0.beta1+: The same result as in 24.2.4.2.
Testing restarting in Safe Mode with hardware acceleration turned off produced the same result as above (with 24.2.4.2 and 24.8.0.0.beta1+)

Expected Results:
1. The default behaviour should be that the copied cells have a "marching ants" animation as usual until and including 7.6.7.2.
2. The expert option "AnimationsEnabled" must get respected, even if the OS’s animation setting is switched off. "AnimationsEnabled" set to "true" means "marching ants" animation border. "false" means "Sleeping ants" border.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Details of my parallel installations of LO: 
(the were freshly installed with a new user profile in: UserInstallation=$ORIGIN/../Data/settings )
Version: 24.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: dcaf9c147a1cfea268db49952171338555379794
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
**********************************************************

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

This bug is in effect regardsless if advanced experimental features are enabled or not.

See also the fixed bug report tdf#156506.

See also the fixed bug report tdf#155414

Before it makes sense to change the code, how do you see the above suggestion and change request?
Comment 1 Per99 2024-06-24 18:06:51 UTC
*** Bug 161748 has been marked as a duplicate of this bug. ***
Comment 2 ady 2024-06-24 18:39:54 UTC
@Michael,

Could you please take a look at this? Basically, the issue is related to how Calc deals with OS's settings regarding accessibility (replaces tdf#161748).
Comment 3 Per99 2024-06-24 19:07:34 UTC
(In reply to ady from comment #2)
@ady, could you please confirm the bug and put the status accordingly?
Comment 4 ady 2024-06-24 19:23:23 UTC
(In reply to Per99 from comment #3)
> @ady, could you please confirm the bug and put the status accordingly?

I'd like to hear from Micheal first, or at least someone from the QA Team. As it is now, it might be considered a bug, or instead a change/enhancement, or...

As I mentioned in tdf#161748, I agree that LO/Calc should rather prevail over whichever (accessibility) setting comes from the OS. Every time that the OS has imposed its settings on LO/Calc, my UX has been impacted negatively. I am hoping this tendency could be reverted, starting with this report.
Comment 5 V Stuart Foote 2024-06-24 19:43:57 UTC
Believe this is intentional to allow os/DE to assert its a11y settings controlling "reduce motion". 

As implemented for bug 155414 by Patrick L. did for macOS [1] and a Michael W. for other os/DE [2]. 

IMHO => NAB

=-ref-=
[1]
https://gerrit.libreoffice.org/c/core/+/154752  //macOS

[2]
https://gerrit.libreoffice.org/c/core/+/154887  //gtk3
https://gerrit.libreoffice.org/c/core/+/154888  //kde
https://gerrit.libreoffice.org/c/core/+/154889  //win
Comment 6 V Stuart Foote 2024-06-24 19:50:47 UTC
While request of bug 115688 for a checkbox control in UI (Tools -> Options -> Accessibility) for LO to configure the AT is still valid, but less needed since we are honoring os/DE AT config now cross platform at 24.2
Comment 7 ady 2024-06-24 20:22:02 UTC
A I mentioned in tdf#161748, taking the OS's setting as default for each installation makes sense, but users should be able to set the animation settings in LO/Calc according to their needs.

The OS's settings either allow or block _all_ animations. Some animations are more about "fancy" things (usually making the system relatively slower), but other animations are desired for accessibility reasons (e.g. marching ants). So many users (myself included) would like to reduce the "fancy" stuff but allow the accessibility-related items.

Taking the OS's settings as base is OK. Not allowing the accessibility items, especially on systems that already need every cycle in order to help real accessibility needs (and reducing the load caused by "fancy" items) is counterproductive.

This is just an example. My point is, allow LO's settings that used to be relevant, instead of making the OS's settings an "all-or-nothing" condition.
Comment 8 crxssi 2024-06-24 21:10:57 UTC
It is interesting that there is a valid case both FOR marching ants being on for accessibility and also OFF for accessibility, depending on your personal accessibility problem.  I hadn't thought of that.

I echo @ady 's sentiment that having LO honor the OS setting as the default makes sense, while also having explicit control over the setting in LO.  I also believe, like I asserted in bug 115688, that having the marching ants control exposed in  Tools -> Options -> Accessibility and not just in hidden/buried in Expert options would be even more helpful.
Comment 9 Patrick (volunteer) 2024-06-25 01:40:33 UTC
(In reply to crxssi from comment #8)
> It is interesting that there is a valid case both FOR marching ants being on
> for accessibility and also OFF for accessibility, depending on your personal
> accessibility problem.  I hadn't thought of that.
> 
> I echo @ady 's sentiment that having LO honor the OS setting as the default
> makes sense, while also having explicit control over the setting in LO.  I
> also believe, like I asserted in bug 115688, that having the marching ants
> control exposed in  Tools -> Options -> Accessibility and not just in
> hidden/buried in Expert options would be even more helpful.

I've been thinking about this today. I am a big fan of accessibility so I had the same surprise as @crxssi. I can see reasonably well with correction but I am quite annoyed by the marching ants. I just got accustomed to hammering the Escape key immediately after pressing Command-C. I implemented the native setting integration when I realized 1) others felt the same as me and 2) it would be controlled by a very specific macOS accessibility setting. Seemed like a low risk of upsetting existing users. :/

I can definitely see how useful the marching ants are especially if you need to copy and paste a lot. For me, the marching ants are a quick way to locate the last cell copied when I want to verify that I pasted what I intended to).

So where do we go from here? I'm no accessibility expert at all, but maybe the problem is that the marching ants really just doesn't work for a lot of people but we need a different way to highlight the cell last copied. I admit that while I dislike the marching ants 

I took a look at Microsoft Excel and they have a much slower, thicker marching ants. Unfortunately, I'm no UI expert either so maybe there is a better solution that is easy for someone like me to implement such as a solid rectangle but different color than the selected cell? Personally, I like how drawing of the marching ants' rectangle is contained within the cell so (just like Microsoft Excel) so that it looks slightly smaller than the selected cell.

Just my thoughts.
Comment 10 Patrick (volunteer) 2024-06-25 01:42:10 UTC
(In reply to Patrick Luby (volunteer) from comment #9)
> So where do we go from here? I'm no accessibility expert at all, but maybe
> the problem is that the marching ants really just doesn't work for a lot of
> people but we need a different way to highlight the cell last copied. I
> admit that while I dislike the marching ants 

...they serve a use for some users and/or some tasks.
Comment 11 Michael Weghorn 2024-06-25 06:34:02 UTC
(In reply to crxssi from comment #8)
> I echo @ady 's sentiment that having LO honor the OS setting as the default
> makes sense, while also having explicit control over the setting in LO.

The challenge is that the existing "AnimationsEnabled" setting is a boolean, i.e. it can only be true or false, which doesn't provide the flexibility we'd need when we want to allow explicitly using or overriding the system-provided value in addition.

Could it make sense to replace that with a new setting that would allow setting either of "Enabled"/"Disabled"/"Automatic" instead, with the latter being the default?
That would be similar to what we have for Light/Dark mode in "View" -> "Appearance" -> "Mode", or for "Accessibility" -> "High Contrast".

(In reply to Patrick Luby (volunteer) from comment #9)
> I took a look at Microsoft Excel and they have a much slower, thicker
> marching ants. Unfortunately, I'm no UI expert either so maybe there is a
> better solution that is easy for someone like me to implement such as a
> solid rectangle but different color than the selected cell? Personally, I
> like how drawing of the marching ants' rectangle is contained within the
> cell so (just like Microsoft Excel) so that it looks slightly smaller than
> the selected cell.

Adding the design team: Any thoughts/suggestions?
Comment 12 Heiko Tietze 2024-06-25 09:06:02 UTC
(In reply to Michael Weghorn from comment #11)
> Could it make sense to replace that with a new setting that would allow
> setting either of "Enabled"/"Disabled"/"Automatic" instead, with the latter
> being the default?
Was my first idea too.
Comment 13 ady 2024-06-25 12:31:56 UTC
(In reply to Patrick Luby (volunteer) from comment #9)
> a solid rectangle but different color than the selected cell

Please keep in mind that different solid colors are also a potential conflict with colors of other UI artifacts (grid lines, borders, background, font, dark theme...), and it is also an accessibility issue (e.g. different types of color blindness).

For some users, having the movement of "ants" helps differentiate the copied area from other "static" non-solid styles of lines. For other users, the animation can be an unnecessary distraction – I am talking about really bothering user's ability to concentrate, not just some minor issue. Both cases could be meaningful for each group of users, while the other possible OS animations might be set to either ON or OFF according to other needs (e.g. hardware resources). The opposing needs is the reason that the behavior must rely on LO/Calc settings, taking the OS's setting as a base only.
Comment 14 ady 2024-06-25 13:49:59 UTC
A minor reminder: when the animated ants is allowed, users can press [ESC] to stop both the animation and the dotted line, while the clipboard is still available for further pasting actions. This could be at least a partial workaround for the group of users that are slightly bothered by the "ants", although IMO the accessibility aspects are still very relevant anyway.
Comment 15 Heiko Tietze 2024-07-16 06:30:40 UTC
Suggested via IRC: Go with "System" instead of "Automatic", see https://postimg.cc/gallery/J77bGN8
Comment 16 Heiko Tietze 2024-07-16 10:14:56 UTC
Looks like Calc uses the current expert option for marching ants together with a system setting for macOS; all modules disable text animations with the one option and graphic animations (likely animated gif only) with the other plus the macOS thing.

Based on this we could name the option "Reduce Animations" with the options System (or Automatic)/Disabled/Enabled.

Calc:
ScOverlayDashedBorder::ScOverlayDashedBorder()
...
mbAllowsAnimation = (officecfg::Office::Common::VCL::AnimationsEnabled::get() && !MiscSettings::GetUseReducedAnimation());


Generic:
 // check if text animation is allowed.
 bool ObjectContactOfPageView::IsTextAnimationAllowed() const
     return officecfg::Office::Common::Accessibility::IsAllowAnimatedText::get();

 // check if graphic animation is allowed.
 bool ObjectContactOfPageView::IsGraphicAnimationAllowed() const
    // Related tdf#156630 respect system animation setting
    return officecfg::Office::Common::Accessibility::IsAllowAnimatedGraphics::get() && !MiscSettings::GetUseReducedAnimation();
Comment 17 Per99 2024-07-16 12:11:51 UTC
The three settings regarding animations doesn’t seem to have any influence to each other.
1. The current boolean expert setting AnimationsEnabled: It is only used in Calc to switch off the marching ants feature, but it can’t enable it (unless _all_ animations are switched on in the OS’s setting). It isn’t used for anything else than the marching ants feature.

2. The other animations settings are for animated text resp. animated graphics such as GIF images. These options are unrelated to the marching ants feature.

3. The new behaviour having the OS’s all-or-nothing animation setting to override LO’s animation setting was introduced in LO 24.2, also for MS Windows, not just for MacOS. Animations in LO is then effectivly _prohibited_ unless OS’s all-or-nothing animation setting is switched on.
This is the case for both the marching ants feature as well as for graphic animation feature. This behaviour is for the user both surprising and undesirable, IMHO.
The current implementation of both the setting “allow animation images” and expert setting “ AnimationsEnabled” are effectivly deny-animation-settings, with no options to switch them on in LO’s settings.

4. LO’s setting should have precidence over the OS’s settings, not the other way around. 

5. Regarding naming: In MacOS it might be called “reduced animations”, but in MS Windows the OS’s setting for switching on/off animations is an all-or-nothing option called "Show animations in Windows".

6. Current state of work: screenshots from glade:  https://postimg.cc/gallery/JjthJ6J
The alignments are not yet perfect. Please come with feedback.
Comment 18 Per99 2024-07-16 12:26:56 UTC
Screenshot from "Options-->View" was missing with its "System" option: Here included in the gallery: https://postimg.cc/gallery/B2Rb5rx
Comment 19 Per99 2024-07-16 19:03:38 UTC
When solving this bug the following question needs to be answered: 
Should positive or negative logic be used?
a) Enable/Allow e.g. animations
b) Disable/Forbid/Reduce e.g. animations:
Positive logic is generally easier to understand (at least for non-programmers).

2. Then the suitable wording will be clearer.

3. Perhaps a better wording of the label could be: “Enable other Animations”.
“other” meaning other than the animation settings above.

The aligment problem is fixed. See the updated screenshots from glade: https://postimg.cc/gallery/xXrGXcC 
When wordings, ordering, etc are fix, then I’ll update the ui-file.
Comment 20 Heiko Tietze 2024-07-17 08:47:54 UTC Comment hidden (no-value)
Comment 21 Stéphane Guillou (stragu) 2024-07-17 13:25:43 UTC
Not sure how to best represent inheritance (or lack thereof) but I just wanted to say that I support the use of the term "System" to clarify the link with the OS and to be consistent with the View panel.

While we're at it, I would suggest removing the "Options [for]" bits in the headers. Short and to the point is best. We are in the Options dialog after all.
For "Miscellaneous", looks like other panels use "Other" instead.
So with new names and more logical order:

- Animations
- High Contrast
- Other

What do you think?
Comment 22 Per99 2024-07-18 08:49:51 UTC
(In reply to Stéphane Guillou (stragu) from comment #21)
> For "Miscellaneous", looks like other panels use "Other" instead.
> So with new names and more logical order:
> - Animations   - High Contrast    - Other
It’s good with concise names. 
In the other options dialogues I didn’t find any “Other”, so keeping "Miscellaneous" could be an option?

Aligning with the terminology of “Allow animated images”, I suggest “Allow other animations:” with the options “System”/”No”/”Yes”.
Combining the phrase “Enable other animations” with the options “Disable” (and the rest), feels strange to me.

As suggested by Stéphane, I reordered the options (and aligned the allowance terminology). Here’s the result:
https://postimg.cc/gallery/RMCBbKC

What do you think?
Is this agreeable, or other ideas?
(In reply to Stéphane Guillou (stragu) from comment #21)
> Not sure how to best represent inheritance (or lack thereof) but I just
> wanted to say that I support the use of the term "System" to clarify the
> link with the OS and to be consistent with the View panel.
> 
> While we're at it, I would suggest removing the "Options [for]" bits in the
> headers. Short and to the point is best. We are in the Options dialog after
> all.
> For "Miscellaneous", looks like other panels use "Other" instead.
> So with new names and more logical order:
> 
> - Animations
> - High Contrast
> - Other
> 
> What do you think?
Comment 23 Per99 2024-07-18 08:58:54 UTC
(In reply to Stéphane Guillou (stragu) from comment #21)
(sorry for double posting: preview showed wrongly)
> For "Miscellaneous", looks like other panels use "Other" instead.
> So with new names and more logical order:
> - Animations   - High Contrast    - Other

It’s good with concise names. 
In the other options dialogues I didn’t find any “Other”, so keeping "Miscellaneous" could be an option?

Aligning with the terminology of “Allow animated images”, I suggest “Allow other animations:” with the options “System”/”No”/”Yes”.
Combining the phrase “Enable other animations” with the options “Disable” (and the rest), feels strange to me.

As suggested by Stéphane, I reordered the options (and aligned the allowance terminology). Here’s the result:
https://postimg.cc/gallery/RMCBbKC

What do you think?
Is this agreeable, or other ideas?
Comment 24 Stéphane Guillou (stragu) 2024-07-18 12:58:12 UTC
(In reply to Per99 from comment #23)
> In the other options dialogues I didn’t find any “Other”, so keeping
> "Miscellaneous" could be an option?
Seen in Writer > Print and Writer/Web > Print, but "Miscellaneous" is fine too.
> Here’s the result:
> https://postimg.cc/gallery/RMCBbKC
I'm happy with the mockups, I'd say go ahead and submit a patch!
Comment 25 Per99 2024-07-19 15:32:54 UTC
(In reply to Stéphane Guillou (stragu) from comment #24)
> I'm happy with the mockups, I'd say go ahead and submit a patch!
Cool, thank you. I'll start changing the code.

But we do have an unsolved inconsistency issue regarding animation in Draw and Writer:

@htietze: Thank you for offering support. What I need most is to find an intuitive solution for the normal novice user. 

The current state of the animation options are inconsistent and confusing: 
“Marching Ants” and “allow animation images” (in draw)  can’t be enabled regardless of the OS’s animation setting, as contrary to their “allow” label, they work as a _disable-only_ setting. In Writer “allow animation images” works as the user expects: as allowance setting and doesn’t get overridden by OS’s animation setting. 

Alternative a) The most intuitive way would be skip take the OS’s animation setting into account and have all the animation setting openly on the accessibility option page, IMHO. No use of expert settings, that the user needs to see. If it would have been done in that way from the beginning, we wouldn’t have these issues and inconsistencies now. Best would be to have three options: “Allow animated images”, “Allow animated text” and “Allow other animations: Yes/No”. No OS’s animation setting to bother with. The user has it clearly in their hands in the accessibility dialogue.

Alternative b) If don’t we go with the most intuitive alternative, IMHO, then the label of check-buttons must reflect their behaviour! A disable-only switch should be labelled that way. And the behaviour should also be consistent in both Writer and Draw. In this alternative we would take OS’s animation setting into account and have the labels “_Disallow_ animated images”, “Allow animated text” and “Allow other animations: System/Yes/No”. 

From a User Experience, I regard alternative b) as unintuitive, and would strongly advice alternative a), but if the design team want alternative b) I can implement the code accordingly.
Comment 26 Per99 2024-07-20 13:39:45 UTC
@htietze: I understand your last comment in the #libreoffice-design chat, as that you’re fine with alternative A.  I’ve implemented Alternative A and build and tested it. Here are the screen shots:   https://postimg.cc/gallery/RnG18Kh
What do you think? 
I’ll submit the patch accordingly.
Comment 27 Michael Weghorn 2024-07-22 05:38:30 UTC
(In reply to Per99 from comment #25)
> Alternative a) The most intuitive way would be skip take the OS’s animation
> setting into account and have all the animation setting openly on the
> accessibility option page, IMHO. No use of expert settings, that the user
> needs to see. If it would have been done in that way from the beginning, we
> wouldn’t have these issues and inconsistencies now. Best would be to have
> three options: “Allow animated images”, “Allow animated text” and “Allow
> other animations: Yes/No”. No OS’s animation setting to bother with. The
> user has it clearly in their hands in the accessibility dialogue.
> 
> Alternative b) If don’t we go with the most intuitive alternative, IMHO,
> then the label of check-buttons must reflect their behaviour! A disable-only
> switch should be labelled that way. And the behaviour should also be
> consistent in both Writer and Draw. In this alternative we would take OS’s
> animation setting into account and have the labels “_Disallow_ animated
> images”, “Allow animated text” and “Allow other animations: System/Yes/No”. 
> 
> From a User Experience, I regard alternative b) as unintuitive, and would
> strongly advice alternative a), but if the design team want alternative b) I
> can implement the code accordingly.

I think we should default to honoring the OS/desktop environment setting, and allow the user to explicitly override it if needed.
In this case, it's particularly relevant for accessibility (people with  vestibular motion disorders), see tdf#155414 and this related MDN article:
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
Comment 28 Heiko Tietze 2024-07-22 07:10:43 UTC
(In reply to Per99 from comment #25)
> Alternative a) The most intuitive way would be skip take the OS’s animation
> setting into account and have all the animation setting openly on the
> accessibility option page
That's an overly drastic move. We should obey system settings but allow to override in both directions and have to show that. The wording of alternative a) sounds good to me, and the simplicity of the UI too. How about a tri-state checkbox, which indetermined state would be "take it from the OS" (and we make that clear with a tooltip)?
Comment 29 Michael Weghorn 2024-07-22 08:42:15 UTC
(In reply to Heiko Tietze from comment #28)
> That's an overly drastic move. We should obey system settings but allow to
> override in both directions and have to show that. The wording of
> alternative a) sounds good to me, and the simplicity of the UI too. How
> about a tri-state checkbox, which indetermined state would be "take it from
> the OS" (and we make that clear with a tooltip)?

I think a combobox would be more intuitive than a tri-state combobox, and also in line with what we do elsewhere, e.g. for the "Automatic" option in "Application colors".
Comment 30 Per99 2024-07-22 09:55:07 UTC
(In reply to Heiko Tietze from comment #28)
>  How about a tri-state checkbox, which indetermined state would be "take it 
> from the OS" (and we make that clear with a tooltip)?
I also thought about that option and a clear tooltip, but…
The tooltip is switched off as default - shouldn’t that be changed?
Comment 31 Heiko Tietze 2024-07-22 09:57:37 UTC
(In reply to Michael Weghorn from comment #29)
> I think a combobox would be more intuitive than a tri-state combobox...
And has a better support for accessibility. Let's go with this solution.
Comment 32 Per99 2024-07-22 10:00:59 UTC
(In reply to Michael Weghorn from comment #29)
> I think a combobox would be more intuitive than a tri-state combobox, and
> also in line with what we do elsewhere, e.g. for the "Automatic" option in
> "Application colors".
Here’s a new alternative C, using comboboxes for "Allow animated images" and for "Allow other animations" similar to:  Options --> View  --> Appearance Mode: “System/Light/Dark.
Here the options “System/No/Yes” seems sensible.
See screenshots: https://postimg.cc/F1yBCjLB

However:
In Draw, the OS’s animation option is honoured for animated images, but not for animated text (e.g. in text boxes).
In Writer, the OS’s animation option isn’t honoured at all.
To care for those people with vestibular motion disorders, shouldn’t we also change that behaviour also for these above not yet honoured cases? 
If so, then I’ll also add a third combobox “Allow animated text” “System/No/Yes” (with System as default).

What do you think about the screenshots and what to honour?
Comment 33 Per99 2024-07-22 10:03:30 UTC
(In reply to Per99 from comment #32)
> What do you think about the screenshots and what to honour?
Sorry wrong link, here's the gallery link: https://postimg.cc/gallery/dwF34pD
Comment 34 Heiko Tietze 2024-07-22 10:09:00 UTC
(In reply to Per99 from comment #32)
> Here’s a new alternative C...
Looks good (and one picture illustrates the idea sufficiently).

> However:
> In Draw...
Why not fix this?
Comment 35 Per99 2024-07-22 11:24:26 UTC
(In reply to Heiko Tietze from comment #34)
> (In reply to Per99 from comment #32)
> > Here’s a new alternative C...
> Looks good (and one picture illustrates the idea sufficiently).
> 
> > However:
> > In Draw...
> Why not fix this?
Thought so too. Here’s a screenshot of the preview (note that the preview has very minor difference to the rendered GUI):  https://postimg.cc/GH22pG6S

Another topic: The old expert option "AnimationsEnabled" becomes obsolete with these changes. Stephan Bergman wrote in a gerrit comment to this patchset: “If a configuration property becomes obsolete, just mark it as such in the description (or remove it, if/when there is consensus that that's OK). Do not rename it.”
See: https://gerrit.libreoffice.org/c/core/+/170827/1/officecfg/registry/schema/org/openoffice/Office/Common.xcs

The same goes with old boolean options “IsAllowAnimatedGraphics” and “IsAllowAnimatedText”. There we would need another options as enum (xs:short) named like “AllowAnimatedGraphicsEnum” or “AllowAnimatedGraphics”

So what to do with old obsolete options ("AnimationsEnabled", “IsAllowAnimatedGraphics” and “IsAllowAnimatedText”)? Mark in them the description as obsolete or to remove some/all of them?
Comment 36 Michael Weghorn 2024-07-23 05:35:20 UTC
(In reply to Per99 from comment #35)
> (In reply to Heiko Tietze from comment #34)
> > (In reply to Per99 from comment #32)
> > > Here’s a new alternative C...
> > Looks good (and one picture illustrates the idea sufficiently).
> > 
> > > However:
> > > In Draw...
> > Why not fix this?
> Thought so too. Here’s a screenshot of the preview (note that the preview
> has very minor difference to the rendered GUI):  https://postimg.cc/GH22pG6S

Thanks, looks good to me.

As a side note/question: Is there a particular reason you're not attaching screenshots here in Bugzilla? (In general, I think it's useful to attach to Bugzilla, to ensure files remain available here for future reference.)


> The same goes with old boolean options “IsAllowAnimatedGraphics” and
> “IsAllowAnimatedText”. There we would need another options as enum
> (xs:short) named like “AllowAnimatedGraphicsEnum” or “AllowAnimatedGraphics”

I'd go with just “AllowAnimatedGraphics”.

> So what to do with old obsolete options ("AnimationsEnabled",
> “IsAllowAnimatedGraphics” and “IsAllowAnimatedText”)? Mark in them the
> description as obsolete or to remove some/all of them?

I don't know either what the exact process for deprecation/removal looks like (and neither `configmgr/README.md` nor `officecfg/README.md` seem to describe it from a cursory glance). Maybe best to ask in IRC or on the mailing list if nobody else replies here with more details?
Comment 37 Heiko Tietze 2024-07-23 08:44:20 UTC
(In reply to Per99 from comment #35)
> The same goes with old boolean options “IsAllowAnimatedGraphics” and
> “IsAllowAnimatedText”. There we would need another options as enum
> (xs:short) named like “AllowAnimatedGraphicsEnum” or “AllowAnimatedGraphics”

You could also keep the name assuming true/false are converted into 0/1- and take everything else as System. Once you have submitted a patch we can present your solution in the ESC.
Comment 38 Per99 2024-07-25 15:55:32 UTC
Created attachment 195505 [details]
LO Draw document with animation of images and text
Comment 39 Per99 2024-07-25 15:56:10 UTC
Created attachment 195506 [details]
LO Impress document with animation of images and text
Comment 40 Per99 2024-07-25 15:57:38 UTC
Created attachment 195507 [details]
LO Writer document with animation of images and text
Comment 41 Per99 2024-07-25 15:59:04 UTC
(In reply to Michael Weghorn from comment #36)
> Thanks, looks good to me.
A small text change in the accessibility option page: It felt sensible to change the text “Allow other animations” into “Allow UI animations”, since the tooltip is disabled as default. (Wouldn’t it make sense, that the tooltip is enabled as default?). Hope you are fine with this, else I can just change it back.

> As a side note/question: Is there a particular reason you're not attaching
> screenshots here in Bugzilla? (In general, I think it's useful to attach to
> Bugzilla, to ensure files remain available here for future reference.)
As long as this is work in progress, and it doesn’t seem to be able to delete any contents here, it seems much clearer to show which version of the screenshot are the current state as the are put in the related comment. The links to the screenshots are valid “for ever”.

> I'd go with just “AllowAnimatedGraphics”.
Thanks for the suggestion, so I did.

> I don't know either what the exact process for deprecation/removal looks
> like (and neither `configmgr/README.md` nor `officecfg/README.md` seem to
> describe it from a cursory glance). Maybe best to ask in IRC or on the
> mailing list if nobody else replies here with more details?
I’ll leave the obsolete configuration variables in the config file for now.
Comment 42 Per99 2024-07-25 16:00:50 UTC
(In reply to Heiko Tietze from comment #37)
> (In reply to Per99 from comment #35)
> > The same goes with old boolean options “IsAllowAnimatedGraphics” and
> > “IsAllowAnimatedText”. There we would need another options as enum
> > (xs:short) named like “AllowAnimatedGraphicsEnum” or “AllowAnimatedGraphics”
> You could also keep the name assuming true/false are converted into 0/1- and
> take everything else as System. 
Thanks for the suggestion.  However, 
1. how would the LO’s database react when a configuration variable/content got changed type/size?
2. IsAllow...  sounds very much as a boolean option, so an enum in it is rather a surprise?
So I chose “AllowAnimatedGraphics”.
Comment 43 Per99 2024-07-25 16:04:28 UTC
>Once you have submitted a patch we can
> present your solution in the ESC.
Here are the current screenshots: https://postimg.cc/gallery/bG5kYcp    (using the text “Allow UI animations”. 
How do you like it?

I uploaded files with animated text and images for testing purpose.

Here is my submitted patch. https://gerrit.libreoffice.org/c/core/+/170827
The UI-file stayed stuck with wrong file mode in git, so I tried many times to submit it.

Here’s the commit message:
tdf#161765 Let user choose which animation settings to use: OS's / LO's

In the accessibility option page, the user can now choose which animation
settings to use (OS's or LO's animation setting) and what animations to allow.

Changes due to this patch:
1. Changes in the GUI of the accessibility option page:
  - New option "Allow UI animations"  (Used for "Marching Ants" animation,
    instead of the old expert option "AnimationsEnabled"), now as enum.
  - Changed option: "Allow animated images", now as enum: "System", "No", "Yes"
  - Changed option: "Allow animated text", now as enum: "System", "No", "Yes"
  - The old animation options in Common.xcs are not renamed, but marked as
    obsolete in their text.
These above changes are in the files: [optaccessibilitypage.ui,
optaccessibility.hxx, optaccessibility.cxx, Common.xcs]

2. Added functions to compute if the animations of images/text/UI are allowed.
If "System" is chosen, then use OS’s animation setting.
See files: [settings.hxx, settings.cxx]

3. Respect the animation settings of animated images/texts in Draw and Impress.
Don't prohibit the user to enable animations in Draw and Impress if the OS's
animations are disabled. See file: [objectcontactofpageview.cxx]
4. Respect the animation settings of animated images in Writer.
See file: [viewsh.cxx]
5. Respect the UI animation setting in Calc ("marching ants" animation).
Don't prohibit the user to enable UI animations in LO if the OS's animations
are disabled. See file: [overlayobject.cxx]

Change-Id: I5173f9b3d8652a17a6ae07164e874143738bcd66
Comment 44 Michael Weghorn 2024-07-26 08:26:54 UTC
(In reply to Per99 from comment #41)
> (In reply to Michael Weghorn from comment #36)
> > Thanks, looks good to me.
> A small text change in the accessibility option page: It felt sensible to
> change the text “Allow other animations” into “Allow UI animations”, since
> the tooltip is disabled as default. (Wouldn’t it make sense, that the
> tooltip is enabled as default?). Hope you are fine with this, else I can
> just change it back.

Sounds good to me. In order to make the tooltip show by default, the text (or a shorter variant thereof) could be set for the "tooltip" property in the .ui file instead of as the accessible description. Heiko might be able to say more on when that's recommended or not.

> As long as this is work in progress, and it doesn’t seem to be able to
> delete any contents here, it seems much clearer to show which version of the
> screenshot are the current state as the are put in the related comment. The
> links to the screenshots are valid “for ever”.

When uploading an attachment, you can mark previous ones as obsoleted by that one. It's not completely deleted then, but shown as obsolete, which makes clear what the current state is, but still allows seeing older versions if desired, e.g. to follow the previous design discussion leading to the current version.

I'll also comment on the Gerrit change.

Thanks a lot for working on this!
Comment 45 Heiko Tietze 2024-07-26 10:35:24 UTC
(In reply to Per99 from comment #43)
> “Allow UI animations”
This label is misleading as we use the term UI for just the interface and none of any attributes in the documents. It could be understood as some progressive opening/closing animation of menus, maybe as blinking on keypress, etc. but would probably never be assumed to be marching ants.
Comment 46 Heiko Tietze 2024-07-26 10:35:55 UTC
(In reply to Heiko Tietze from comment #45)
Waiting with the review until the merge conflict is solved.
Comment 47 Per99 2024-07-30 15:09:48 UTC
(In reply to Michael Weghorn from comment #44)
> (In reply to Per99 from comment #41)
> > Wouldn’t it make sense, that the tooltip is enabled as default?
> In order to make the tooltip show by default, the text
> (or a shorter variant thereof) could be set for the "tooltip" property in
> the .ui file instead of as the accessible description. Heiko might be able
> to say more on when that's recommended or not.
Both the "tooltip" property as well as "extended_tip" property are used in the ui-files. 
Clarification: It is the extended tip that is disabled as default.
> 
> Thanks a lot for working on this!
Thank you for the kind feedback!

(In reply to Heiko Tietze from comment #45)
> (In reply to Per99 from comment #43)
> > “Allow UI animations”
> This label is misleading as we use the term UI for just the interface and
> none of any attributes in the documents. It could be understood as some
> progressive opening/closing animation of menus, maybe as blinking on
> keypress, etc. but would probably never be assumed to be marching ants.
OK, understand. I changed it back to "Allow other animations".

How about using the "tooltip" property in this optaccessiblepage-UI instead of "extended_tip", as the extended_tip is disabled by default?

The merge conflict is dissolved.

Here are the screenshots of the current GUI:  https://postimg.cc/gallery/NHHj8TN
Comment 48 Per99 2024-07-30 15:11:35 UTC
Created attachment 195607 [details]
GUI of optaccessibilitypage showing selectable options
Comment 49 Per99 2024-07-30 15:12:35 UTC
Created attachment 195608 [details]
GUI of optaccessibilitypage showing the extended_tip
Comment 50 Per99 2024-07-30 15:15:41 UTC
Created attachment 195609 [details]
Screenshot of expert options showing the extended_tip of the obsolete property 'AnimationsEnabled'
Comment 51 Commit Notification 2024-07-31 07:29:59 UTC
Per99 committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/ef7429f86788f0616db5b274ec77eb67cd41cb3d

tdf#161765, tdf#115688 Let user choose which animation settings to use

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 52 Michael Weghorn 2024-07-31 07:49:18 UTC
(In reply to Per99 from comment #47)

> Both the "tooltip" property as well as "extended_tip" property are used in
> the ui-files. 
> Clarification: It is the extended tip that is disabled as default.

Indeed, that's what I was trying to say: If the "tooltip" property is set, it will be shown by default. If the "accessible-description" property (also used for the extended tip) is set, it will only be shown when showing extended tips is explicitly enabled.
(There's no "extended-tip" property AFAICT, as that's something LO-specific, not one of the usual properties that are set in a GTK 3 .ui file. "extended_tip" is often mentioned in the "context" for that property, though),

> How about using the "tooltip" property in this optaccessiblepage-UI instead
> of "extended_tip", as the extended_tip is disabled by default?

@Heiko: What do you think? (That could be done in a separate change.)


> The merge conflict is dissolved.

Thanks! Merged now.
Comment 53 Per99 2024-07-31 08:59:19 UTC
(In reply to Heiko Tietze from comment #46)
@Heiko:
1. How about using the "tooltip" property in this optaccessiblepage-UI instead of "extended_tip" [/"accessible-description"], as the extended_tip is disabled by default?

2. Or to let the ExtendedTip property be allowed as default?
(Currently it's not, see ExtendedTip property  in Common.xcs).

3. How about to change the importance to "medium normal", so it can be integrated earlier than in version 25.2?
To me it *is* a bug, that the user can't enable in LO the animation of images and "marching ants" animation if the OS's setting "allow [all] animations" is not enabled. I do understand, that until there isn't a fix, such issues can seem unimportant and bothersome. Well, now we have an merged fix, so that's not an issue.
[For old behaviour of Draw and Impress, see following code line https://opengrok.libreoffice.org/xref/core/svx/source/sdr/contact/objectcontactofpageview.cxx?r=0cc4333e#388 ]

4. Thanks to all for all work together finding a good solution!
Comment 54 Michael Weghorn 2024-07-31 09:55:58 UTC
(In reply to Per99 from comment #53)
> 3. How about to change the importance to "medium normal", so it can be
> integrated earlier than in version 25.2?

Regardless of the importance, one challenge is that the change includes both string and UI changes and we're way past the string and UI freeze for 24.8 [1]. So that would need exemption from that (and translators taking care of translating to all languages), which usually only happens for critical things.

[1] https://wiki.documentfoundation.org/ReleasePlan/24.8
Comment 55 Heiko Tietze 2024-07-31 10:33:10 UTC
The tooltip explains the function on unlabeled controls such as icon-only buttons. The extended tooltip aims to explain the functionality. I would leave it as it is- and focus on update of the online help.

The dropdown controls are not aligned, which will become obvious with translation.
Comment 56 Stéphane Guillou (stragu) 2024-07-31 10:46:06 UTC
Thanks for the patch!

If you are up for it, a description of the change in the release notes would be much appreciated: https://wiki.documentfoundation.org/ReleaseNotes/25.2
Comment 57 Per99 2024-07-31 14:37:54 UTC
(In reply to Heiko Tietze from comment #55)
> The dropdown controls are not aligned, which will become obvious with
> translation.
Grrr, as I read your line, I thought, oh, oh, I didn't think about the translations and aligning... Thanks! 
I would align all four Comboboxes. Here's a screenshot: https://postimg.cc/bZrw0qS4
(I don't want to clutter/noise the bug "conversation" with uploading a preview-screenshot. The postimg link is valid "for ever".)

> The tooltip explains the function on unlabeled controls such as icon-only
> buttons. The extended tooltip aims to explain the functionality. I would
> leave it as it is- and focus on update of the online help.
Thank you for the explaination. I understand.

A question again: What about having the extended tooltip (ExtendedTip property) enabled as default?
That could be of big help for new users, and easily to disable if unwanted.
If there are no big objections, I would suggest so.
Comment 58 Per99 2024-07-31 14:41:17 UTC
I would prefer to submit the new GUI-version with a new change-ID, so there are less risks for another merge conflict. There will be a change to just the optaccessibilitypage.ui file.
Comment 59 Heiko Tietze 2024-08-01 07:33:36 UTC
(In reply to Per99 from comment #57)
> I would align all four Comboboxes. Here's a screenshot:
The question is rather how you solve the problem. GtkAlignment is one option, the other to unscramble the nested boxes/grids. I would place image/label/dropdown etc. in the cells of one grid.

> A question again: What about having the extended tooltip (ExtendedTip
> property) enabled as default?
> That could be of big help for new users, and easily to disable if unwanted.
> If there are no big objections, I would suggest so.
While I was looking for arguments against changing the default, the idea is actually not so bad. But it is a different topic and you should create a new ticket.
Comment 60 Michael Weghorn 2024-08-01 09:54:26 UTC
(In reply to Per99 from comment #58)
> I would prefer to submit the new GUI-version with a new change-ID, so there
> are less risks for another merge conflict. There will be a change to just
> the optaccessibilitypage.ui file.

Yes, that's the (only) correct way to do this as the previous change has been merged already.
Comment 61 Per99 2024-08-01 12:46:40 UTC
(In reply to Heiko Tietze from comment #59)
> (In reply to Per99 from comment #57)
> > I would align all four Comboboxes. Here's a screenshot:
> The question is rather how you solve the problem. GtkAlignment is one
> option, the other to unscramble the nested boxes/grids. I would place
> image/label/dropdown etc. in the cells of one grid.
Thank you Heiko for the suggestion.
Before wanting to ask how to do it, I wanted to spend some effort/hours to find a solution myself searching how other has solved the aligning problem. In the optviewpage.ui they use GtkSizeGroup for both the labels (aligning vertically) as also for the comboboxes (aligning the width of the comboboxes). That solution I implemented yesterday. It seems to work well and the screenshot is from that solution. It looks good to me and feedback is welcome.

> > A question again: What about having the extended tooltip (ExtendedTip
> > property) enabled as default?
> > That could be of big help for new users, and easily to disable if unwanted.
> > If there are no big objections, I would suggest so.
> While I was looking for arguments against changing the default, the idea is
> actually not so bad. But it is a different topic and you should create a new
> ticket.
Thank you! I would highly appreciate that and I'd gladly submit a bug ticket and implement is timely.
Comment 62 Heiko Tietze 2024-08-01 12:55:19 UTC
(In reply to Per99 from comment #61)
> GtkSizeGroup ... looks good to me and feedback is welcome.
Fine for me.

It's just bad style to nest multiple boxes and grids but I'm not aware of any actual negative impact.
Comment 63 V Stuart Foote 2024-08-01 14:04:44 UTC
(In reply to Per99 from comment #61)
> > > A question again: What about having the extended tooltip (ExtendedTip
> > > property) enabled as default?
> > > That could be of big help for new users, and easily to disable if unwanted.
> > > If there are no big objections, I would suggest so.
> > While I was looking for arguments against changing the default, the idea is
> > actually not so bad. But it is a different topic and you should create a new
> > ticket.
> Thank you! I would highly appreciate that and I'd gladly submit a bug ticket
> and implement is timely.

opened as bug 162296
Comment 64 Per99 2024-08-02 08:58:48 UTC
(In reply to Heiko Tietze from comment #59)
> The question is rather how you solve the problem. GtkAlignment is one
> option, the other to unscramble the nested boxes/grids. I would place
> image/label/dropdown etc. in the cells of one grid.
(In reply to Heiko Tietze from comment #62)
> It's just bad style to nest multiple boxes and grids but I'm not aware of
> any actual negative impact.
First a summary:
In order to have an even clearer grouping (see explanation below, see screenshot: https://postimg.cc/xqckQfwt) I’ve submitted a patch (also with aligned comboboxes), but set it as Work in Progress (but it is ready to be merged), as I’m waiting for feedback here.

Skip reading the following section, if you’re uninterested in GUI-design with Gtk-widgets.
I tried out how it would look like using just one grid.
In short: It did work out, but the alignment was definitely suboptimal:
1. If I put the section label (e.g. “Animations - with BigGrid”) also in the grid to the very left, then the option labels (e.g. “Allow animated images:”) get aligned to start after the end of the section label. Clearly not what we want.
2. So I put the section labels in a GtkBox followed by a GtkGrid for the options. It looked somewhat OK, but the alignment of the section labels in between (“High Contrast”, “Miscellaneous”) wasn’t good: They were to far away from the section to where the belong, thus reducing a clear grouping.
Resume: Even if “It's just bad style to nest multiple boxes”, it serves better the purpose of having a clear grouping. For the interested reader: Here are screenshots for comparison: https://postimg.cc/gallery/FQRSrLb (See file names for explanation).


My preference is to have an even clearer grouping between the section labels (here: “High Contrast”) and the previous section and its own options. So I changed this vertical alignment in v0.9.4, see screenshot. https://postimg.cc/xqckQfwt

I’ve submitted a patch for this GUI with clearer grouping and also with aligned comboboxes (https://gerrit.libreoffice.org/c/core/+/171388), but set it as Work in Progress (but it is ready to be merged), as I’m waiting for feedback here. 
If there isn’t any objections, I just put the patch status to active and ask for it to be merged.
Comment 65 Commit Notification 2024-08-05 09:34:13 UTC
Per99 committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3afc933ca3d7b88e6f9d3283baed9ef4e3ce2000

tdf#161765 part 2: In optaccessibilitypage.ui, align the Comboboxes.

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 66 Michael Weghorn 2024-08-30 11:53:16 UTC
This issue is fixed by the commits from comment 51 and 65
-> Closing