Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In excel, a certain document causes freezes #6216

Closed
derekriemer opened this issue Jul 28, 2016 · 5 comments
Closed

In excel, a certain document causes freezes #6216

derekriemer opened this issue Jul 28, 2016 · 5 comments
Assignees
Labels
p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Milestone

Comments

@derekriemer
Copy link
Collaborator

I will send the document to @michaelDCurran Privately.

  1. Open the excel document.
  2. Navigate down to row 9. Other rows in the 40's freeze NVDA as well.
  3. Expected behavior: Contents are read.
    Behavior: NVDA freezes.
    This is being sent privately because I don't want the document in the public since I didn't create it, and can't figure out how to reproduce.
@feerrenrut feerrenrut added the p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority label Oct 28, 2016
@feerrenrut
Copy link
Contributor

P1 to investigate the severity of this, and see if we can reproduce.

@derekriemer
Copy link
Collaborator Author

@feerrenrut do you want me to send the document again? @michaelDCurran has it somewhere but I can send again if needed.

@michaelDCurran
Copy link
Member

I still have the file - am looking into this.

@michaelDCurran
Copy link
Member

The freeze in NVDA is due to all 16384 columns in that particular row being merged. NVDA currently has to collect all the column widths of merged cells to work out if the text goes outside the cell (overflow/crop).
However, we can improve this in two ways:

  1. rather than accumulating column widths, just get the last column's left+width.
  2. We can actually remove all the gdi code by simply comparing width-columnWidth. If it is greater than 0, then the cell is overflowed/cropped.

@michaelDCurran
Copy link
Member

No, scrap number 2. width always seems to be at least 48.0 no matter how much text is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

No branches or pull requests

4 participants