Skip to content

can't get landmark from a pdf in edge #7490

@derekriemer

Description

@derekriemer

Steps to reproduce:

  1. Open this pdf in edge.
  2. Read down by line, and move forward by character after my objective and proficiency.
  3. Note this error.
    error executing script: <bound method EdgeHTMLTreeInterceptor.script_moveByCharacter_forward of <NVDAObjects.UIA.edge.EdgeHTMLTreeInterceptor object at 0x051FCF90>> with gesture u'right arrow'
    Traceback (most recent call last):
    File "scriptHandler.pyc", line 187, in executeScript
    File "cursorManager.pyc", line 196, in script_moveByCharacter_forward
    File "cursorManager.pyc", line 141, in caretMovementScriptHelper
    File "speech.pyc", line 749, in speakTextInfo
    File "treeInterceptorHandler.pyc", line 217, in getTextWithFields
    File "NVDAObjects\UIA\edge.pyc", line 179, in getTextWithFields
    File "NVDAObjects\UIA_init
    .pyc", line 588, in getTextWithFields
    File "NVDAObjects\UIA_init_.pyc", line 502, in _getTextWithFieldsForUIARange
    File "NVDAObjects\UIA\edge.pyc", line 137, in _getControlFieldForObject
    AttributeError: 'UIA' object has no attribute 'landmark'

Expected behavior:

The info on those lines should read.

Actual behavior:

An error.

System configuration:

Version: next-14293,8d368f7e

NVDA Installed or portable: Installed

Other information:
@LeonarddeR might this be a regression from your localized landmarks fix? Thought'd check.

Metadata

Metadata

Assignees

No one assigned

    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