Skip to content

Selecting all cells "freezes" LibreOffice Calc (when using LO >= 7.3, NVDA >= 2022.1) #13232

Description

@michaelweghorn

Commit 32bf54e ("selection and merged cell announcements in LibreOffice Calc 7.3 and above (#12849)") improved announcement of selected cells for LibreOffice Calc (from version 7.3) on.

As a side-effect, NVDA currently causes a Calc freeze when all cells are selected.

Steps to reproduce:

  1. start NVDA from current git master
  2. start current development version of LibreOffice Calc (version 7.3 or later)
  3. press Ctrl+A to select all cells

Actual behavior:

LibreOffice Calc appears to be frozen and doesn't react any more.

Expected behavior:

Calc should remain responsive and some NVDA should make some announcement indicating that all cells have been selected.

System configuration

NVDA installed/portable/running from source:

running from source

NVDA version:

source-master-20d5a25

Windows version:

Windows 10 21H2 (OS Build 19044.1466)

Name and version of other software in use when reproducing the issue:

LibreOffice Calc, current git master as of commit 093c98dcb4be1c124871468f73be4b59ec99af1f

Other information about your system:

n/a

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

n/a

If NVDA add-ons are disabled, is your problem still occurring?

n/a

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

n/a

Activity

  1. michaelweghorn commented on Jan 12, 2022

    @michaelweghorn
    ContributorAuthor

    The reason for the freeze is that NVDA calls the selectedCells method on the IAccessibleTable2 interface of the Calc table, which means it requests to receive references to all currently selected cells. Since more than a billion cells are selected, it takes a long time for LibreOffice to generate those...

    I plan to submit a PR with a potential approach to address this.

  2. added 2 commits that reference this issue on Jan 12, 2022
    e3f6f8b
    f18ec84
  3. added a commit that references this issue on Jan 21, 2022
    cfb0578
  4. added
    p2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
    triagedHas been triaged, issue is waiting for implementation.
    on Jun 9, 2022
  5. added a commit that references this issue on Jun 30, 2022
    0170323
  6. added this to the 2022.3 milestone on Jun 30, 2022
  7. added a commit that references this issue on May 18, 2023
    74557a2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/open-officebug/freezep2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions