Skip to content

Incorrect offset points generated in tree interceptor text info #6460

@LeonarddeR

Description

@LeonarddeR

Steps to reproduce:

  1. GO to nvaccess.org
  2. Scroll to the text below the "What is NVDA" heading
  3. Select the line below the heading
  4. Start a python console
  5. Do the following:

    ti=nav.treeInterceptor.makeTextInfo("selection")
    ti._startOffset
    323
    ti._endOffset
    421
    ti._getPointFromOffset(323).x
    401
    ti._getPointFromOffset(323).y
    673
    ti._getPointFromOffset(421).x
    401
    ti._getPointFromOffset(421).y
    673

As you will notice, the x and y for both offsets are the same, which shouldn't be the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions