Bug 154988 - UI Attempt to create accessible control when accessing read-only data source (macOS) - Contacts.app
Summary: UI Attempt to create accessible control when accessing read-only data source ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-24 15:02 UTC by Alex Thurgood
Modified: 2023-06-08 09:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2023-04-24 15:02:26 UTC
Description:
Working in macOS Ventura 13.3.1 with LO Dev (aarch64) from 22/04/2023

LLDB debug session

1) Load a Contacts.app ODB frontend file.
2) Open the Address Book table
3) Switch between the table window and the main ODB application window.
4) Error message displayed in 

5) On console, notice the following warning repeatedly displayed when switching between the main ODB window and the table window:

warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:94: EditBrowseBox::CreateAccessibleControl: invalid index!
warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:68: EditBrowseBox::implCreateActiveAccessible: not to be called if we're not editing currently!
warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:94: EditBrowseBox::CreateAccessibleControl: invalid index!
warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:68: EditBrowseBox::implCreateActiveAccessible: not to be called if we're not editing currently!
warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:94: EditBrowseBox::CreateAccessibleControl: invalid index!
warn:legacy.tools:11240:267069:svtools/source/brwbox/editbrowsebox2.cxx:68: EditBrowseBox::implCreateActiveAccessible: not to be called if we're not editing currently!
warn:svx.fmcomp:11240:267069:svx/source/fmcomp/fmgridcl.cxx:1915:  com.sun.star.beans.UnknownPropertyException message: "-1" 



Steps to Reproduce:
See above

Actual Results:
Display of error message on console

Expected Results:
Maybe don't try and create an accessible control for a non-writable data source.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 35787e07b7e83f7dcaa0c67830fcb4eded49c71f
CPU threads: 8; OS: Mac OS X 13.3.1; UI render: Skia/Metal; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Alex Thurgood 2023-06-08 09:44:31 UTC
(In reply to Alex Thurgood from comment #0)
 
> Expected Results:
> Maybe don't try and create an accessible control for a non-writable data
> source.
> 
> 

Better yet, implement accessibility correctly using current macOS Accessibility API.