Bug 156654

Summary: A11Y sidebar: not fixable warning about "Document default language is not set."
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: normal CC: buzea.bogdan
Priority: medium    
Version: 7.6.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:24.2.0 target:7.6.2
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 154929    
Attachments: Example file from Writer
Screenshot of the issue

Description Gabor Kelemen (allotropia) 2023-08-07 11:44:34 UTC
Created attachment 188827 [details]
Example file from Writer

In the attached example file the documents default language was set to None under Options - Languages - Default languages of documents.
The accessibility sidebar gives a warning about this, but there is no Fix button to solve the issue.

1. Open attached file
2. Open the Accessibility sidebar
3. Observe the warning "Document default language is not set."
-> Should have a Fix button to open the Options dialog at the Languages tab (if possible).

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 46e672db8002e7aaac881bee65b5c50c4e14c666
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2023-08-07 11:44:49 UTC
Created attachment 188828 [details]
Screenshot of the issue
Comment 2 BogdanB 2023-08-12 07:09:18 UTC
Confirm with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e2db54b9bf48b79802154d5fc9460fc432ea69a0
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2023-08-17 14:10:00 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8386d8e51067b13124ed7cbb693719c0b6463601

tdf#156654 - A11Y - fix no fixable button for warning about

It will be available in 24.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 4 Commit Notification 2023-08-30 12:59:26 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/50f6e719764d6746220dedc78a8dd4654a791b1d

tdf#156654 - A11Y - fix no fixable button for warning about

It will be available in 7.6.2.

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.