Menu

#2095 GTK/a11y: incorrect text reported for deletion

Bug
closed-fixed
nobody
5
2019-04-16
2019-04-05
No

Due to how ATK (the accessibility library) works, we need to emit the a11y text deletion signal before text has actually be deleted, so ATK can query the deleted text whie it still exists.
This fixes the text reported as having been deleted to the a11y layer, which before had whichever text that happened to appear after the deleted range.

Attached patch fixes this by emitting the signal in BEFOREDELETE instead of DELETETEXT, which also slightly simplifies the code.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2019-04-05
    • labels: gtk, a11y --> gtk, a11y, scintilla
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2019-04-05

    Committed as [0a937b].

     

    Related

    Commit: [0a937b]

  • Neil Hodgson

    Neil Hodgson - 2019-04-16
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB